Staging
v0.5.1
swh:1:snp:635f4099902912592851108bcac178ff574f7c5f
Raw File
Tip revision: f8cdb5c56f6a14b62ffb3201de45f586fe3a6500 authored by cvs2svn on 02 February 2001, 21:24:51 UTC
This commit was manufactured by cvs2svn to create tag 'r21a2'.
Tip revision: f8cdb5c
libaetypes.tex
\section{\module{aetypes} ---
         AppleEvent objects}

\declaremodule{standard}{aetypes}
  \platform{Mac}
%\moduleauthor{Jack Jansen?}{email}
\modulesynopsis{Python representation of the Apple Event Object Model.}
\sectionauthor{Vincent Marchetti}{vincem@en.com}


The \module{aetypes} defines classes used to represent Apple Event
object specifiers. An object specifier is essentially an address of an
object implemented in a Apple Event server. An Apple Event specifier
is used as the direct object for an Apple Event or as the argument of
an optional parameter. In AppleScript an object specifier is
represented by a phrase such as:
\code{character 23 of document "Semprini"}. The classes defined in
this module allow this specifier to be represented by a Python object
which is initialized as follows:
\code{res = Document(1).Character(23)}


The \module{AEObjects} module defines the following class:

\begin{classdesc}{ObjectSpecifier}{want, form, seld, from}
  This is the base class for representing object specifiers and is
  generally not constructed directly by the user. Its important
  functionality is to define an \function{__aepack__()} function,
  which returns the Apple Event descriptor containing the object
  specifier.  Its data members, set directly from the constructor
  arguments, are:
\end{classdesc}

\begin{memberdesc}{want}
  A four character string representing the class code of the
  object. These class codes are specified in Apple Event Suites; for
  example the standard code for a character object is the 4 bytes
  \samp{char}.
\end{memberdesc}
back to top