summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac/lib-scriptpackages/StdSuites
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-12-30 22:04:23 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-12-30 22:04:23 (GMT)
commit60087fb45092d9c199cea162e58d9193c7c1558c (patch)
tree05f3343e7707c4a4179e409506b39601279f04c1 /Lib/plat-mac/lib-scriptpackages/StdSuites
parentc262a1f51ce89dbea4aeb072cf631686c47ed97f (diff)
downloadcpython-60087fb45092d9c199cea162e58d9193c7c1558c.zip
cpython-60087fb45092d9c199cea162e58d9193c7c1558c.tar.gz
cpython-60087fb45092d9c199cea162e58d9193c7c1558c.tar.bz2
Moved most of Mac/Lib hierarchy to Lib/plat-mac: it can be used both
in MacPython-OS9 and MacPython-OSX (or the equivalent unix Python on Mac OS X). The only items remaining in Mac/Lib are modules that are meaningful only for MacPython-OS9 (CFM stuff, MacPython preferences in resources, etc).
Diffstat (limited to 'Lib/plat-mac/lib-scriptpackages/StdSuites')
-rw-r--r--Lib/plat-mac/lib-scriptpackages/StdSuites/AppleScript_Suite.py2182
-rw-r--r--Lib/plat-mac/lib-scriptpackages/StdSuites/Macintosh_Connectivity_Clas.py373
-rw-r--r--Lib/plat-mac/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suite.py417
-rw-r--r--Lib/plat-mac/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suppleme.py73
-rw-r--r--Lib/plat-mac/lib-scriptpackages/StdSuites/Required_Suite.py32
-rw-r--r--Lib/plat-mac/lib-scriptpackages/StdSuites/Standard_Suite.py711
-rw-r--r--Lib/plat-mac/lib-scriptpackages/StdSuites/Table_Suite.py104
-rw-r--r--Lib/plat-mac/lib-scriptpackages/StdSuites/Text_Suite.py218
-rw-r--r--Lib/plat-mac/lib-scriptpackages/StdSuites/Type_Names_Suite.py440
-rw-r--r--Lib/plat-mac/lib-scriptpackages/StdSuites/__init__.py469
10 files changed, 5019 insertions, 0 deletions
diff --git a/Lib/plat-mac/lib-scriptpackages/StdSuites/AppleScript_Suite.py b/Lib/plat-mac/lib-scriptpackages/StdSuites/AppleScript_Suite.py
new file mode 100644
index 0000000..51d4212
--- /dev/null
+++ b/Lib/plat-mac/lib-scriptpackages/StdSuites/AppleScript_Suite.py
@@ -0,0 +1,2182 @@
+"""Suite AppleScript Suite: Standard terms for AppleScript
+Level 1, version 1
+
+Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
+AETE/AEUT resource version 1/0, language 0, script 0
+"""
+
+import aetools
+import MacOS
+
+_code = 'ascr'
+
+class AppleScript_Suite_Events:
+
+ def activate(self, _no_object=None, _attributes={}, **_arguments):
+ """activate: Bring the targeted application program to the front
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'misc'
+ _subcode = 'actv'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def log(self, _object, _attributes={}, **_arguments):
+ """log: Cause a comment to be logged
+ Required argument: undocumented, typecode 'TEXT'
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'ascr'
+ _subcode = 'cmnt'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def stop_log(self, _no_object=None, _attributes={}, **_arguments):
+ """stop log: Stop event logging in the script editor
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'ToyS'
+ _subcode = 'log0'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def start_log(self, _no_object=None, _attributes={}, **_arguments):
+ """start log: Start event logging in the script editor
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'ToyS'
+ _subcode = 'log1'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def idle(self, _no_object=None, _attributes={}, **_arguments):
+ """idle: Sent to a script application when it is idle
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: the number of seconds to wait for next idle event
+ """
+ _code = 'misc'
+ _subcode = 'idle'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def launch(self, _no_object=None, _attributes={}, **_arguments):
+ """launch: Start an application for scripting
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'ascr'
+ _subcode = 'noop'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def tell(self, _no_object=None, _attributes={}, **_arguments):
+ """tell: Record or log a \xd4tell\xd5 statement
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'ascr'
+ _subcode = 'tell'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def end_tell(self, _no_object=None, _attributes={}, **_arguments):
+ """end tell: Record or log an \xd4end tell\xd5 statement
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'ascr'
+ _subcode = 'tend'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_error = {
+ 'number' : 'errn',
+ 'partial_result' : 'ptlr',
+ 'from_' : 'erob',
+ 'to' : 'errt',
+ }
+
+ def error(self, _object=None, _attributes={}, **_arguments):
+ """error: Raise an error
+ Required argument: anything
+ Keyword argument number: an error number
+ Keyword argument partial_result: any partial result occurring before the error
+ Keyword argument from_: the object that caused the error
+ Keyword argument to: the desired class for a failed coercion
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'ascr'
+ _subcode = 'err '
+
+ aetools.keysubst(_arguments, self._argmap_error)
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_Call_a5_subroutine = {
+ 'at' : 'at ',
+ 'from_' : 'from',
+ 'for_' : 'for ',
+ 'to' : 'to ',
+ 'thru' : 'thru',
+ 'through' : 'thgh',
+ 'by' : 'by ',
+ 'on' : 'on ',
+ 'into' : 'into',
+ 'onto' : 'onto',
+ 'between' : 'btwn',
+ 'against' : 'agst',
+ 'out_of' : 'outo',
+ 'instead_of' : 'isto',
+ 'aside_from' : 'asdf',
+ 'around' : 'arnd',
+ 'beside' : 'bsid',
+ 'beneath' : 'bnth',
+ 'under' : 'undr',
+ 'over' : 'over',
+ 'above' : 'abve',
+ 'below' : 'belw',
+ 'apart_from' : 'aprt',
+ 'about' : 'abou',
+ 'since' : 'snce',
+ 'given' : 'givn',
+ 'with' : 'with',
+ 'without' : 'wout',
+ }
+
+ def Call_a5_subroutine(self, _object=None, _attributes={}, **_arguments):
+ """Call\xa5subroutine: A subroutine call
+ Required argument: anything
+ Keyword argument at: a preposition
+ Keyword argument from_: a preposition
+ Keyword argument for_: a preposition
+ Keyword argument to: a preposition
+ Keyword argument thru: a preposition
+ Keyword argument through: a preposition
+ Keyword argument by: a preposition
+ Keyword argument on: a preposition
+ Keyword argument into: a preposition
+ Keyword argument onto: a preposition
+ Keyword argument between: a preposition
+ Keyword argument against: a preposition
+ Keyword argument out_of: a preposition
+ Keyword argument instead_of: a preposition
+ Keyword argument aside_from: a preposition
+ Keyword argument around: a preposition
+ Keyword argument beside: a preposition
+ Keyword argument beneath: a preposition
+ Keyword argument under: a preposition
+ Keyword argument over: a preposition
+ Keyword argument above: a preposition
+ Keyword argument below: a preposition
+ Keyword argument apart_from: a preposition
+ Keyword argument about: a preposition
+ Keyword argument since: a preposition
+ Keyword argument given: parameter:value pairs, comma-separated
+ Keyword argument with: formal parameter set to true if matching actual parameter is provided
+ Keyword argument without: formal parameter set to false if matching actual parmeter is provided
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: anything
+ """
+ _code = 'ascr'
+ _subcode = 'psbr'
+
+ aetools.keysubst(_arguments, self._argmap_Call_a5_subroutine)
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def _3d_(self, _object, _attributes={}, **_arguments):
+ """=: Equality
+ Required argument: an AE object reference
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: anything
+ """
+ _code = 'ascr'
+ _subcode = '= '
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def _ad_(self, _object, _attributes={}, **_arguments):
+ """\xad: Inequality
+ Required argument: an AE object reference
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: anything
+ """
+ _code = 'ascr'
+ _subcode = '\xad '
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def _2b_(self, _object, _attributes={}, **_arguments):
+ """+: Addition
+ Required argument: an AE object reference
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: anything
+ """
+ _code = 'ascr'
+ _subcode = '+ '
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def _2d_(self, _object, _attributes={}, **_arguments):
+ """-: Subtraction
+ Required argument: an AE object reference
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: anything
+ """
+ _code = 'ascr'
+ _subcode = '- '
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def _2a_(self, _object, _attributes={}, **_arguments):
+ """*: Multiplication
+ Required argument: an AE object reference
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: anything
+ """
+ _code = 'ascr'
+ _subcode = '* '
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def _d6_(self, _object, _attributes={}, **_arguments):
+ """\xd6: Division
+ Required argument: an AE object reference
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: anything
+ """
+ _code = 'ascr'
+ _subcode = '/ '
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def div(self, _object, _attributes={}, **_arguments):
+ """div: Quotient
+ Required argument: an AE object reference
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: anything
+ """
+ _code = 'ascr'
+ _subcode = 'div '
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def mod(self, _object, _attributes={}, **_arguments):
+ """mod: Remainder
+ Required argument: an AE object reference
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: anything
+ """
+ _code = 'ascr'
+ _subcode = 'mod '
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def _5e_(self, _object, _attributes={}, **_arguments):
+ """^: Exponentiation
+ Required argument: an AE object reference
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: anything
+ """
+ _code = 'ascr'
+ _subcode = '^ '
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def _3e_(self, _object, _attributes={}, **_arguments):
+ """>: Greater than
+ Required argument: an AE object reference
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: anything
+ """
+ _code = 'ascr'
+ _subcode = '> '
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def _b3_(self, _object, _attributes={}, **_arguments):
+ """\xb3: Greater than or equal to
+ Required argument: an AE object reference
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: anything
+ """
+ _code = 'ascr'
+ _subcode = '>= '
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def _3c_(self, _object, _attributes={}, **_arguments):
+ """<: Less than
+ Required argument: an AE object reference
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: anything
+ """
+ _code = 'ascr'
+ _subcode = '< '
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def _b2_(self, _object, _attributes={}, **_arguments):
+ """\xb2: Less than or equal to
+ Required argument: an AE object reference
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: anything
+ """
+ _code = 'ascr'
+ _subcode = '<= '
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def _26_(self, _object, _attributes={}, **_arguments):
+ """&: Concatenation
+ Required argument: an AE object reference
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: anything
+ """
+ _code = 'ascr'
+ _subcode = 'ccat'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def starts_with(self, _object, _attributes={}, **_arguments):
+ """starts with: Starts with
+ Required argument: an AE object reference
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: anything
+ """
+ _code = 'ascr'
+ _subcode = 'bgwt'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def ends_with(self, _object, _attributes={}, **_arguments):
+ """ends with: Ends with
+ Required argument: an AE object reference
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: anything
+ """
+ _code = 'ascr'
+ _subcode = 'ends'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def contains(self, _object, _attributes={}, **_arguments):
+ """contains: Containment
+ Required argument: an AE object reference
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: anything
+ """
+ _code = 'ascr'
+ _subcode = 'cont'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def and_(self, _object, _attributes={}, **_arguments):
+ """and: Logical conjunction
+ Required argument: an AE object reference
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: anything
+ """
+ _code = 'ascr'
+ _subcode = 'AND '
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def or_(self, _object, _attributes={}, **_arguments):
+ """or: Logical disjunction
+ Required argument: an AE object reference
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: anything
+ """
+ _code = 'ascr'
+ _subcode = 'OR '
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def as(self, _object, _attributes={}, **_arguments):
+ """as: Coercion
+ Required argument: an AE object reference
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: anything
+ """
+ _code = 'ascr'
+ _subcode = 'coer'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def not_(self, _object, _attributes={}, **_arguments):
+ """not: Logical negation
+ Required argument: an AE object reference
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: anything
+ """
+ _code = 'ascr'
+ _subcode = 'NOT '
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def negate(self, _object, _attributes={}, **_arguments):
+ """negate: Numeric negation
+ Required argument: an AE object reference
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: anything
+ """
+ _code = 'ascr'
+ _subcode = 'neg '
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+
+class boolean(aetools.ComponentItem):
+ """boolean - A true or false value """
+ want = 'bool'
+
+booleans = boolean
+
+class integer(aetools.ComponentItem):
+ """integer - An integral number """
+ want = 'long'
+
+integers = integer
+
+class real(aetools.ComponentItem):
+ """real - A real number """
+ want = 'doub'
+
+reals = real
+
+class number(aetools.ComponentItem):
+ """number - an integer or real number """
+ want = 'nmbr'
+
+numbers = number
+
+class list(aetools.ComponentItem):
+ """list - An ordered collection of items """
+ want = 'list'
+class length(aetools.NProperty):
+ """length - the length of a list """
+ which = 'leng'
+ want = 'long'
+class reverse(aetools.NProperty):
+ """reverse - the items of the list in reverse order """
+ which = 'rvse'
+ want = 'list'
+class rest(aetools.NProperty):
+ """rest - all items of the list excluding first """
+ which = 'rest'
+ want = 'list'
+
+lists = list
+
+class linked_list(aetools.ComponentItem):
+ """linked list - An ordered collection of items """
+ want = 'llst'
+
+linked_lists = linked_list
+
+class vector(aetools.ComponentItem):
+ """vector - An ordered collection of items """
+ want = 'vect'
+
+vectors = vector
+
+class record(aetools.ComponentItem):
+ """record - A set of labeled items """
+ want = 'reco'
+
+records = record
+
+class item(aetools.ComponentItem):
+ """item - An item of any type """
+ want = 'cobj'
+class id(aetools.NProperty):
+ """id - the unique ID number of this object """
+ which = 'ID '
+ want = 'long'
+
+items = item
+
+class script(aetools.ComponentItem):
+ """script - An AppleScript script """
+ want = 'scpt'
+class name(aetools.NProperty):
+ """name - the name of the script """
+ which = 'pnam'
+ want = 'TEXT'
+class parent(aetools.NProperty):
+ """parent - its parent, i.e. the script that will handle events that this script doesn\xd5t """
+ which = 'pare'
+ want = 'scpt'
+
+scripts = script
+
+class list_or_record(aetools.ComponentItem):
+ """list or record - a list or record """
+ want = 'lr '
+
+class list_or_string(aetools.ComponentItem):
+ """list or string - a list or string """
+ want = 'ls '
+
+class number_or_string(aetools.ComponentItem):
+ """number or string - a number or string """
+ want = 'ns '
+
+class alias_or_string(aetools.ComponentItem):
+ """alias or string - an alias or string """
+ want = 'sf '
+
+class list_2c__record_or_text(aetools.ComponentItem):
+ """list, record or text - a list, record or text """
+ want = 'lrs '
+
+class number_or_date(aetools.ComponentItem):
+ """number or date - a number or date """
+ want = 'nd '
+
+class number_2c__date_or_text(aetools.ComponentItem):
+ """number, date or text - a number, date or text """
+ want = 'nds '
+
+class class_(aetools.ComponentItem):
+ """class - the type of a value """
+ want = 'pcls'
+class _3c_Inheritance_3e_(aetools.NProperty):
+ """<Inheritance> - inherits some of its properties from this class """
+ which = 'c@#^'
+ want = 'type'
+
+classes = class_
+
+class event(aetools.ComponentItem):
+ """event - an AppleEvents event """
+ want = 'evnt'
+
+events = event
+
+class property(aetools.ComponentItem):
+ """property - an AppleEvents property """
+ want = 'prop'
+
+properties = property
+
+class constant(aetools.ComponentItem):
+ """constant - A constant value """
+ want = 'enum'
+
+constants = constant
+
+class preposition(aetools.ComponentItem):
+ """preposition - an AppleEvents preposition """
+ want = 'prep'
+
+prepositions = preposition
+
+class reference_form(aetools.ComponentItem):
+ """reference form - an AppleEvents key form """
+ want = 'kfrm'
+
+reference_forms = reference_form
+
+class handler(aetools.ComponentItem):
+ """handler - an AppleScript event or subroutine handler """
+ want = 'hand'
+
+handlers = handler
+
+class data(aetools.ComponentItem):
+ """data - an AppleScript raw data object """
+ want = 'rdat'
+
+class text(aetools.ComponentItem):
+ """text - text with language and style information """
+ want = 'ctxt'
+
+class international_text(aetools.ComponentItem):
+ """international text - """
+ want = 'itxt'
+
+international_text = international_text
+
+class string(aetools.ComponentItem):
+ """string - text in 8-bit Macintosh Roman format """
+ want = 'TEXT'
+
+strings = string
+
+class styled_text(aetools.ComponentItem):
+ """styled text - """
+ want = 'STXT'
+
+styled_text = styled_text
+
+class styled_Clipboard_text(aetools.ComponentItem):
+ """styled Clipboard text - """
+ want = 'styl'
+
+styled_Clipboard_text = styled_Clipboard_text
+
+class Unicode_text(aetools.ComponentItem):
+ """Unicode text - """
+ want = 'utxt'
+
+Unicode_text = Unicode_text
+
+class styled_Unicode_text(aetools.ComponentItem):
+ """styled Unicode text - """
+ want = 'sutx'
+
+styled_Unicode_text = styled_Unicode_text
+
+class encoded_string(aetools.ComponentItem):
+ """encoded string - text encoded using the Text Encoding Converter """
+ want = 'encs'
+
+encoded_strings = encoded_string
+
+class C_string(aetools.ComponentItem):
+ """C string - text followed by a null """
+ want = 'cstr'
+
+C_strings = C_string
+
+class Pascal_string(aetools.ComponentItem):
+ """Pascal string - text up to 255 characters preceded by a length byte """
+ want = 'pstr'
+
+Pascal_strings = Pascal_string
+
+class character(aetools.ComponentItem):
+ """character - an individual text character """
+ want = 'cha '
+
+characters = character
+
+class text_item(aetools.ComponentItem):
+ """text item - text between delimiters """
+ want = 'citm'
+
+text_items = text_item
+
+class writing_code(aetools.ComponentItem):
+ """writing code - codes that identify the language and script system """
+ want = 'psct'
+
+class writing_code_info(aetools.ComponentItem):
+ """writing code info - script code and language code of text run """
+ want = 'citl'
+class script_code(aetools.NProperty):
+ """script code - the script code for the text """
+ which = 'pscd'
+ want = 'shor'
+class language_code(aetools.NProperty):
+ """language code - the language code for the text """
+ which = 'plcd'
+ want = 'shor'
+
+writing_code_infos = writing_code_info
+
+class empty_ae_name_(aetools.ComponentItem):
+ """ - the undefined value """
+ want = 'undf'
+
+class missing_value(aetools.ComponentItem):
+ """missing value - unavailable value, such as properties missing from heterogeneous classes in a Whose clause """
+ want = 'msng'
+
+missing_values = missing_value
+
+class reference(aetools.ComponentItem):
+ """reference - an AppleScript reference """
+ want = 'obj '
+
+references = reference
+
+class anything(aetools.ComponentItem):
+ """anything - any class or reference """
+ want = '****'
+
+class type_class(aetools.ComponentItem):
+ """type class - the name of a particular class (or any four-character code) """
+ want = 'type'
+
+class RGB_color(aetools.ComponentItem):
+ """RGB color - Three integers specifying red, green, blue color values """
+ want = 'cRGB'
+
+RGB_colors = RGB_color
+
+class picture(aetools.ComponentItem):
+ """picture - A QuickDraw picture object """
+ want = 'PICT'
+
+pictures = picture
+
+class sound(aetools.ComponentItem):
+ """sound - a sound object on the clipboard """
+ want = 'snd '
+
+sounds = sound
+
+class version(aetools.ComponentItem):
+ """version - a version value """
+ want = 'vers'
+
+class file_specification(aetools.ComponentItem):
+ """file specification - a file specification as used by the operating system """
+ want = 'fss '
+
+file_specifications = file_specification
+
+class alias(aetools.ComponentItem):
+ """alias - a file on a disk or server. The file must exist when you check the syntax of your script. """
+ want = 'alis'
+
+aliases = alias
+
+class machine(aetools.ComponentItem):
+ """machine - a computer """
+ want = 'mach'
+
+machines = machine
+
+class zone(aetools.ComponentItem):
+ """zone - an AppleTalk zone """
+ want = 'zone'
+
+zones = zone
+
+class keystroke(aetools.ComponentItem):
+ """keystroke - a press of a key combination on a Macintosh keyboard """
+ want = 'kprs'
+class key(aetools.NProperty):
+ """key - the character for the key was pressed (ignoring modifiers) """
+ which = 'kMsg'
+ want = 'cha '
+class modifiers(aetools.NProperty):
+ """modifiers - the modifier keys pressed in combination """
+ which = 'kMod'
+ want = 'eMds'
+class key_kind(aetools.NProperty):
+ """key kind - the kind of key that was pressed """
+ which = 'kknd'
+ want = 'ekst'
+
+keystrokes = keystroke
+
+class seconds(aetools.ComponentItem):
+ """seconds - more than one second """
+ want = 'scnd'
+
+class date(aetools.ComponentItem):
+ """date - Absolute date and time values """
+ want = 'ldt '
+class weekday(aetools.NProperty):
+ """weekday - the day of a week of a date """
+ which = 'wkdy'
+ want = 'wkdy'
+class month(aetools.NProperty):
+ """month - the month of a date """
+ which = 'mnth'
+ want = 'mnth'
+class day(aetools.NProperty):
+ """day - the day of the month of a date """
+ which = 'day '
+ want = 'long'
+class year(aetools.NProperty):
+ """year - the year of a date """
+ which = 'year'
+ want = 'long'
+class time(aetools.NProperty):
+ """time - the time since midnight of a date """
+ which = 'time'
+ want = 'long'
+class date_string(aetools.NProperty):
+ """date string - the date portion of a date-time value as text """
+ which = 'dstr'
+ want = 'TEXT'
+class time_string(aetools.NProperty):
+ """time string - the time portion of a date-time value as text """
+ which = 'tstr'
+ want = 'TEXT'
+
+dates = date
+
+class month(aetools.ComponentItem):
+ """month - a month """
+ want = 'mnth'
+
+months = month
+
+class January(aetools.ComponentItem):
+ """January - the month of January """
+ want = 'jan '
+
+class February(aetools.ComponentItem):
+ """February - the month of February """
+ want = 'feb '
+
+class March(aetools.ComponentItem):
+ """March - the month of March """
+ want = 'mar '
+
+class April(aetools.ComponentItem):
+ """April - the month of April """
+ want = 'apr '
+
+class May(aetools.ComponentItem):
+ """May - the month of May """
+ want = 'may '
+
+class June(aetools.ComponentItem):
+ """June - the month of June """
+ want = 'jun '
+
+class July(aetools.ComponentItem):
+ """July - the month of July """
+ want = 'jul '
+
+class August(aetools.ComponentItem):
+ """August - the month of August """
+ want = 'aug '
+
+class September(aetools.ComponentItem):
+ """September - the month of September """
+ want = 'sep '
+
+class October(aetools.ComponentItem):
+ """October - the month of October """
+ want = 'oct '
+
+class November(aetools.ComponentItem):
+ """November - the month of November """
+ want = 'nov '
+
+class December(aetools.ComponentItem):
+ """December - the month of December """
+ want = 'dec '
+
+class weekday(aetools.ComponentItem):
+ """weekday - a weekday """
+ want = 'wkdy'
+
+weekdays = weekday
+
+class Sunday(aetools.ComponentItem):
+ """Sunday - Sunday """
+ want = 'sun '
+
+class Monday(aetools.ComponentItem):
+ """Monday - Monday """
+ want = 'mon '
+
+class Tuesday(aetools.ComponentItem):
+ """Tuesday - Tuesday """
+ want = 'tue '
+
+class Wednesday(aetools.ComponentItem):
+ """Wednesday - Wednesday """
+ want = 'wed '
+
+class Thursday(aetools.ComponentItem):
+ """Thursday - Thursday """
+ want = 'thu '
+
+class Friday(aetools.ComponentItem):
+ """Friday - Friday """
+ want = 'fri '
+
+class Saturday(aetools.ComponentItem):
+ """Saturday - Saturday """
+ want = 'sat '
+
+class metres(aetools.ComponentItem):
+ """metres - a distance measurement in SI meters """
+ want = 'metr'
+
+meters = metres
+
+class inches(aetools.ComponentItem):
+ """inches - a distance measurement in Imperial inches """
+ want = 'inch'
+
+class feet(aetools.ComponentItem):
+ """feet - a distance measurement in Imperial feet """
+ want = 'feet'
+
+class yards(aetools.ComponentItem):
+ """yards - a distance measurement in Imperial yards """
+ want = 'yard'
+
+class miles(aetools.ComponentItem):
+ """miles - a distance measurement in Imperial miles """
+ want = 'mile'
+
+class kilometres(aetools.ComponentItem):
+ """kilometres - a distance measurement in SI kilometers """
+ want = 'kmtr'
+
+kilometers = kilometres
+
+class centimetres(aetools.ComponentItem):
+ """centimetres - a distance measurement in SI centimeters """
+ want = 'cmtr'
+
+centimeters = centimetres
+
+class square_metres(aetools.ComponentItem):
+ """square metres - an area measurement in SI square meters """
+ want = 'sqrm'
+
+square_meters = square_metres
+
+class square_feet(aetools.ComponentItem):
+ """square feet - an area measurement in Imperial square feet """
+ want = 'sqft'
+
+class square_yards(aetools.ComponentItem):
+ """square yards - an area measurement in Imperial square yards """
+ want = 'sqyd'
+
+class square_miles(aetools.ComponentItem):
+ """square miles - an area measurement in Imperial square miles """
+ want = 'sqmi'
+
+class square_kilometres(aetools.ComponentItem):
+ """square kilometres - an area measurement in SI square kilometers """
+ want = 'sqkm'
+
+square_kilometers = square_kilometres
+
+class litres(aetools.ComponentItem):
+ """litres - a volume measurement in SI liters """
+ want = 'litr'
+
+liters = litres
+
+class gallons(aetools.ComponentItem):
+ """gallons - a volume measurement in Imperial gallons """
+ want = 'galn'
+
+class quarts(aetools.ComponentItem):
+ """quarts - a volume measurement in Imperial quarts """
+ want = 'qrts'
+
+class cubic_metres(aetools.ComponentItem):
+ """cubic metres - a volume measurement in SI cubic meters """
+ want = 'cmet'
+
+cubic_meters = cubic_metres
+
+class cubic_centimetres(aetools.ComponentItem):
+ """cubic centimetres - a volume measurement in SI cubic centimeters """
+ want = 'ccmt'
+
+cubic_centimeters = cubic_centimetres
+
+class cubic_feet(aetools.ComponentItem):
+ """cubic feet - a volume measurement in Imperial cubic feet """
+ want = 'cfet'
+
+class cubic_inches(aetools.ComponentItem):
+ """cubic inches - a volume measurement in Imperial cubic inches """
+ want = 'cuin'
+
+class cubic_yards(aetools.ComponentItem):
+ """cubic yards - a distance measurement in Imperial cubic yards """
+ want = 'cyrd'
+
+class kilograms(aetools.ComponentItem):
+ """kilograms - a mass measurement in SI kilograms """
+ want = 'kgrm'
+
+class grams(aetools.ComponentItem):
+ """grams - a mass measurement in SI meters """
+ want = 'gram'
+
+class ounces(aetools.ComponentItem):
+ """ounces - a weight measurement in SI meters """
+ want = 'ozs '
+
+class pounds(aetools.ComponentItem):
+ """pounds - a weight measurement in SI meters """
+ want = 'lbs '
+
+class degrees_Celsius(aetools.ComponentItem):
+ """degrees Celsius - a temperature measurement in SI degrees Celsius """
+ want = 'degc'
+
+class degrees_Fahrenheit(aetools.ComponentItem):
+ """degrees Fahrenheit - a temperature measurement in degrees Fahrenheit """
+ want = 'degf'
+
+class degrees_Kelvin(aetools.ComponentItem):
+ """degrees Kelvin - a temperature measurement in degrees Kelvin """
+ want = 'degk'
+
+class upper_case(aetools.ComponentItem):
+ """upper case - Text with lower case converted to upper case """
+ want = 'case'
+
+class app(aetools.ComponentItem):
+ """app - Short name for application """
+ want = 'capp'
+
+application = app
+class result(aetools.NProperty):
+ """result - the last result of evaluation """
+ which = 'rslt'
+ want = '****'
+class space(aetools.NProperty):
+ """space - a space character """
+ which = 'spac'
+ want = 'cha '
+class return_(aetools.NProperty):
+ """return - a return character """
+ which = 'ret '
+ want = 'cha '
+class tab(aetools.NProperty):
+ """tab - a tab character """
+ which = 'tab '
+ want = 'cha '
+class minutes(aetools.NProperty):
+ """minutes - the number of seconds in a minute """
+ which = 'min '
+ want = 'long'
+class hours(aetools.NProperty):
+ """hours - the number of seconds in an hour """
+ which = 'hour'
+ want = 'long'
+class days(aetools.NProperty):
+ """days - the number of seconds in a day """
+ which = 'days'
+ want = 'long'
+class weeks(aetools.NProperty):
+ """weeks - the number of seconds in a week """
+ which = 'week'
+ want = 'long'
+class pi(aetools.NProperty):
+ """pi - the constant pi """
+ which = 'pi '
+ want = 'doub'
+class print_length(aetools.NProperty):
+ """print length - the maximum length to print """
+ which = 'prln'
+ want = 'long'
+class print_depth(aetools.NProperty):
+ """print depth - the maximum depth to print """
+ which = 'prdp'
+ want = 'long'
+class text_item_delimiters(aetools.NProperty):
+ """text item delimiters - the text item delimiters of a string """
+ which = 'txdl'
+ want = 'list'
+class AppleScript(aetools.NProperty):
+ """AppleScript - the top-level script object """
+ which = 'ascr'
+ want = 'scpt'
+
+applications = app
+boolean._superclassnames = []
+boolean._privpropdict = {
+}
+boolean._privelemdict = {
+}
+integer._superclassnames = []
+integer._privpropdict = {
+}
+integer._privelemdict = {
+}
+real._superclassnames = []
+real._privpropdict = {
+}
+real._privelemdict = {
+}
+number._superclassnames = []
+number._privpropdict = {
+}
+number._privelemdict = {
+}
+list._superclassnames = []
+list._privpropdict = {
+ 'length' : length,
+ 'reverse' : reverse,
+ 'rest' : rest,
+}
+list._privelemdict = {
+}
+linked_list._superclassnames = []
+linked_list._privpropdict = {
+ 'length' : length,
+}
+linked_list._privelemdict = {
+}
+vector._superclassnames = []
+vector._privpropdict = {
+ 'length' : length,
+}
+vector._privelemdict = {
+}
+record._superclassnames = []
+record._privpropdict = {
+}
+record._privelemdict = {
+}
+item._superclassnames = []
+item._privpropdict = {
+ 'id' : id,
+}
+item._privelemdict = {
+}
+script._superclassnames = []
+script._privpropdict = {
+ 'name' : name,
+ 'parent' : parent,
+}
+script._privelemdict = {
+}
+list_or_record._superclassnames = []
+list_or_record._privpropdict = {
+}
+list_or_record._privelemdict = {
+}
+list_or_string._superclassnames = []
+list_or_string._privpropdict = {
+}
+list_or_string._privelemdict = {
+}
+number_or_string._superclassnames = []
+number_or_string._privpropdict = {
+}
+number_or_string._privelemdict = {
+}
+alias_or_string._superclassnames = []
+alias_or_string._privpropdict = {
+}
+alias_or_string._privelemdict = {
+}
+list_2c__record_or_text._superclassnames = []
+list_2c__record_or_text._privpropdict = {
+}
+list_2c__record_or_text._privelemdict = {
+}
+number_or_date._superclassnames = []
+number_or_date._privpropdict = {
+}
+number_or_date._privelemdict = {
+}
+number_2c__date_or_text._superclassnames = []
+number_2c__date_or_text._privpropdict = {
+}
+number_2c__date_or_text._privelemdict = {
+}
+class_._superclassnames = ['type_class']
+class_._privpropdict = {
+ '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
+}
+class_._privelemdict = {
+}
+event._superclassnames = []
+event._privpropdict = {
+}
+event._privelemdict = {
+}
+property._superclassnames = []
+property._privpropdict = {
+}
+property._privelemdict = {
+}
+constant._superclassnames = []
+constant._privpropdict = {
+}
+constant._privelemdict = {
+}
+preposition._superclassnames = []
+preposition._privpropdict = {
+}
+preposition._privelemdict = {
+}
+reference_form._superclassnames = []
+reference_form._privpropdict = {
+}
+reference_form._privelemdict = {
+}
+handler._superclassnames = []
+handler._privpropdict = {
+}
+handler._privelemdict = {
+}
+data._superclassnames = []
+data._privpropdict = {
+}
+data._privelemdict = {
+}
+text._superclassnames = []
+text._privpropdict = {
+}
+text._privelemdict = {
+}
+international_text._superclassnames = []
+international_text._privpropdict = {
+}
+international_text._privelemdict = {
+}
+international_text._superclassnames = []
+international_text._privpropdict = {
+}
+international_text._privelemdict = {
+}
+string._superclassnames = []
+string._privpropdict = {
+}
+string._privelemdict = {
+}
+styled_text._superclassnames = []
+styled_text._privpropdict = {
+}
+styled_text._privelemdict = {
+}
+styled_text._superclassnames = []
+styled_text._privpropdict = {
+}
+styled_text._privelemdict = {
+}
+styled_Clipboard_text._superclassnames = []
+styled_Clipboard_text._privpropdict = {
+}
+styled_Clipboard_text._privelemdict = {
+}
+styled_Clipboard_text._superclassnames = []
+styled_Clipboard_text._privpropdict = {
+}
+styled_Clipboard_text._privelemdict = {
+}
+Unicode_text._superclassnames = []
+Unicode_text._privpropdict = {
+}
+Unicode_text._privelemdict = {
+}
+Unicode_text._superclassnames = []
+Unicode_text._privpropdict = {
+}
+Unicode_text._privelemdict = {
+}
+styled_Unicode_text._superclassnames = []
+styled_Unicode_text._privpropdict = {
+}
+styled_Unicode_text._privelemdict = {
+}
+styled_Unicode_text._superclassnames = []
+styled_Unicode_text._privpropdict = {
+}
+styled_Unicode_text._privelemdict = {
+}
+encoded_string._superclassnames = []
+encoded_string._privpropdict = {
+}
+encoded_string._privelemdict = {
+}
+C_string._superclassnames = []
+C_string._privpropdict = {
+}
+C_string._privelemdict = {
+}
+Pascal_string._superclassnames = []
+Pascal_string._privpropdict = {
+}
+Pascal_string._privelemdict = {
+}
+character._superclassnames = []
+character._privpropdict = {
+}
+character._privelemdict = {
+}
+text_item._superclassnames = []
+text_item._privpropdict = {
+}
+text_item._privelemdict = {
+}
+writing_code._superclassnames = []
+writing_code._privpropdict = {
+}
+writing_code._privelemdict = {
+}
+writing_code_info._superclassnames = []
+writing_code_info._privpropdict = {
+ 'script_code' : script_code,
+ 'language_code' : language_code,
+}
+writing_code_info._privelemdict = {
+}
+empty_ae_name_._superclassnames = []
+empty_ae_name_._privpropdict = {
+}
+empty_ae_name_._privelemdict = {
+}
+missing_value._superclassnames = []
+missing_value._privpropdict = {
+}
+missing_value._privelemdict = {
+}
+reference._superclassnames = []
+reference._privpropdict = {
+}
+reference._privelemdict = {
+}
+anything._superclassnames = []
+anything._privpropdict = {
+}
+anything._privelemdict = {
+}
+type_class._superclassnames = []
+type_class._privpropdict = {
+}
+type_class._privelemdict = {
+}
+RGB_color._superclassnames = []
+RGB_color._privpropdict = {
+}
+RGB_color._privelemdict = {
+}
+picture._superclassnames = []
+picture._privpropdict = {
+}
+picture._privelemdict = {
+}
+sound._superclassnames = []
+sound._privpropdict = {
+}
+sound._privelemdict = {
+}
+version._superclassnames = []
+version._privpropdict = {
+}
+version._privelemdict = {
+}
+file_specification._superclassnames = []
+file_specification._privpropdict = {
+}
+file_specification._privelemdict = {
+}
+alias._superclassnames = []
+alias._privpropdict = {
+}
+alias._privelemdict = {
+}
+machine._superclassnames = []
+machine._privpropdict = {
+}
+machine._privelemdict = {
+}
+zone._superclassnames = []
+zone._privpropdict = {
+}
+zone._privelemdict = {
+}
+keystroke._superclassnames = []
+keystroke._privpropdict = {
+ 'key' : key,
+ 'modifiers' : modifiers,
+ 'key_kind' : key_kind,
+}
+keystroke._privelemdict = {
+}
+seconds._superclassnames = []
+seconds._privpropdict = {
+}
+seconds._privelemdict = {
+}
+date._superclassnames = []
+date._privpropdict = {
+ 'weekday' : weekday,
+ 'month' : month,
+ 'day' : day,
+ 'year' : year,
+ 'time' : time,
+ 'date_string' : date_string,
+ 'time_string' : time_string,
+}
+date._privelemdict = {
+}
+month._superclassnames = []
+month._privpropdict = {
+}
+month._privelemdict = {
+}
+January._superclassnames = []
+January._privpropdict = {
+}
+January._privelemdict = {
+}
+February._superclassnames = []
+February._privpropdict = {
+}
+February._privelemdict = {
+}
+March._superclassnames = []
+March._privpropdict = {
+}
+March._privelemdict = {
+}
+April._superclassnames = []
+April._privpropdict = {
+}
+April._privelemdict = {
+}
+May._superclassnames = []
+May._privpropdict = {
+}
+May._privelemdict = {
+}
+June._superclassnames = []
+June._privpropdict = {
+}
+June._privelemdict = {
+}
+July._superclassnames = []
+July._privpropdict = {
+}
+July._privelemdict = {
+}
+August._superclassnames = []
+August._privpropdict = {
+}
+August._privelemdict = {
+}
+September._superclassnames = []
+September._privpropdict = {
+}
+September._privelemdict = {
+}
+October._superclassnames = []
+October._privpropdict = {
+}
+October._privelemdict = {
+}
+November._superclassnames = []
+November._privpropdict = {
+}
+November._privelemdict = {
+}
+December._superclassnames = []
+December._privpropdict = {
+}
+December._privelemdict = {
+}
+weekday._superclassnames = []
+weekday._privpropdict = {
+}
+weekday._privelemdict = {
+}
+Sunday._superclassnames = []
+Sunday._privpropdict = {
+}
+Sunday._privelemdict = {
+}
+Monday._superclassnames = []
+Monday._privpropdict = {
+}
+Monday._privelemdict = {
+}
+Tuesday._superclassnames = []
+Tuesday._privpropdict = {
+}
+Tuesday._privelemdict = {
+}
+Wednesday._superclassnames = []
+Wednesday._privpropdict = {
+}
+Wednesday._privelemdict = {
+}
+Thursday._superclassnames = []
+Thursday._privpropdict = {
+}
+Thursday._privelemdict = {
+}
+Friday._superclassnames = []
+Friday._privpropdict = {
+}
+Friday._privelemdict = {
+}
+Saturday._superclassnames = []
+Saturday._privpropdict = {
+}
+Saturday._privelemdict = {
+}
+metres._superclassnames = []
+metres._privpropdict = {
+}
+metres._privelemdict = {
+}
+inches._superclassnames = []
+inches._privpropdict = {
+}
+inches._privelemdict = {
+}
+feet._superclassnames = []
+feet._privpropdict = {
+}
+feet._privelemdict = {
+}
+yards._superclassnames = []
+yards._privpropdict = {
+}
+yards._privelemdict = {
+}
+miles._superclassnames = []
+miles._privpropdict = {
+}
+miles._privelemdict = {
+}
+kilometres._superclassnames = []
+kilometres._privpropdict = {
+}
+kilometres._privelemdict = {
+}
+centimetres._superclassnames = []
+centimetres._privpropdict = {
+}
+centimetres._privelemdict = {
+}
+square_metres._superclassnames = []
+square_metres._privpropdict = {
+}
+square_metres._privelemdict = {
+}
+square_feet._superclassnames = []
+square_feet._privpropdict = {
+}
+square_feet._privelemdict = {
+}
+square_yards._superclassnames = []
+square_yards._privpropdict = {
+}
+square_yards._privelemdict = {
+}
+square_miles._superclassnames = []
+square_miles._privpropdict = {
+}
+square_miles._privelemdict = {
+}
+square_kilometres._superclassnames = []
+square_kilometres._privpropdict = {
+}
+square_kilometres._privelemdict = {
+}
+litres._superclassnames = []
+litres._privpropdict = {
+}
+litres._privelemdict = {
+}
+gallons._superclassnames = []
+gallons._privpropdict = {
+}
+gallons._privelemdict = {
+}
+quarts._superclassnames = []
+quarts._privpropdict = {
+}
+quarts._privelemdict = {
+}
+cubic_metres._superclassnames = []
+cubic_metres._privpropdict = {
+}
+cubic_metres._privelemdict = {
+}
+cubic_centimetres._superclassnames = []
+cubic_centimetres._privpropdict = {
+}
+cubic_centimetres._privelemdict = {
+}
+cubic_feet._superclassnames = []
+cubic_feet._privpropdict = {
+}
+cubic_feet._privelemdict = {
+}
+cubic_inches._superclassnames = []
+cubic_inches._privpropdict = {
+}
+cubic_inches._privelemdict = {
+}
+cubic_yards._superclassnames = []
+cubic_yards._privpropdict = {
+}
+cubic_yards._privelemdict = {
+}
+kilograms._superclassnames = []
+kilograms._privpropdict = {
+}
+kilograms._privelemdict = {
+}
+grams._superclassnames = []
+grams._privpropdict = {
+}
+grams._privelemdict = {
+}
+ounces._superclassnames = []
+ounces._privpropdict = {
+}
+ounces._privelemdict = {
+}
+pounds._superclassnames = []
+pounds._privpropdict = {
+}
+pounds._privelemdict = {
+}
+degrees_Celsius._superclassnames = []
+degrees_Celsius._privpropdict = {
+}
+degrees_Celsius._privelemdict = {
+}
+degrees_Fahrenheit._superclassnames = []
+degrees_Fahrenheit._privpropdict = {
+}
+degrees_Fahrenheit._privelemdict = {
+}
+degrees_Kelvin._superclassnames = []
+degrees_Kelvin._privpropdict = {
+}
+degrees_Kelvin._privelemdict = {
+}
+upper_case._superclassnames = []
+upper_case._privpropdict = {
+}
+upper_case._privelemdict = {
+}
+app._superclassnames = []
+app._privpropdict = {
+}
+app._privelemdict = {
+}
+_Enum_cons = {
+ 'case' : 'case', # case
+ 'diacriticals' : 'diac', # diacriticals
+ 'white_space' : 'whit', # white space
+ 'hyphens' : 'hyph', # hyphens
+ 'expansion' : 'expa', # expansion
+ 'punctuation' : 'punc', # punctuation
+ 'application_responses' : 'rmte', # remote event replies
+}
+
+_Enum_boov = {
+ 'true' : 'true', # the true boolean value
+ 'false' : 'fals', # the false boolean value
+}
+
+_Enum_misc = {
+ 'current_application' : 'cura', # the current application
+}
+
+_Enum_eMds = {
+ 'option_down' : 'Kopt', #
+ 'command_down' : 'Kcmd', #
+ 'control_down' : 'Kctl', #
+ 'shift_down' : 'Ksft', #
+ 'caps_lock_down' : 'Kclk', #
+}
+
+_Enum_ekst = {
+ 'escape_key' : 'ks5\x00', #
+ 'delete_key' : 'ks3\x00', #
+ 'tab_key' : 'ks0\x00', #
+ 'return_key' : 'ks$\x00', #
+ 'clear_key' : 'ksG\x00', #
+ 'enter_key' : 'ksL\x00', #
+ 'up_arrow_key' : 'ks~\x00', #
+ 'down_arrow_key' : 'ks}\x00', #
+ 'left_arrow_key' : 'ks{\x00', #
+ 'right_arrow_key' : 'ks|\x00', #
+ 'help_key' : 'ksr\x00', #
+ 'home_key' : 'kss\x00', #
+ 'page_up_key' : 'kst\x00', #
+ 'page_down_key' : 'ksy\x00', #
+ 'forward_del_key' : 'ksu\x00', #
+ 'end_key' : 'ksw\x00', #
+ 'F1_key' : 'ksz\x00', #
+ 'F2_key' : 'ksx\x00', #
+ 'F3_key' : 'ksc\x00', #
+ 'F4_key' : 'ksv\x00', #
+ 'F5_key' : 'ks`\x00', #
+ 'F6_key' : 'ksa\x00', #
+ 'F7_key' : 'ksb\x00', #
+ 'F8_key' : 'ksd\x00', #
+ 'F9_key' : 'kse\x00', #
+ 'F10_key' : 'ksm\x00', #
+ 'F11_key' : 'ksg\x00', #
+ 'F12_key' : 'kso\x00', #
+ 'F13_key' : 'ksi\x00', #
+ 'F14_key' : 'ksk\x00', #
+ 'F15_key' : 'ksq\x00', #
+}
+
+
+#
+# Indices of types declared in this module
+#
+_classdeclarations = {
+ 'jul ' : July,
+ 'may ' : May,
+ 'TEXT' : string,
+ 'cmet' : cubic_metres,
+ 'STXT' : styled_text,
+ 'nds ' : number_2c__date_or_text,
+ 'feet' : feet,
+ 'feb ' : February,
+ 'nmbr' : number,
+ 'mile' : miles,
+ 'kprs' : keystroke,
+ 'psct' : writing_code,
+ 'degf' : degrees_Fahrenheit,
+ 'lrs ' : list_2c__record_or_text,
+ 'ldt ' : date,
+ 'litr' : litres,
+ 'nd ' : number_or_date,
+ 'cmtr' : centimetres,
+ 'evnt' : event,
+ 'pstr' : Pascal_string,
+ 'zone' : zone,
+ 'PICT' : picture,
+ 'ls ' : list_or_string,
+ 'long' : integer,
+ 'sf ' : alias_or_string,
+ 'citl' : writing_code_info,
+ 'citm' : text_item,
+ 'mach' : machine,
+ 'type' : type_class,
+ 'prep' : preposition,
+ 'tue ' : Tuesday,
+ 'case' : upper_case,
+ 'vers' : version,
+ 'wed ' : Wednesday,
+ 'dec ' : December,
+ 'sqkm' : square_kilometres,
+ 'obj ' : reference,
+ 'vect' : vector,
+ 'wkdy' : weekday,
+ 'cRGB' : RGB_color,
+ 'sun ' : Sunday,
+ 'itxt' : international_text,
+ 'scnd' : seconds,
+ 'mar ' : March,
+ 'kmtr' : kilometres,
+ 'sqft' : square_feet,
+ 'list' : list,
+ 'doub' : real,
+ 'nov ' : November,
+ 'qrts' : quarts,
+ 'degc' : degrees_Celsius,
+ 'msng' : missing_value,
+ 'alis' : alias,
+ 'jan ' : January,
+ 'metr' : metres,
+ 'mnth' : month,
+ 'ns ' : number_or_string,
+ 'jun ' : June,
+ 'aug ' : August,
+ 'llst' : linked_list,
+ 'styl' : styled_Clipboard_text,
+ 'encs' : encoded_string,
+ 'galn' : gallons,
+ 'cuin' : cubic_inches,
+ 'fri ' : Friday,
+ 'sutx' : styled_Unicode_text,
+ 'lr ' : list_or_record,
+ 'degk' : degrees_Kelvin,
+ 'mon ' : Monday,
+ 'snd ' : sound,
+ 'pcls' : class_,
+ 'kgrm' : kilograms,
+ 'scpt' : script,
+ '****' : anything,
+ 'prop' : property,
+ 'reco' : record,
+ 'bool' : boolean,
+ 'oct ' : October,
+ 'sqrm' : square_metres,
+ 'inch' : inches,
+ 'kfrm' : reference_form,
+ 'cobj' : item,
+ 'gram' : grams,
+ 'cha ' : character,
+ 'apr ' : April,
+ 'undf' : empty_ae_name_,
+ 'capp' : app,
+ 'enum' : constant,
+ 'hand' : handler,
+ 'sqmi' : square_miles,
+ 'rdat' : data,
+ 'cstr' : C_string,
+ 'utxt' : Unicode_text,
+ 'thu ' : Thursday,
+ 'sqyd' : square_yards,
+ 'yard' : yards,
+ 'cyrd' : cubic_yards,
+ 'ozs ' : ounces,
+ 'lbs ' : pounds,
+ 'cfet' : cubic_feet,
+ 'ccmt' : cubic_centimetres,
+ 'sat ' : Saturday,
+ 'sep ' : September,
+ 'fss ' : file_specification,
+ 'ctxt' : text,
+}
+
+_propdeclarations = {
+ 'week' : weeks,
+ 'kMod' : modifiers,
+ 'pare' : parent,
+ 'leng' : length,
+ 'hour' : hours,
+ 'mnth' : month,
+ 'min ' : minutes,
+ 'wkdy' : weekday,
+ 'dstr' : date_string,
+ 'rest' : rest,
+ 'ascr' : AppleScript,
+ 'kknd' : key_kind,
+ 'c@#^' : _3c_Inheritance_3e_,
+ 'ID ' : id,
+ 'year' : year,
+ 'rvse' : reverse,
+ 'tab ' : tab,
+ 'tstr' : time_string,
+ 'pi ' : pi,
+ 'ret ' : return_,
+ 'plcd' : language_code,
+ 'kMsg' : key,
+ 'spac' : space,
+ 'days' : days,
+ 'txdl' : text_item_delimiters,
+ 'prdp' : print_depth,
+ 'prln' : print_length,
+ 'pscd' : script_code,
+ 'time' : time,
+ 'pnam' : name,
+ 'rslt' : result,
+ 'day ' : day,
+}
+
+_compdeclarations = {
+}
+
+_enumdeclarations = {
+ 'eMds' : _Enum_eMds,
+ 'cons' : _Enum_cons,
+ 'misc' : _Enum_misc,
+ 'ekst' : _Enum_ekst,
+ 'boov' : _Enum_boov,
+}
diff --git a/Lib/plat-mac/lib-scriptpackages/StdSuites/Macintosh_Connectivity_Clas.py b/Lib/plat-mac/lib-scriptpackages/StdSuites/Macintosh_Connectivity_Clas.py
new file mode 100644
index 0000000..8dbd6e0
--- /dev/null
+++ b/Lib/plat-mac/lib-scriptpackages/StdSuites/Macintosh_Connectivity_Clas.py
@@ -0,0 +1,373 @@
+"""Suite Macintosh Connectivity Classes: Classes relating to Apple Macintosh personal computer connectivity
+Level 1, version 1
+
+Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
+AETE/AEUT resource version 1/0, language 0, script 0
+"""
+
+import aetools
+import MacOS
+
+_code = 'macc'
+
+class Macintosh_Connectivity_Clas_Events:
+
+ pass
+
+
+class device_specification(aetools.ComponentItem):
+ """device specification - A device connected to a computer """
+ want = 'cdev'
+class properties(aetools.NProperty):
+ """properties - property that allows getting and setting of multiple properties """
+ which = 'pALL'
+ want = 'reco'
+class device_type(aetools.NProperty):
+ """device type - the kind of device """
+ which = 'pdvt'
+ want = 'edvt'
+class device_address(aetools.NProperty):
+ """device address - the address of the device """
+ which = 'pdva'
+ want = 'cadr'
+
+device_specifications = device_specification
+
+class address_specification(aetools.ComponentItem):
+ """address specification - Unique designation of a device or service connected to this computer """
+ want = 'cadr'
+class conduit(aetools.NProperty):
+ """conduit - How the addressee is physically connected """
+ which = 'pcon'
+ want = 'econ'
+class protocol(aetools.NProperty):
+ """protocol - How to talk to this addressee """
+ which = 'pprt'
+ want = 'epro'
+
+address_specifications = address_specification
+
+class ADB_address(aetools.ComponentItem):
+ """ADB address - Addresses a device connected via Apple Desktop Bus """
+ want = 'cadb'
+class _3c_inheritance_3e_(aetools.NProperty):
+ """<inheritance> - inherits some of its properties from this class """
+ which = 'c@#^'
+ want = 'cadr'
+class ID(aetools.NProperty):
+ """ID - the Apple Desktop Bus device ID """
+ which = 'ID '
+ want = 'shor'
+
+ADB_addresses = ADB_address
+
+class AppleTalk_address(aetools.ComponentItem):
+ """AppleTalk address - Addresses a device or service connected via the AppleTalk protocol """
+ want = 'cat '
+class AppleTalk_machine(aetools.NProperty):
+ """AppleTalk machine - the machine name part of the address """
+ which = 'patm'
+ want = 'TEXT'
+class AppleTalk_zone(aetools.NProperty):
+ """AppleTalk zone - the zone part of the address """
+ which = 'patz'
+ want = 'TEXT'
+class AppleTalk_type(aetools.NProperty):
+ """AppleTalk type - the type part of the AppleTalk address """
+ which = 'patt'
+ want = 'TEXT'
+
+AppleTalk_addresses = AppleTalk_address
+
+class bus_slot(aetools.ComponentItem):
+ """bus slot - Addresses a PC, PCI, or NuBus card """
+ want = 'cbus'
+
+bus_slots = bus_slot
+
+class Ethernet_address(aetools.ComponentItem):
+ """Ethernet address - Addresses a device by its Ethernet address """
+ want = 'cen '
+
+Ethernet_addresses = Ethernet_address
+
+class FireWire_address(aetools.ComponentItem):
+ """FireWire address - Addresses a device on the FireWire bus """
+ want = 'cfw '
+
+FireWire_addresses = FireWire_address
+
+class IP_address(aetools.ComponentItem):
+ """IP address - Addresses a device or service via the Internet Protocol (IP) """
+ want = 'cip '
+class DNS_form(aetools.NProperty):
+ """DNS form - the address in the form "apple.com" """
+ which = 'pdns'
+ want = 'TEXT'
+class port(aetools.NProperty):
+ """port - the port number of the service or client being addressed """
+ which = 'ppor'
+ want = 'TEXT'
+
+IP_addresses = IP_address
+
+class LocalTalk_address(aetools.ComponentItem):
+ """LocalTalk address - Addresses a device by its LocalTalk address """
+ want = 'clt '
+class network(aetools.NProperty):
+ """network - the LocalTalk network number """
+ which = 'pnet'
+ want = 'shor'
+class node(aetools.NProperty):
+ """node - the LocalTalk node number """
+ which = 'pnod'
+ want = 'shor'
+class socket(aetools.NProperty):
+ """socket - the LocalTalk socket number """
+ which = 'psoc'
+ want = 'shor'
+
+LocalTalk_addresses = LocalTalk_address
+
+class SCSI_address(aetools.ComponentItem):
+ """SCSI address - Addresses a SCSI device """
+ want = 'cscs'
+class SCSI_bus(aetools.NProperty):
+ """SCSI bus - the SCSI bus number """
+ which = 'pscb'
+ want = 'shor'
+class LUN(aetools.NProperty):
+ """LUN - the SCSI logical unit number """
+ which = 'pslu'
+ want = 'shor'
+
+SCSI_addresses = SCSI_address
+
+class Token_Ring_address(aetools.ComponentItem):
+ """Token Ring address - Addresses a device or service via the Token Ring protocol """
+ want = 'ctok'
+
+Token_Ring_addresses = Token_Ring_address
+
+class USB_address(aetools.ComponentItem):
+ """USB address - Addresses a device on the Universal Serial Bus """
+ want = 'cusb'
+class name(aetools.NProperty):
+ """name - the USB device name """
+ which = 'pnam'
+ want = 'TEXT'
+
+USB_Addresses = USB_address
+device_specification._superclassnames = []
+device_specification._privpropdict = {
+ 'properties' : properties,
+ 'device_type' : device_type,
+ 'device_address' : device_address,
+}
+device_specification._privelemdict = {
+}
+address_specification._superclassnames = []
+address_specification._privpropdict = {
+ 'properties' : properties,
+ 'conduit' : conduit,
+ 'protocol' : protocol,
+}
+address_specification._privelemdict = {
+}
+ADB_address._superclassnames = ['address_specification']
+ADB_address._privpropdict = {
+ '_3c_inheritance_3e_' : _3c_inheritance_3e_,
+ 'ID' : ID,
+}
+ADB_address._privelemdict = {
+}
+AppleTalk_address._superclassnames = ['address_specification']
+AppleTalk_address._privpropdict = {
+ '_3c_inheritance_3e_' : _3c_inheritance_3e_,
+ 'AppleTalk_machine' : AppleTalk_machine,
+ 'AppleTalk_zone' : AppleTalk_zone,
+ 'AppleTalk_type' : AppleTalk_type,
+}
+AppleTalk_address._privelemdict = {
+}
+bus_slot._superclassnames = ['address_specification']
+bus_slot._privpropdict = {
+ '_3c_inheritance_3e_' : _3c_inheritance_3e_,
+ 'ID' : ID,
+}
+bus_slot._privelemdict = {
+}
+Ethernet_address._superclassnames = ['address_specification']
+Ethernet_address._privpropdict = {
+ '_3c_inheritance_3e_' : _3c_inheritance_3e_,
+ 'ID' : ID,
+}
+Ethernet_address._privelemdict = {
+}
+FireWire_address._superclassnames = ['address_specification']
+FireWire_address._privpropdict = {
+ '_3c_inheritance_3e_' : _3c_inheritance_3e_,
+ 'ID' : ID,
+}
+FireWire_address._privelemdict = {
+}
+IP_address._superclassnames = ['address_specification']
+IP_address._privpropdict = {
+ '_3c_inheritance_3e_' : _3c_inheritance_3e_,
+ 'ID' : ID,
+ 'DNS_form' : DNS_form,
+ 'port' : port,
+}
+IP_address._privelemdict = {
+}
+LocalTalk_address._superclassnames = ['address_specification']
+LocalTalk_address._privpropdict = {
+ '_3c_inheritance_3e_' : _3c_inheritance_3e_,
+ 'network' : network,
+ 'node' : node,
+ 'socket' : socket,
+}
+LocalTalk_address._privelemdict = {
+}
+SCSI_address._superclassnames = ['address_specification']
+SCSI_address._privpropdict = {
+ '_3c_inheritance_3e_' : _3c_inheritance_3e_,
+ 'SCSI_bus' : SCSI_bus,
+ 'ID' : ID,
+ 'LUN' : LUN,
+}
+SCSI_address._privelemdict = {
+}
+Token_Ring_address._superclassnames = ['address_specification']
+Token_Ring_address._privpropdict = {
+ '_3c_inheritance_3e_' : _3c_inheritance_3e_,
+ 'ID' : ID,
+}
+Token_Ring_address._privelemdict = {
+}
+USB_address._superclassnames = ['address_specification']
+USB_address._privpropdict = {
+ '_3c_inheritance_3e_' : _3c_inheritance_3e_,
+ 'name' : name,
+}
+USB_address._privelemdict = {
+}
+_Enum_edvt = {
+ 'hard_disk_drive' : 'ehd ', #
+ 'floppy_disk_drive' : 'efd ', #
+ 'CD_ROM_drive' : 'ecd ', #
+ 'DVD_drive' : 'edvd', #
+ 'storage_device' : 'edst', #
+ 'keyboard' : 'ekbd', #
+ 'mouse' : 'emou', #
+ 'trackball' : 'etrk', #
+ 'trackpad' : 'edtp', #
+ 'pointing_device' : 'edpd', #
+ 'video_monitor' : 'edvm', #
+ 'LCD_display' : 'edlc', #
+ 'display' : 'edds', #
+ 'modem' : 'edmm', #
+ 'PC_card' : 'ecpc', #
+ 'PCI_card' : 'edpi', #
+ 'NuBus_card' : 'ednb', #
+ 'printer' : 'edpr', #
+ 'speakers' : 'edsp', #
+ 'microphone' : 'ecmi', #
+}
+
+_Enum_econ = {
+ 'ADB' : 'eadb', #
+ 'printer_port' : 'ecpp', #
+ 'modem_port' : 'ecmp', #
+ 'modem_printer_port' : 'empp', #
+ 'LocalTalk' : 'eclt', #
+ 'Ethernet' : 'ecen', #
+ 'Token_Ring' : 'etok', #
+ 'SCSI' : 'ecsc', #
+ 'USB' : 'ecus', #
+ 'FireWire' : 'ecfw', #
+ 'infrared' : 'ecir', #
+ 'PC_card' : 'ecpc', #
+ 'PCI_bus' : 'ecpi', #
+ 'NuBus' : 'enub', #
+ 'PDS_slot' : 'ecpd', #
+ 'Comm_slot' : 'eccm', #
+ 'monitor_out' : 'ecmn', #
+ 'video_out' : 'ecvo', #
+ 'video_in' : 'ecvi', #
+ 'audio_out' : 'ecao', #
+ 'audio_line_in' : 'ecai', #
+ 'audio_line_out' : 'ecal', #
+ 'microphone' : 'ecmi', #
+}
+
+_Enum_epro = {
+ 'serial' : 'epsr', #
+ 'AppleTalk' : 'epat', #
+ 'IP' : 'epip', #
+ 'SCSI' : 'ecsc', #
+ 'ADB' : 'eadb', #
+ 'FireWire' : 'ecfw', #
+ 'IrDA' : 'epir', #
+ 'IRTalk' : 'epit', #
+ 'USB' : 'ecus', #
+ 'PC_card' : 'ecpc', #
+ 'PCI_bus' : 'ecpi', #
+ 'NuBus' : 'enub', #
+ 'bus' : 'ebus', #
+ 'Macintosh_video' : 'epmv', #
+ 'SVGA' : 'epsg', #
+ 'S_video' : 'epsv', #
+ 'analog_audio' : 'epau', #
+ 'digital_audio' : 'epda', #
+ 'PostScript' : 'epps', #
+}
+
+
+#
+# Indices of types declared in this module
+#
+_classdeclarations = {
+ 'cat ' : AppleTalk_address,
+ 'cadr' : address_specification,
+ 'ctok' : Token_Ring_address,
+ 'cfw ' : FireWire_address,
+ 'cbus' : bus_slot,
+ 'cscs' : SCSI_address,
+ 'cadb' : ADB_address,
+ 'cusb' : USB_address,
+ 'cdev' : device_specification,
+ 'clt ' : LocalTalk_address,
+ 'cip ' : IP_address,
+ 'cen ' : Ethernet_address,
+}
+
+_propdeclarations = {
+ 'pdns' : DNS_form,
+ 'ppor' : port,
+ 'patt' : AppleTalk_type,
+ 'pprt' : protocol,
+ 'pcon' : conduit,
+ 'patz' : AppleTalk_zone,
+ 'pnet' : network,
+ 'pdvt' : device_type,
+ 'pnam' : name,
+ 'c@#^' : _3c_inheritance_3e_,
+ 'ID ' : ID,
+ 'pALL' : properties,
+ 'pscb' : SCSI_bus,
+ 'pdva' : device_address,
+ 'patm' : AppleTalk_machine,
+ 'psoc' : socket,
+ 'pslu' : LUN,
+ 'pnod' : node,
+}
+
+_compdeclarations = {
+}
+
+_enumdeclarations = {
+ 'econ' : _Enum_econ,
+ 'edvt' : _Enum_edvt,
+ 'epro' : _Enum_epro,
+}
diff --git a/Lib/plat-mac/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suite.py b/Lib/plat-mac/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suite.py
new file mode 100644
index 0000000..253cf0b
--- /dev/null
+++ b/Lib/plat-mac/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suite.py
@@ -0,0 +1,417 @@
+"""Suite QuickDraw Graphics Suite: A set of basic classes for graphics
+Level 1, version 1
+
+Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
+AETE/AEUT resource version 1/0, language 0, script 0
+"""
+
+import aetools
+import MacOS
+
+_code = 'qdrw'
+
+class QuickDraw_Graphics_Suite_Events:
+
+ pass
+
+
+class arc(aetools.ComponentItem):
+ """arc - An arc """
+ want = 'carc'
+class arc_angle(aetools.NProperty):
+ """arc angle - the angle of the arc in degrees """
+ which = 'parc'
+ want = 'fixd'
+class bounds(aetools.NProperty):
+ """bounds - the smallest rectangle that contains the entire arc """
+ which = 'pbnd'
+ want = 'qdrt'
+class definition_rect(aetools.NProperty):
+ """definition rect - the rectangle that contains the circle or oval used to define the arc """
+ which = 'pdrt'
+ want = 'qdrt'
+class fill_color(aetools.NProperty):
+ """fill color - the fill color """
+ which = 'flcl'
+ want = 'cRGB'
+class fill_pattern(aetools.NProperty):
+ """fill pattern - the fill pattern """
+ which = 'flpt'
+ want = 'cpix'
+class pen_color(aetools.NProperty):
+ """pen color - the pen color """
+ which = 'ppcl'
+ want = 'cRGB'
+class pen_pattern(aetools.NProperty):
+ """pen pattern - the pen pattern """
+ which = 'pppa'
+ want = 'cpix'
+class pen_width(aetools.NProperty):
+ """pen width - the pen width """
+ which = 'ppwd'
+ want = 'shor'
+class start_angle(aetools.NProperty):
+ """start angle - the angle that defines the start of the arc, in degrees """
+ which = 'pang'
+ want = 'fixd'
+class transfer_mode(aetools.NProperty):
+ """transfer mode - the transfer mode """
+ which = 'pptm'
+ want = 'tran'
+
+arcs = arc
+
+class drawing_area(aetools.ComponentItem):
+ """drawing area - Container for graphics and supporting information """
+ want = 'cdrw'
+class background_color(aetools.NProperty):
+ """background color - the color used to fill in unoccupied areas """
+ which = 'pbcl'
+ want = 'cRGB'
+class background_pattern(aetools.NProperty):
+ """background pattern - the pattern used to fill in unoccupied areas """
+ which = 'pbpt'
+ want = 'cpix'
+class color_table(aetools.NProperty):
+ """color table - the color table """
+ which = 'cltb'
+ want = 'clrt'
+class ordering(aetools.NProperty):
+ """ordering - the ordered list of graphic objects in the drawing area """
+ which = 'gobs'
+ want = 'obj '
+class name(aetools.NProperty):
+ """name - the name """
+ which = 'pnam'
+ want = 'itxt'
+class default_location(aetools.NProperty):
+ """default location - the default location of each new graphic object """
+ which = 'pnel'
+ want = 'QDpt'
+class pixel_depth(aetools.NProperty):
+ """pixel depth - the number of bits per pixel """
+ which = 'pdpt'
+ want = 'shor'
+class writing_code(aetools.NProperty):
+ """writing code - the script system and language of text objects in the drawing area """
+ which = 'psct'
+ want = 'intl'
+class text_color(aetools.NProperty):
+ """text color - the default color for text objects """
+ which = 'ptxc'
+ want = 'cRGB'
+class default_font(aetools.NProperty):
+ """default font - the name of the default font for text objects """
+ which = 'ptxf'
+ want = 'itxt'
+class default_size(aetools.NProperty):
+ """default size - the default size for text objects """
+ which = 'ptps'
+ want = 'fixd'
+class style(aetools.NProperty):
+ """style - the default text style for text objects """
+ which = 'txst'
+ want = 'tsty'
+class update_on_change(aetools.NProperty):
+ """update on change - Redraw after each change? """
+ which = 'pupd'
+ want = 'bool'
+
+drawing_areas = drawing_area
+
+class graphic_line(aetools.ComponentItem):
+ """graphic line - A graphic line """
+ want = 'glin'
+class start_point(aetools.NProperty):
+ """start point - the starting point of the line """
+ which = 'pstp'
+ want = 'QDpt'
+class end_point(aetools.NProperty):
+ """end point - the ending point of the line """
+ which = 'pend'
+ want = 'QDpt'
+class dash_style(aetools.NProperty):
+ """dash style - the dash style """
+ which = 'pdst'
+ want = 'tdas'
+class arrow_style(aetools.NProperty):
+ """arrow style - the arrow style """
+ which = 'arro'
+ want = 'arro'
+
+graphic_lines = graphic_line
+
+class graphic_object(aetools.ComponentItem):
+ """graphic object - A graphic object """
+ want = 'cgob'
+
+graphic_objects = graphic_object
+
+class graphic_shape(aetools.ComponentItem):
+ """graphic shape - A graphic shape """
+ want = 'cgsh'
+
+graphic_shapes = graphic_shape
+
+class graphic_text(aetools.ComponentItem):
+ """graphic text - A series of characters within a drawing area """
+ want = 'cgtx'
+class color(aetools.NProperty):
+ """color - the color of the first character """
+ which = 'colr'
+ want = 'cRGB'
+class font(aetools.NProperty):
+ """font - the name of the font of the first character """
+ which = 'font'
+ want = 'ctxt'
+class size(aetools.NProperty):
+ """size - the size in points of the first character """
+ which = 'ptsz'
+ want = 'fixd'
+class uniform_styles(aetools.NProperty):
+ """uniform styles - the text styles that are uniform throughout the text """
+ which = 'ustl'
+ want = 'tsty'
+
+class graphic_group(aetools.ComponentItem):
+ """graphic group - Group of graphics """
+ want = 'cpic'
+
+graphic_groups = graphic_group
+
+class oval(aetools.ComponentItem):
+ """oval - An oval """
+ want = 'covl'
+
+ovals = oval
+
+class pixel(aetools.ComponentItem):
+ """pixel - A pixel """
+ want = 'cpxl'
+
+pixels = pixel
+
+class pixel_map(aetools.ComponentItem):
+ """pixel map - A pixel map """
+ want = 'cpix'
+
+pixel_maps = pixel_map
+
+class polygon(aetools.ComponentItem):
+ """polygon - A polygon """
+ want = 'cpgn'
+class point_list(aetools.NProperty):
+ """point list - the list of points that define the polygon """
+ which = 'ptlt'
+ want = 'QDpt'
+
+polygons = polygon
+
+class rectangle(aetools.ComponentItem):
+ """rectangle - A rectangle """
+ want = 'crec'
+
+rectangles = rectangle
+
+class rounded_rectangle(aetools.ComponentItem):
+ """rounded rectangle - A rounded rectangle """
+ want = 'crrc'
+class corner_curve_height(aetools.NProperty):
+ """corner curve height - the height of the oval used to define the shape of the rounded corners """
+ which = 'pchd'
+ want = 'shor'
+class corner_curve_width(aetools.NProperty):
+ """corner curve width - the width of the oval used to define the shape of the rounded corners """
+ which = 'pcwd'
+ want = 'shor'
+
+rounded_rectangles = rounded_rectangle
+arc._superclassnames = []
+arc._privpropdict = {
+ 'arc_angle' : arc_angle,
+ 'bounds' : bounds,
+ 'definition_rect' : definition_rect,
+ 'fill_color' : fill_color,
+ 'fill_pattern' : fill_pattern,
+ 'pen_color' : pen_color,
+ 'pen_pattern' : pen_pattern,
+ 'pen_width' : pen_width,
+ 'start_angle' : start_angle,
+ 'transfer_mode' : transfer_mode,
+}
+arc._privelemdict = {
+}
+drawing_area._superclassnames = []
+drawing_area._privpropdict = {
+ 'background_color' : background_color,
+ 'background_pattern' : background_pattern,
+ 'color_table' : color_table,
+ 'ordering' : ordering,
+ 'name' : name,
+ 'default_location' : default_location,
+ 'pixel_depth' : pixel_depth,
+ 'writing_code' : writing_code,
+ 'text_color' : text_color,
+ 'default_font' : default_font,
+ 'default_size' : default_size,
+ 'style' : style,
+ 'update_on_change' : update_on_change,
+}
+drawing_area._privelemdict = {
+}
+graphic_line._superclassnames = []
+graphic_line._privpropdict = {
+ 'start_point' : start_point,
+ 'end_point' : end_point,
+ 'dash_style' : dash_style,
+ 'arrow_style' : arrow_style,
+}
+graphic_line._privelemdict = {
+}
+graphic_object._superclassnames = []
+graphic_object._privpropdict = {
+}
+graphic_object._privelemdict = {
+}
+graphic_shape._superclassnames = []
+graphic_shape._privpropdict = {
+}
+graphic_shape._privelemdict = {
+}
+graphic_text._superclassnames = []
+graphic_text._privpropdict = {
+ 'color' : color,
+ 'font' : font,
+ 'size' : size,
+ 'uniform_styles' : uniform_styles,
+}
+graphic_text._privelemdict = {
+}
+graphic_group._superclassnames = []
+graphic_group._privpropdict = {
+}
+graphic_group._privelemdict = {
+}
+oval._superclassnames = []
+oval._privpropdict = {
+}
+oval._privelemdict = {
+}
+pixel._superclassnames = []
+pixel._privpropdict = {
+ 'color' : color,
+}
+pixel._privelemdict = {
+}
+pixel_map._superclassnames = []
+pixel_map._privpropdict = {
+}
+pixel_map._privelemdict = {
+}
+polygon._superclassnames = []
+polygon._privpropdict = {
+ 'point_list' : point_list,
+}
+polygon._privelemdict = {
+}
+rectangle._superclassnames = []
+rectangle._privpropdict = {
+}
+rectangle._privelemdict = {
+}
+rounded_rectangle._superclassnames = []
+rounded_rectangle._privpropdict = {
+ 'corner_curve_height' : corner_curve_height,
+ 'corner_curve_width' : corner_curve_width,
+}
+rounded_rectangle._privelemdict = {
+}
+_Enum_tran = {
+ 'copy_pixels' : 'cpy ', #
+ 'not_copy_pixels' : 'ncpy', #
+ 'or_pixels' : 'or ', #
+ 'not_or_pixels' : 'ntor', #
+ 'bic_pixels' : 'bic ', #
+ 'not_bic_pixels' : 'nbic', #
+ 'xor_pixels' : 'xor ', #
+ 'not_xor_pixels' : 'nxor', #
+ 'add_over_pixels' : 'addo', #
+ 'add_pin_pixels' : 'addp', #
+ 'sub_over_pixels' : 'subo', #
+ 'sub_pin_pixels' : 'subp', #
+ 'ad_max_pixels' : 'admx', #
+ 'ad_min_pixels' : 'admn', #
+ 'blend_pixels' : 'blnd', #
+}
+
+_Enum_arro = {
+ 'no_arrow' : 'arno', # No arrow on line
+ 'arrow_at_start' : 'arst', # Arrow at start of line
+ 'arrow_at_end' : 'aren', # Arrow at end of line
+ 'arrow_at_both_ends' : 'arbo', # Arrow at both the start and the end of the line
+}
+
+
+#
+# Indices of types declared in this module
+#
+_classdeclarations = {
+ 'cpic' : graphic_group,
+ 'covl' : oval,
+ 'cgtx' : graphic_text,
+ 'cgsh' : graphic_shape,
+ 'glin' : graphic_line,
+ 'cgob' : graphic_object,
+ 'cdrw' : drawing_area,
+ 'cpgn' : polygon,
+ 'cpxl' : pixel,
+ 'crrc' : rounded_rectangle,
+ 'carc' : arc,
+ 'cpix' : pixel_map,
+ 'crec' : rectangle,
+}
+
+_propdeclarations = {
+ 'pbpt' : background_pattern,
+ 'flcl' : fill_color,
+ 'parc' : arc_angle,
+ 'pbnd' : bounds,
+ 'colr' : color,
+ 'flpt' : fill_pattern,
+ 'ustl' : uniform_styles,
+ 'font' : font,
+ 'pend' : end_point,
+ 'pstp' : start_point,
+ 'pang' : start_angle,
+ 'pptm' : transfer_mode,
+ 'cltb' : color_table,
+ 'ptxc' : text_color,
+ 'ptxf' : default_font,
+ 'ppcl' : pen_color,
+ 'ptps' : default_size,
+ 'ppwd' : pen_width,
+ 'arro' : arrow_style,
+ 'pcwd' : corner_curve_width,
+ 'txst' : style,
+ 'psct' : writing_code,
+ 'pdst' : dash_style,
+ 'ptlt' : point_list,
+ 'gobs' : ordering,
+ 'pdpt' : pixel_depth,
+ 'pnel' : default_location,
+ 'pchd' : corner_curve_height,
+ 'pbcl' : background_color,
+ 'pnam' : name,
+ 'pdrt' : definition_rect,
+ 'ptsz' : size,
+ 'pupd' : update_on_change,
+ 'pppa' : pen_pattern,
+}
+
+_compdeclarations = {
+}
+
+_enumdeclarations = {
+ 'arro' : _Enum_arro,
+ 'tran' : _Enum_tran,
+}
diff --git a/Lib/plat-mac/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suppleme.py b/Lib/plat-mac/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suppleme.py
new file mode 100644
index 0000000..b640cdc
--- /dev/null
+++ b/Lib/plat-mac/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suppleme.py
@@ -0,0 +1,73 @@
+"""Suite QuickDraw Graphics Supplemental Suite: Defines transformations of graphic objects
+Level 1, version 1
+
+Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
+AETE/AEUT resource version 1/0, language 0, script 0
+"""
+
+import aetools
+import MacOS
+
+_code = 'qdsp'
+
+class QuickDraw_Graphics_Suppleme_Events:
+
+ pass
+
+
+class drawing_area(aetools.ComponentItem):
+ """drawing area - Container for graphics and supporting information """
+ want = 'cdrw'
+class rotation(aetools.NProperty):
+ """rotation - the default rotation for objects in the drawing area """
+ which = 'prot'
+ want = 'trot'
+class scale(aetools.NProperty):
+ """scale - the default scaling for objects in the drawing area """
+ which = 'pscl'
+ want = 'fixd'
+class translation(aetools.NProperty):
+ """translation - the default repositioning for objects in the drawing area """
+ which = 'ptrs'
+ want = 'QDpt'
+
+drawing_areas = drawing_area
+
+class graphic_group(aetools.ComponentItem):
+ """graphic group - Group of graphics """
+ want = 'cpic'
+
+graphic_groups = graphic_group
+drawing_area._superclassnames = []
+drawing_area._privpropdict = {
+ 'rotation' : rotation,
+ 'scale' : scale,
+ 'translation' : translation,
+}
+drawing_area._privelemdict = {
+}
+graphic_group._superclassnames = []
+graphic_group._privpropdict = {
+}
+graphic_group._privelemdict = {
+}
+
+#
+# Indices of types declared in this module
+#
+_classdeclarations = {
+ 'cpic' : graphic_group,
+ 'cdrw' : drawing_area,
+}
+
+_propdeclarations = {
+ 'prot' : rotation,
+ 'ptrs' : translation,
+ 'pscl' : scale,
+}
+
+_compdeclarations = {
+}
+
+_enumdeclarations = {
+}
diff --git a/Lib/plat-mac/lib-scriptpackages/StdSuites/Required_Suite.py b/Lib/plat-mac/lib-scriptpackages/StdSuites/Required_Suite.py
new file mode 100644
index 0000000..be26c92
--- /dev/null
+++ b/Lib/plat-mac/lib-scriptpackages/StdSuites/Required_Suite.py
@@ -0,0 +1,32 @@
+"""Suite Required Suite: Every application supports open, print, run, and quit
+Level 1, version 1
+
+Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
+AETE/AEUT resource version 1/0, language 0, script 0
+"""
+
+import aetools
+import MacOS
+
+_code = 'reqd'
+
+from _builtinSuites.builtin_Suite import *
+class Required_Suite_Events(builtin_Suite_Events):
+
+ pass
+
+
+#
+# Indices of types declared in this module
+#
+_classdeclarations = {
+}
+
+_propdeclarations = {
+}
+
+_compdeclarations = {
+}
+
+_enumdeclarations = {
+}
diff --git a/Lib/plat-mac/lib-scriptpackages/StdSuites/Standard_Suite.py b/Lib/plat-mac/lib-scriptpackages/StdSuites/Standard_Suite.py
new file mode 100644
index 0000000..444a0f0
--- /dev/null
+++ b/Lib/plat-mac/lib-scriptpackages/StdSuites/Standard_Suite.py
@@ -0,0 +1,711 @@
+"""Suite Standard Suite: Common terms for most applications
+Level 1, version 1
+
+Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
+AETE/AEUT resource version 1/0, language 0, script 0
+"""
+
+import aetools
+import MacOS
+
+_code = 'core'
+
+from _builtinSuites.builtin_Suite import *
+class Standard_Suite_Events(builtin_Suite_Events):
+
+ def open(self, _object, _attributes={}, **_arguments):
+ """open: Open the specified object(s)
+ Required argument: list of objects to open
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'aevt'
+ _subcode = 'odoc'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def run(self, _no_object=None, _attributes={}, **_arguments):
+ """run: Run an application. Most applications will open an empty, untitled window.
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'aevt'
+ _subcode = 'oapp'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def reopen(self, _no_object=None, _attributes={}, **_arguments):
+ """reopen: Reactivate a running application. Some applications will open a new untitled window if no window is open.
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'aevt'
+ _subcode = 'rapp'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def print_(self, _object, _attributes={}, **_arguments):
+ """print: Print the specified object(s)
+ Required argument: list of objects to print
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'aevt'
+ _subcode = 'pdoc'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_quit = {
+ 'saving' : 'savo',
+ }
+
+ def quit(self, _no_object=None, _attributes={}, **_arguments):
+ """quit: Quit an application
+ Keyword argument saving: specifies whether to save currently open documents
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'aevt'
+ _subcode = 'quit'
+
+ aetools.keysubst(_arguments, self._argmap_quit)
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+ aetools.enumsubst(_arguments, 'savo', _Enum_savo)
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_close = {
+ 'saving' : 'savo',
+ 'saving_in' : 'kfil',
+ }
+
+ def close(self, _object, _attributes={}, **_arguments):
+ """close: Close an object
+ Required argument: the object to close
+ Keyword argument saving: specifies whether changes should be saved before closing
+ Keyword argument saving_in: the file in which to save the object
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'core'
+ _subcode = 'clos'
+
+ aetools.keysubst(_arguments, self._argmap_close)
+ _arguments['----'] = _object
+
+ aetools.enumsubst(_arguments, 'savo', _Enum_savo)
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_count = {
+ 'each' : 'kocl',
+ }
+
+ def count(self, _object, _attributes={}, **_arguments):
+ """count: Return the number of elements of an object
+ Required argument: the object whose elements are to be counted
+ Keyword argument each: if specified, restricts counting to objects of this class
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: the number of elements
+ """
+ _code = 'core'
+ _subcode = 'cnte'
+
+ aetools.keysubst(_arguments, self._argmap_count)
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def delete(self, _object, _attributes={}, **_arguments):
+ """delete: Delete an object from its container. Note this does not work on script variables, only on elements of application classes.
+ Required argument: the element to delete
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'core'
+ _subcode = 'delo'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_duplicate = {
+ 'to' : 'insh',
+ 'with_properties' : 'prdt',
+ }
+
+ def duplicate(self, _object, _attributes={}, **_arguments):
+ """duplicate: Duplicate one or more objects
+ Required argument: the object(s) to duplicate
+ Keyword argument to: the new location for the object(s)
+ Keyword argument with_properties: the initial values for properties of the new object that are to be different from the original
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: to the duplicated object(s)
+ """
+ _code = 'core'
+ _subcode = 'clon'
+
+ aetools.keysubst(_arguments, self._argmap_duplicate)
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def exists(self, _object, _attributes={}, **_arguments):
+ """exists: Verify if an object exists
+ Required argument: the object in question
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: true if it exists, false if not
+ """
+ _code = 'core'
+ _subcode = 'doex'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_make = {
+ 'new' : 'kocl',
+ 'at' : 'insh',
+ 'with_data' : 'data',
+ 'with_properties' : 'prdt',
+ }
+
+ def make(self, _no_object=None, _attributes={}, **_arguments):
+ """make: Make a new element
+ Keyword argument new: the class of the new element
+ Keyword argument at: the location at which to insert the element
+ Keyword argument with_data: the initial data for the element
+ Keyword argument with_properties: the initial values for the properties of the element
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: to the new object(s)
+ """
+ _code = 'core'
+ _subcode = 'crel'
+
+ aetools.keysubst(_arguments, self._argmap_make)
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_move = {
+ 'to' : 'insh',
+ }
+
+ def move(self, _object, _attributes={}, **_arguments):
+ """move: Move object(s) to a new location
+ Required argument: the object(s) to move
+ Keyword argument to: the new location for the object(s)
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: to the object(s) after they have been moved
+ """
+ _code = 'core'
+ _subcode = 'move'
+
+ aetools.keysubst(_arguments, self._argmap_move)
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_save = {
+ 'in_' : 'kfil',
+ 'as' : 'fltp',
+ }
+
+ def save(self, _object, _attributes={}, **_arguments):
+ """save: Save an object
+ Required argument: the object to save, usually a document or window
+ Keyword argument in_: the file in which to save the object
+ Keyword argument as: the file type of the document in which to save the data
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'core'
+ _subcode = 'save'
+
+ aetools.keysubst(_arguments, self._argmap_save)
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def select(self, _object, _attributes={}, **_arguments):
+ """select: Make a selection
+ Required argument: the object to select
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'misc'
+ _subcode = 'slct'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_data_size = {
+ 'as' : 'rtyp',
+ }
+
+ def data_size(self, _object, _attributes={}, **_arguments):
+ """data size: (optional) Return the size in bytes of an object
+ Required argument: the object whose data size is to be returned
+ Keyword argument as: the data type for which the size is calculated
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: the size of the object in bytes
+ """
+ _code = 'core'
+ _subcode = 'dsiz'
+
+ aetools.keysubst(_arguments, self._argmap_data_size)
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_suite_info = {
+ 'in_' : 'wrcd',
+ }
+
+ def suite_info(self, _object, _attributes={}, **_arguments):
+ """suite info: (optional) Get information about event suite(s)
+ Required argument: the suite for which to return information
+ Keyword argument in_: the human language and script system in which to return information
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: a record containing the suites and their versions
+ """
+ _code = 'core'
+ _subcode = 'gtsi'
+
+ aetools.keysubst(_arguments, self._argmap_suite_info)
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_event_info = {
+ 'in_' : 'wrcd',
+ }
+
+ def event_info(self, _object, _attributes={}, **_arguments):
+ """event info: (optional) Get information about the Apple events in a suite
+ Required argument: the event class of the Apple events for which to return information
+ Keyword argument in_: the human language and script system in which to return information
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: a record containing the events and their parameters
+ """
+ _code = 'core'
+ _subcode = 'gtei'
+
+ aetools.keysubst(_arguments, self._argmap_event_info)
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_class_info = {
+ 'in_' : 'wrcd',
+ }
+
+ def class_info(self, _object=None, _attributes={}, **_arguments):
+ """class info: (optional) Get information about an object class
+ Required argument: the object class about which information is requested
+ Keyword argument in_: the human language and script system in which to return information
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: a record containing the object\xd5s properties and elements
+ """
+ _code = 'core'
+ _subcode = 'qobj'
+
+ aetools.keysubst(_arguments, self._argmap_class_info)
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+
+class application(aetools.ComponentItem):
+ """application - An application program """
+ want = 'capp'
+class name(aetools.NProperty):
+ """name - the name of the application """
+ which = 'pnam'
+ want = 'itxt'
+class frontmost(aetools.NProperty):
+ """frontmost - Is this the frontmost application? """
+ which = 'pisf'
+ want = 'bool'
+class selection(aetools.NProperty):
+ """selection - the selection visible to the user. Use the \xd4select\xd5 command to set a new selection; use \xd4contents of selection\xd5 to get or change information in the document. """
+ which = 'sele'
+ want = 'csel'
+class clipboard(aetools.NProperty):
+ """clipboard - the contents of the clipboard for this application """
+ which = 'pcli'
+ want = '****'
+class version(aetools.NProperty):
+ """version - the version of the application """
+ which = 'vers'
+ want = 'vers'
+
+applications = application
+
+class document(aetools.ComponentItem):
+ """document - A document of a scriptable application """
+ want = 'docu'
+class modified(aetools.NProperty):
+ """modified - Has the document been modified since the last save? """
+ which = 'imod'
+ want = 'bool'
+
+documents = document
+
+class file(aetools.ComponentItem):
+ """file - a file on a disk or server (or a file yet to be created) """
+ want = 'file'
+class stationery(aetools.NProperty):
+ """stationery - Is the file a stationery file? """
+ which = 'pspd'
+ want = 'bool'
+
+files = file
+
+class alias(aetools.ComponentItem):
+ """alias - a file on a disk or server. The file must exist when you check the syntax of your script. """
+ want = 'alis'
+
+aliases = alias
+
+class selection_2d_object(aetools.ComponentItem):
+ """selection-object - A way to refer to the state of the current of the selection. Use the \xd4select\xd5 command to make a new selection. """
+ want = 'csel'
+class contents(aetools.NProperty):
+ """contents - the information currently selected. Use \xd4contents of selection\xd5 to get or change information in a document. """
+ which = 'pcnt'
+ want = '****'
+
+class window(aetools.ComponentItem):
+ """window - A window """
+ want = 'cwin'
+class bounds(aetools.NProperty):
+ """bounds - the boundary rectangle for the window """
+ which = 'pbnd'
+ want = 'qdrt'
+class closeable(aetools.NProperty):
+ """closeable - Does the window have a close box? """
+ which = 'hclb'
+ want = 'bool'
+class titled(aetools.NProperty):
+ """titled - Does the window have a title bar? """
+ which = 'ptit'
+ want = 'bool'
+class index(aetools.NProperty):
+ """index - the number of the window """
+ which = 'pidx'
+ want = 'long'
+class floating(aetools.NProperty):
+ """floating - Does the window float? """
+ which = 'isfl'
+ want = 'bool'
+class modal(aetools.NProperty):
+ """modal - Is the window modal? """
+ which = 'pmod'
+ want = 'bool'
+class resizable(aetools.NProperty):
+ """resizable - Is the window resizable? """
+ which = 'prsz'
+ want = 'bool'
+class zoomable(aetools.NProperty):
+ """zoomable - Is the window zoomable? """
+ which = 'iszm'
+ want = 'bool'
+class zoomed(aetools.NProperty):
+ """zoomed - Is the window zoomed? """
+ which = 'pzum'
+ want = 'bool'
+class visible(aetools.NProperty):
+ """visible - Is the window visible? """
+ which = 'pvis'
+ want = 'bool'
+
+windows = window
+
+class insertion_point(aetools.ComponentItem):
+ """insertion point - An insertion location between two objects """
+ want = 'cins'
+
+insertion_points = insertion_point
+application._superclassnames = []
+application._privpropdict = {
+ 'name' : name,
+ 'frontmost' : frontmost,
+ 'selection' : selection,
+ 'clipboard' : clipboard,
+ 'version' : version,
+}
+application._privelemdict = {
+}
+document._superclassnames = []
+document._privpropdict = {
+ 'modified' : modified,
+}
+document._privelemdict = {
+}
+file._superclassnames = []
+file._privpropdict = {
+ 'stationery' : stationery,
+}
+file._privelemdict = {
+}
+alias._superclassnames = []
+alias._privpropdict = {
+}
+alias._privelemdict = {
+}
+selection_2d_object._superclassnames = []
+selection_2d_object._privpropdict = {
+ 'contents' : contents,
+}
+selection_2d_object._privelemdict = {
+}
+window._superclassnames = []
+window._privpropdict = {
+ 'bounds' : bounds,
+ 'closeable' : closeable,
+ 'titled' : titled,
+ 'index' : index,
+ 'floating' : floating,
+ 'modal' : modal,
+ 'resizable' : resizable,
+ 'zoomable' : zoomable,
+ 'zoomed' : zoomed,
+ 'visible' : visible,
+}
+window._privelemdict = {
+}
+insertion_point._superclassnames = []
+insertion_point._privpropdict = {
+}
+insertion_point._privelemdict = {
+}
+class starts_with(aetools.NComparison):
+ """starts with - Starts with """
+class contains(aetools.NComparison):
+ """contains - Contains """
+class ends_with(aetools.NComparison):
+ """ends with - Ends with """
+class _3d_(aetools.NComparison):
+ """= - Equal """
+class _3e_(aetools.NComparison):
+ """> - Greater than """
+class _b3_(aetools.NComparison):
+ """\xb3 - Greater than or equal to """
+class _3c_(aetools.NComparison):
+ """< - Less than """
+class _b2_(aetools.NComparison):
+ """\xb2 - Less than or equal to """
+_Enum_savo = {
+ 'yes' : 'yes ', # Save objects now
+ 'no' : 'no ', # Do not save objects
+ 'ask' : 'ask ', # Ask the user whether to save
+}
+
+_Enum_kfrm = {
+ 'index' : 'indx', # keyform designating indexed access
+ 'named' : 'name', # keyform designating named access
+ 'id' : 'ID ', # keyform designating access by unique identifier
+}
+
+_Enum_styl = {
+ 'plain' : 'plan', # Plain
+ 'bold' : 'bold', # Bold
+ 'italic' : 'ital', # Italic
+ 'outline' : 'outl', # Outline
+ 'shadow' : 'shad', # Shadow
+ 'underline' : 'undl', # Underline
+ 'superscript' : 'spsc', # Superscript
+ 'subscript' : 'sbsc', # Subscript
+ 'strikethrough' : 'strk', # Strikethrough
+ 'small_caps' : 'smcp', # Small caps
+ 'all_caps' : 'alcp', # All capital letters
+ 'all_lowercase' : 'lowc', # Lowercase
+ 'condensed' : 'cond', # Condensed
+ 'expanded' : 'pexp', # Expanded
+ 'hidden' : 'hidn', # Hidden
+}
+
+
+#
+# Indices of types declared in this module
+#
+_classdeclarations = {
+ 'cwin' : window,
+ 'file' : file,
+ 'csel' : selection_2d_object,
+ 'alis' : alias,
+ 'capp' : application,
+ 'cins' : insertion_point,
+ 'docu' : document,
+}
+
+_propdeclarations = {
+ 'prsz' : resizable,
+ 'vers' : version,
+ 'pidx' : index,
+ 'pvis' : visible,
+ 'imod' : modified,
+ 'pbnd' : bounds,
+ 'sele' : selection,
+ 'pisf' : frontmost,
+ 'pspd' : stationery,
+ 'isfl' : floating,
+ 'iszm' : zoomable,
+ 'hclb' : closeable,
+ 'pcli' : clipboard,
+ 'pmod' : modal,
+ 'pcnt' : contents,
+ 'pnam' : name,
+ 'pzum' : zoomed,
+ 'ptit' : titled,
+}
+
+_compdeclarations = {
+ '< ' : _3c_,
+ 'ends' : ends_with,
+ '>= ' : _b3_,
+ 'cont' : contains,
+ '<= ' : _b2_,
+ '= ' : _3d_,
+ 'bgwt' : starts_with,
+ '> ' : _3e_,
+}
+
+_enumdeclarations = {
+ 'savo' : _Enum_savo,
+ 'styl' : _Enum_styl,
+ 'kfrm' : _Enum_kfrm,
+}
diff --git a/Lib/plat-mac/lib-scriptpackages/StdSuites/Table_Suite.py b/Lib/plat-mac/lib-scriptpackages/StdSuites/Table_Suite.py
new file mode 100644
index 0000000..cfeee32
--- /dev/null
+++ b/Lib/plat-mac/lib-scriptpackages/StdSuites/Table_Suite.py
@@ -0,0 +1,104 @@
+"""Suite Table Suite: Classes for manipulating tables
+Level 1, version 1
+
+Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
+AETE/AEUT resource version 1/0, language 0, script 0
+"""
+
+import aetools
+import MacOS
+
+_code = 'tbls'
+
+class Table_Suite_Events:
+
+ pass
+
+
+class cell(aetools.ComponentItem):
+ """cell - A cell """
+ want = 'ccel'
+class formula(aetools.NProperty):
+ """formula - the formula of the cell """
+ which = 'pfor'
+ want = 'ctxt'
+class protection(aetools.NProperty):
+ """protection - Indicates whether value or formula in the cell can be changed """
+ which = 'ppro'
+ want = 'prtn'
+
+cells = cell
+
+class column(aetools.ComponentItem):
+ """column - A column """
+ want = 'ccol'
+class name(aetools.NProperty):
+ """name - the name of the column """
+ which = 'pnam'
+ want = 'itxt'
+
+columns = column
+
+class row(aetools.ComponentItem):
+ """row - A row """
+ want = 'crow'
+
+rows = row
+
+class table(aetools.ComponentItem):
+ """table - A table """
+ want = 'ctbl'
+
+tables = table
+cell._superclassnames = []
+cell._privpropdict = {
+ 'formula' : formula,
+ 'protection' : protection,
+}
+cell._privelemdict = {
+}
+column._superclassnames = []
+column._privpropdict = {
+ 'name' : name,
+}
+column._privelemdict = {
+}
+row._superclassnames = []
+row._privpropdict = {
+}
+row._privelemdict = {
+}
+table._superclassnames = []
+table._privpropdict = {
+}
+table._privelemdict = {
+}
+_Enum_prtn = {
+ 'read_only' : 'nmod', # Can\xd5t change values or formulas
+ 'formulas_protected' : 'fpro', # Can changes values but not formulas
+ 'read_2f_write' : 'modf', # Can change values and formulas
+}
+
+
+#
+# Indices of types declared in this module
+#
+_classdeclarations = {
+ 'ccel' : cell,
+ 'ccol' : column,
+ 'ctbl' : table,
+ 'crow' : row,
+}
+
+_propdeclarations = {
+ 'pnam' : name,
+ 'pfor' : formula,
+ 'ppro' : protection,
+}
+
+_compdeclarations = {
+}
+
+_enumdeclarations = {
+ 'prtn' : _Enum_prtn,
+}
diff --git a/Lib/plat-mac/lib-scriptpackages/StdSuites/Text_Suite.py b/Lib/plat-mac/lib-scriptpackages/StdSuites/Text_Suite.py
new file mode 100644
index 0000000..9b7f5d5
--- /dev/null
+++ b/Lib/plat-mac/lib-scriptpackages/StdSuites/Text_Suite.py
@@ -0,0 +1,218 @@
+"""Suite Text Suite: A set of basic classes for text processing
+Level 1, version 1
+
+Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
+AETE/AEUT resource version 1/0, language 0, script 0
+"""
+
+import aetools
+import MacOS
+
+_code = 'TEXT'
+
+class Text_Suite_Events:
+
+ pass
+
+
+class character(aetools.ComponentItem):
+ """character - A character """
+ want = 'cha '
+class _3c_inheritance_3e_(aetools.NProperty):
+ """<inheritance> - inherits some of its properties from this class """
+ which = 'c@#^'
+ want = 'ctxt'
+
+class line(aetools.ComponentItem):
+ """line - A line of text """
+ want = 'clin'
+class justification(aetools.NProperty):
+ """justification - the justification of the text """
+ which = 'pjst'
+ want = 'just'
+
+lines = line
+
+class paragraph(aetools.ComponentItem):
+ """paragraph - A paragraph """
+ want = 'cpar'
+
+paragraphs = paragraph
+
+class text(aetools.ComponentItem):
+ """text - Text """
+ want = 'ctxt'
+class color(aetools.NProperty):
+ """color - the color of the first character """
+ which = 'colr'
+ want = 'cRGB'
+class font(aetools.NProperty):
+ """font - the name of the font of the first character """
+ which = 'font'
+ want = 'ctxt'
+class size(aetools.NProperty):
+ """size - the size in points of the first character """
+ which = 'ptsz'
+ want = 'fixd'
+class writing_code(aetools.NProperty):
+ """writing code - the script system and language """
+ which = 'psct'
+ want = 'intl'
+class style(aetools.NProperty):
+ """style - the text style of the first character of the first character """
+ which = 'txst'
+ want = 'tsty'
+class uniform_styles(aetools.NProperty):
+ """uniform styles - the text styles that are uniform throughout the text """
+ which = 'ustl'
+ want = 'tsty'
+# element 'cha ' as ['indx']
+# element 'clin' as ['indx']
+# element 'cpar' as ['indx']
+# element 'ctxt' as ['indx']
+# element 'cwor' as ['indx']
+
+class text_flow(aetools.ComponentItem):
+ """text flow - A contiguous block of text. Page layout applications call this a \xd4story.\xd5 """
+ want = 'cflo'
+class name(aetools.NProperty):
+ """name - the name """
+ which = 'pnam'
+ want = 'itxt'
+
+text_flows = text_flow
+
+class text_style_info(aetools.ComponentItem):
+ """text style info - On and Off styles of text run """
+ want = 'tsty'
+class on_styles(aetools.NProperty):
+ """on styles - the styles that are on for the text """
+ which = 'onst'
+ want = 'styl'
+class off_styles(aetools.NProperty):
+ """off styles - the styles that are off for the text """
+ which = 'ofst'
+ want = 'styl'
+
+text_style_infos = text_style_info
+
+class word(aetools.ComponentItem):
+ """word - A word """
+ want = 'cwor'
+
+words = word
+character._superclassnames = ['text']
+character._privpropdict = {
+ '_3c_inheritance_3e_' : _3c_inheritance_3e_,
+}
+character._privelemdict = {
+}
+line._superclassnames = ['text']
+line._privpropdict = {
+ '_3c_inheritance_3e_' : _3c_inheritance_3e_,
+ 'justification' : justification,
+}
+line._privelemdict = {
+}
+paragraph._superclassnames = ['text']
+paragraph._privpropdict = {
+ '_3c_inheritance_3e_' : _3c_inheritance_3e_,
+}
+paragraph._privelemdict = {
+}
+text._superclassnames = []
+text._privpropdict = {
+ 'color' : color,
+ 'font' : font,
+ 'size' : size,
+ 'writing_code' : writing_code,
+ 'style' : style,
+ 'uniform_styles' : uniform_styles,
+}
+text._privelemdict = {
+ 'character' : character,
+ 'line' : line,
+ 'paragraph' : paragraph,
+ 'text' : text,
+ 'word' : word,
+}
+text_flow._superclassnames = ['text']
+text_flow._privpropdict = {
+ '_3c_inheritance_3e_' : _3c_inheritance_3e_,
+ 'name' : name,
+}
+text_flow._privelemdict = {
+}
+text_style_info._superclassnames = []
+text_style_info._privpropdict = {
+ 'on_styles' : on_styles,
+ 'off_styles' : off_styles,
+}
+text_style_info._privelemdict = {
+}
+word._superclassnames = ['text']
+word._privpropdict = {
+ '_3c_inheritance_3e_' : _3c_inheritance_3e_,
+}
+word._privelemdict = {
+}
+_Enum_just = {
+ 'left' : 'left', # Align with left margin
+ 'right' : 'rght', # Align with right margin
+ 'center' : 'cent', # Align with center
+ 'full' : 'full', # Align with both left and right margins
+}
+
+_Enum_styl = {
+ 'plain' : 'plan', # Plain
+ 'bold' : 'bold', # Bold
+ 'italic' : 'ital', # Italic
+ 'outline' : 'outl', # Outline
+ 'shadow' : 'shad', # Shadow
+ 'underline' : 'undl', # Underline
+ 'superscript' : 'spsc', # Superscript
+ 'subscript' : 'sbsc', # Subscript
+ 'strikethrough' : 'strk', # Strikethrough
+ 'small_caps' : 'smcp', # Small caps
+ 'all_caps' : 'alcp', # All capital letters
+ 'all_lowercase' : 'lowc', # Lowercase
+ 'condensed' : 'cond', # Condensed
+ 'expanded' : 'pexp', # Expanded
+ 'hidden' : 'hidn', # Hidden
+}
+
+
+#
+# Indices of types declared in this module
+#
+_classdeclarations = {
+ 'cpar' : paragraph,
+ 'cha ' : character,
+ 'cflo' : text_flow,
+ 'tsty' : text_style_info,
+ 'clin' : line,
+ 'cwor' : word,
+ 'ctxt' : text,
+}
+
+_propdeclarations = {
+ 'ptsz' : size,
+ 'ofst' : off_styles,
+ 'pjst' : justification,
+ 'colr' : color,
+ 'txst' : style,
+ 'psct' : writing_code,
+ 'ustl' : uniform_styles,
+ 'c@#^' : _3c_inheritance_3e_,
+ 'pnam' : name,
+ 'font' : font,
+ 'onst' : on_styles,
+}
+
+_compdeclarations = {
+}
+
+_enumdeclarations = {
+ 'styl' : _Enum_styl,
+ 'just' : _Enum_just,
+}
diff --git a/Lib/plat-mac/lib-scriptpackages/StdSuites/Type_Names_Suite.py b/Lib/plat-mac/lib-scriptpackages/StdSuites/Type_Names_Suite.py
new file mode 100644
index 0000000..939c6ee
--- /dev/null
+++ b/Lib/plat-mac/lib-scriptpackages/StdSuites/Type_Names_Suite.py
@@ -0,0 +1,440 @@
+"""Suite Type Names Suite: Terminology for Registry data types
+Level 1, version 1
+
+Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
+AETE/AEUT resource version 1/0, language 0, script 0
+"""
+
+import aetools
+import MacOS
+
+_code = 'tpnm'
+
+class Type_Names_Suite_Events:
+
+ pass
+
+
+class type_class_info(aetools.ComponentItem):
+ """type class info - information about properties and elements of a class """
+ want = 'gcli'
+
+class type_event_info(aetools.ComponentItem):
+ """type event info - information about an event """
+ want = 'evin'
+
+class plain_text(aetools.ComponentItem):
+ """plain text - """
+ want = 'TEXT'
+
+plain_text = plain_text
+
+string = plain_text
+
+class bounding_rectangle(aetools.ComponentItem):
+ """bounding rectangle - bounding rectangle """
+ want = 'qdrt'
+
+class point(aetools.ComponentItem):
+ """point - point coordinates """
+ want = 'QDpt'
+
+class fixed(aetools.ComponentItem):
+ """fixed - a real number """
+ want = 'fixd'
+
+class location_reference(aetools.ComponentItem):
+ """location reference - """
+ want = 'insl'
+
+class application_dictionary(aetools.ComponentItem):
+ """application dictionary - """
+ want = 'aete'
+
+class color_table(aetools.ComponentItem):
+ """color table - """
+ want = 'clrt'
+
+class dash_style(aetools.ComponentItem):
+ """dash style - """
+ want = 'tdas'
+
+class double_integer(aetools.ComponentItem):
+ """double integer - """
+ want = 'comp'
+
+class extended_real(aetools.ComponentItem):
+ """extended real - """
+ want = 'exte'
+
+class fixed_point(aetools.ComponentItem):
+ """fixed point - """
+ want = 'fpnt'
+
+class fixed_rectangle(aetools.ComponentItem):
+ """fixed rectangle - """
+ want = 'frct'
+
+class long_fixed(aetools.ComponentItem):
+ """long fixed - """
+ want = 'lfxd'
+
+class long_fixed_point(aetools.ComponentItem):
+ """long fixed point - """
+ want = 'lfpt'
+
+class long_fixed_rectangle(aetools.ComponentItem):
+ """long fixed rectangle - """
+ want = 'lfrc'
+
+class long_point(aetools.ComponentItem):
+ """long point - """
+ want = 'lpnt'
+
+class long_rectangle(aetools.ComponentItem):
+ """long rectangle - """
+ want = 'lrct'
+
+class machine_location(aetools.ComponentItem):
+ """machine location - """
+ want = 'mLoc'
+
+class menu(aetools.ComponentItem):
+ """menu - """
+ want = 'cmnu'
+
+class menu_item(aetools.ComponentItem):
+ """menu item - """
+ want = 'cmen'
+
+class null(aetools.ComponentItem):
+ """null - """
+ want = 'null'
+
+class pixel_map_record(aetools.ComponentItem):
+ """pixel map record - """
+ want = 'tpmm'
+
+class PostScript_picture(aetools.ComponentItem):
+ """PostScript picture - """
+ want = 'EPS '
+
+class RGB16_color(aetools.ComponentItem):
+ """RGB16 color - """
+ want = 'tr16'
+
+class RGB96_color(aetools.ComponentItem):
+ """RGB96 color - """
+ want = 'tr96'
+
+class small_integer(aetools.ComponentItem):
+ """small integer - """
+ want = 'shor'
+
+class small_real(aetools.ComponentItem):
+ """small real - """
+ want = 'sing'
+
+class system_dictionary(aetools.ComponentItem):
+ """system dictionary - """
+ want = 'aeut'
+
+class rotation(aetools.ComponentItem):
+ """rotation - """
+ want = 'trot'
+
+class scrap_styles(aetools.ComponentItem):
+ """scrap styles - """
+ want = 'styl'
+
+class TIFF_picture(aetools.ComponentItem):
+ """TIFF picture - """
+ want = 'TIFF'
+
+class version(aetools.ComponentItem):
+ """version - """
+ want = 'vers'
+
+class unsigned_integer(aetools.ComponentItem):
+ """unsigned integer - """
+ want = 'magn'
+
+class type_property_info(aetools.ComponentItem):
+ """type property info - """
+ want = 'pinf'
+
+class type_element_info(aetools.ComponentItem):
+ """type element info - """
+ want = 'elin'
+
+class type_parameter_info(aetools.ComponentItem):
+ """type parameter info - """
+ want = 'pmin'
+
+class type_suite_info(aetools.ComponentItem):
+ """type suite info - """
+ want = 'suin'
+
+class target_id(aetools.ComponentItem):
+ """target id - """
+ want = 'targ'
+type_class_info._superclassnames = []
+type_class_info._privpropdict = {
+}
+type_class_info._privelemdict = {
+}
+type_event_info._superclassnames = []
+type_event_info._privpropdict = {
+}
+type_event_info._privelemdict = {
+}
+plain_text._superclassnames = []
+plain_text._privpropdict = {
+}
+plain_text._privelemdict = {
+}
+plain_text._superclassnames = []
+plain_text._privpropdict = {
+}
+plain_text._privelemdict = {
+}
+bounding_rectangle._superclassnames = []
+bounding_rectangle._privpropdict = {
+}
+bounding_rectangle._privelemdict = {
+}
+point._superclassnames = []
+point._privpropdict = {
+}
+point._privelemdict = {
+}
+fixed._superclassnames = []
+fixed._privpropdict = {
+}
+fixed._privelemdict = {
+}
+location_reference._superclassnames = []
+location_reference._privpropdict = {
+}
+location_reference._privelemdict = {
+}
+application_dictionary._superclassnames = []
+application_dictionary._privpropdict = {
+}
+application_dictionary._privelemdict = {
+}
+color_table._superclassnames = []
+color_table._privpropdict = {
+}
+color_table._privelemdict = {
+}
+dash_style._superclassnames = []
+dash_style._privpropdict = {
+}
+dash_style._privelemdict = {
+}
+double_integer._superclassnames = []
+double_integer._privpropdict = {
+}
+double_integer._privelemdict = {
+}
+extended_real._superclassnames = []
+extended_real._privpropdict = {
+}
+extended_real._privelemdict = {
+}
+fixed_point._superclassnames = []
+fixed_point._privpropdict = {
+}
+fixed_point._privelemdict = {
+}
+fixed_rectangle._superclassnames = []
+fixed_rectangle._privpropdict = {
+}
+fixed_rectangle._privelemdict = {
+}
+long_fixed._superclassnames = []
+long_fixed._privpropdict = {
+}
+long_fixed._privelemdict = {
+}
+long_fixed_point._superclassnames = []
+long_fixed_point._privpropdict = {
+}
+long_fixed_point._privelemdict = {
+}
+long_fixed_rectangle._superclassnames = []
+long_fixed_rectangle._privpropdict = {
+}
+long_fixed_rectangle._privelemdict = {
+}
+long_point._superclassnames = []
+long_point._privpropdict = {
+}
+long_point._privelemdict = {
+}
+long_rectangle._superclassnames = []
+long_rectangle._privpropdict = {
+}
+long_rectangle._privelemdict = {
+}
+machine_location._superclassnames = []
+machine_location._privpropdict = {
+}
+machine_location._privelemdict = {
+}
+menu._superclassnames = []
+menu._privpropdict = {
+}
+menu._privelemdict = {
+}
+menu_item._superclassnames = []
+menu_item._privpropdict = {
+}
+menu_item._privelemdict = {
+}
+null._superclassnames = []
+null._privpropdict = {
+}
+null._privelemdict = {
+}
+pixel_map_record._superclassnames = []
+pixel_map_record._privpropdict = {
+}
+pixel_map_record._privelemdict = {
+}
+PostScript_picture._superclassnames = []
+PostScript_picture._privpropdict = {
+}
+PostScript_picture._privelemdict = {
+}
+RGB16_color._superclassnames = []
+RGB16_color._privpropdict = {
+}
+RGB16_color._privelemdict = {
+}
+RGB96_color._superclassnames = []
+RGB96_color._privpropdict = {
+}
+RGB96_color._privelemdict = {
+}
+small_integer._superclassnames = []
+small_integer._privpropdict = {
+}
+small_integer._privelemdict = {
+}
+small_real._superclassnames = []
+small_real._privpropdict = {
+}
+small_real._privelemdict = {
+}
+system_dictionary._superclassnames = []
+system_dictionary._privpropdict = {
+}
+system_dictionary._privelemdict = {
+}
+rotation._superclassnames = []
+rotation._privpropdict = {
+}
+rotation._privelemdict = {
+}
+scrap_styles._superclassnames = []
+scrap_styles._privpropdict = {
+}
+scrap_styles._privelemdict = {
+}
+TIFF_picture._superclassnames = []
+TIFF_picture._privpropdict = {
+}
+TIFF_picture._privelemdict = {
+}
+version._superclassnames = []
+version._privpropdict = {
+}
+version._privelemdict = {
+}
+unsigned_integer._superclassnames = []
+unsigned_integer._privpropdict = {
+}
+unsigned_integer._privelemdict = {
+}
+type_property_info._superclassnames = []
+type_property_info._privpropdict = {
+}
+type_property_info._privelemdict = {
+}
+type_element_info._superclassnames = []
+type_element_info._privpropdict = {
+}
+type_element_info._privelemdict = {
+}
+type_parameter_info._superclassnames = []
+type_parameter_info._privpropdict = {
+}
+type_parameter_info._privelemdict = {
+}
+type_suite_info._superclassnames = []
+type_suite_info._privpropdict = {
+}
+type_suite_info._privelemdict = {
+}
+target_id._superclassnames = []
+target_id._privpropdict = {
+}
+target_id._privelemdict = {
+}
+
+#
+# Indices of types declared in this module
+#
+_classdeclarations = {
+ 'shor' : small_integer,
+ 'tr16' : RGB16_color,
+ 'vers' : version,
+ 'aeut' : system_dictionary,
+ 'clrt' : color_table,
+ 'fpnt' : fixed_point,
+ 'TEXT' : plain_text,
+ 'elin' : type_element_info,
+ 'insl' : location_reference,
+ 'mLoc' : machine_location,
+ 'EPS ' : PostScript_picture,
+ 'QDpt' : point,
+ 'cmen' : menu_item,
+ 'tpmm' : pixel_map_record,
+ 'aete' : application_dictionary,
+ 'magn' : unsigned_integer,
+ 'cmnu' : menu,
+ 'frct' : fixed_rectangle,
+ 'lfrc' : long_fixed_rectangle,
+ 'evin' : type_event_info,
+ 'sing' : small_real,
+ 'suin' : type_suite_info,
+ 'trot' : rotation,
+ 'pmin' : type_parameter_info,
+ 'fixd' : fixed,
+ 'styl' : scrap_styles,
+ 'lpnt' : long_point,
+ 'gcli' : type_class_info,
+ 'TIFF' : TIFF_picture,
+ 'tr96' : RGB96_color,
+ 'tdas' : dash_style,
+ 'exte' : extended_real,
+ 'pinf' : type_property_info,
+ 'lfpt' : long_fixed_point,
+ 'lrct' : long_rectangle,
+ 'qdrt' : bounding_rectangle,
+ 'comp' : double_integer,
+ 'lfxd' : long_fixed,
+ 'null' : null,
+ 'targ' : target_id,
+}
+
+_propdeclarations = {
+}
+
+_compdeclarations = {
+}
+
+_enumdeclarations = {
+}
diff --git a/Lib/plat-mac/lib-scriptpackages/StdSuites/__init__.py b/Lib/plat-mac/lib-scriptpackages/StdSuites/__init__.py
new file mode 100644
index 0000000..09667f8
--- /dev/null
+++ b/Lib/plat-mac/lib-scriptpackages/StdSuites/__init__.py
@@ -0,0 +1,469 @@
+"""
+Package generated from /Volumes/Sap/System Folder/Extensions/AppleScript
+Resource aeut resid 0 Standard Event Suites for English
+"""
+import aetools
+Error = aetools.Error
+import AppleScript_Suite
+import Required_Suite
+import Standard_Suite
+import Text_Suite
+import QuickDraw_Graphics_Suite
+import QuickDraw_Graphics_Suppleme
+import Table_Suite
+import Macintosh_Connectivity_Clas
+import Type_Names_Suite
+
+
+_code_to_module = {
+ 'ascr' : AppleScript_Suite,
+ 'reqd' : Required_Suite,
+ 'core' : Standard_Suite,
+ 'TEXT' : Text_Suite,
+ 'qdrw' : QuickDraw_Graphics_Suite,
+ 'qdsp' : QuickDraw_Graphics_Suppleme,
+ 'tbls' : Table_Suite,
+ 'macc' : Macintosh_Connectivity_Clas,
+ 'tpnm' : Type_Names_Suite,
+}
+
+
+
+_code_to_fullname = {
+ 'ascr' : ('StdSuites.AppleScript_Suite', 'AppleScript_Suite'),
+ 'reqd' : ('StdSuites.Required_Suite', 'Required_Suite'),
+ 'core' : ('StdSuites.Standard_Suite', 'Standard_Suite'),
+ 'TEXT' : ('StdSuites.Text_Suite', 'Text_Suite'),
+ 'qdrw' : ('StdSuites.QuickDraw_Graphics_Suite', 'QuickDraw_Graphics_Suite'),
+ 'qdsp' : ('StdSuites.QuickDraw_Graphics_Suppleme', 'QuickDraw_Graphics_Suppleme'),
+ 'tbls' : ('StdSuites.Table_Suite', 'Table_Suite'),
+ 'macc' : ('StdSuites.Macintosh_Connectivity_Clas', 'Macintosh_Connectivity_Clas'),
+ 'tpnm' : ('StdSuites.Type_Names_Suite', 'Type_Names_Suite'),
+}
+
+from AppleScript_Suite import *
+from Required_Suite import *
+from Standard_Suite import *
+from Text_Suite import *
+from QuickDraw_Graphics_Suite import *
+from QuickDraw_Graphics_Suppleme import *
+from Table_Suite import *
+from Macintosh_Connectivity_Clas import *
+from Type_Names_Suite import *
+def getbaseclasses(v):
+ if hasattr(v, '_superclassnames') and not hasattr(v, '_propdict'):
+ v._propdict = {}
+ v._elemdict = {}
+ for superclass in v._superclassnames:
+ v._propdict.update(getattr(eval(superclass), '_privpropdict', {}))
+ v._elemdict.update(getattr(eval(superclass), '_privelemdict', {}))
+ v._propdict.update(v._privpropdict)
+ v._elemdict.update(v._privelemdict)
+
+import StdSuites
+
+#
+# Set property and element dictionaries now that all classes have been defined
+#
+getbaseclasses(July)
+getbaseclasses(May)
+getbaseclasses(string)
+getbaseclasses(cubic_metres)
+getbaseclasses(styled_text)
+getbaseclasses(number_2c__date_or_text)
+getbaseclasses(feet)
+getbaseclasses(February)
+getbaseclasses(number)
+getbaseclasses(miles)
+getbaseclasses(keystroke)
+getbaseclasses(writing_code)
+getbaseclasses(degrees_Fahrenheit)
+getbaseclasses(list_2c__record_or_text)
+getbaseclasses(date)
+getbaseclasses(litres)
+getbaseclasses(number_or_date)
+getbaseclasses(centimetres)
+getbaseclasses(event)
+getbaseclasses(Pascal_string)
+getbaseclasses(zone)
+getbaseclasses(picture)
+getbaseclasses(list_or_string)
+getbaseclasses(integer)
+getbaseclasses(alias_or_string)
+getbaseclasses(writing_code_info)
+getbaseclasses(text_item)
+getbaseclasses(machine)
+getbaseclasses(type_class)
+getbaseclasses(preposition)
+getbaseclasses(Tuesday)
+getbaseclasses(upper_case)
+getbaseclasses(version)
+getbaseclasses(Wednesday)
+getbaseclasses(December)
+getbaseclasses(square_kilometres)
+getbaseclasses(reference)
+getbaseclasses(vector)
+getbaseclasses(weekday)
+getbaseclasses(RGB_color)
+getbaseclasses(Sunday)
+getbaseclasses(international_text)
+getbaseclasses(seconds)
+getbaseclasses(March)
+getbaseclasses(kilometres)
+getbaseclasses(square_feet)
+getbaseclasses(list)
+getbaseclasses(real)
+getbaseclasses(November)
+getbaseclasses(quarts)
+getbaseclasses(degrees_Celsius)
+getbaseclasses(missing_value)
+getbaseclasses(alias)
+getbaseclasses(January)
+getbaseclasses(metres)
+getbaseclasses(month)
+getbaseclasses(number_or_string)
+getbaseclasses(June)
+getbaseclasses(August)
+getbaseclasses(linked_list)
+getbaseclasses(styled_Clipboard_text)
+getbaseclasses(encoded_string)
+getbaseclasses(gallons)
+getbaseclasses(cubic_inches)
+getbaseclasses(Friday)
+getbaseclasses(styled_Unicode_text)
+getbaseclasses(list_or_record)
+getbaseclasses(degrees_Kelvin)
+getbaseclasses(Monday)
+getbaseclasses(sound)
+getbaseclasses(class_)
+getbaseclasses(kilograms)
+getbaseclasses(script)
+getbaseclasses(anything)
+getbaseclasses(property)
+getbaseclasses(record)
+getbaseclasses(boolean)
+getbaseclasses(October)
+getbaseclasses(square_metres)
+getbaseclasses(inches)
+getbaseclasses(reference_form)
+getbaseclasses(item)
+getbaseclasses(grams)
+getbaseclasses(character)
+getbaseclasses(April)
+getbaseclasses(empty_ae_name_)
+getbaseclasses(app)
+getbaseclasses(constant)
+getbaseclasses(handler)
+getbaseclasses(square_miles)
+getbaseclasses(data)
+getbaseclasses(C_string)
+getbaseclasses(Unicode_text)
+getbaseclasses(Thursday)
+getbaseclasses(square_yards)
+getbaseclasses(yards)
+getbaseclasses(cubic_yards)
+getbaseclasses(ounces)
+getbaseclasses(pounds)
+getbaseclasses(cubic_feet)
+getbaseclasses(cubic_centimetres)
+getbaseclasses(Saturday)
+getbaseclasses(September)
+getbaseclasses(file_specification)
+getbaseclasses(text)
+getbaseclasses(window)
+getbaseclasses(file)
+getbaseclasses(selection_2d_object)
+getbaseclasses(alias)
+getbaseclasses(application)
+getbaseclasses(insertion_point)
+getbaseclasses(document)
+getbaseclasses(paragraph)
+getbaseclasses(character)
+getbaseclasses(text_flow)
+getbaseclasses(text_style_info)
+getbaseclasses(line)
+getbaseclasses(word)
+getbaseclasses(text)
+getbaseclasses(graphic_group)
+getbaseclasses(oval)
+getbaseclasses(graphic_text)
+getbaseclasses(graphic_shape)
+getbaseclasses(graphic_line)
+getbaseclasses(graphic_object)
+getbaseclasses(drawing_area)
+getbaseclasses(polygon)
+getbaseclasses(pixel)
+getbaseclasses(rounded_rectangle)
+getbaseclasses(arc)
+getbaseclasses(pixel_map)
+getbaseclasses(rectangle)
+getbaseclasses(graphic_group)
+getbaseclasses(drawing_area)
+getbaseclasses(cell)
+getbaseclasses(column)
+getbaseclasses(table)
+getbaseclasses(row)
+getbaseclasses(AppleTalk_address)
+getbaseclasses(address_specification)
+getbaseclasses(Token_Ring_address)
+getbaseclasses(FireWire_address)
+getbaseclasses(bus_slot)
+getbaseclasses(SCSI_address)
+getbaseclasses(ADB_address)
+getbaseclasses(USB_address)
+getbaseclasses(device_specification)
+getbaseclasses(LocalTalk_address)
+getbaseclasses(IP_address)
+getbaseclasses(Ethernet_address)
+getbaseclasses(small_integer)
+getbaseclasses(RGB16_color)
+getbaseclasses(version)
+getbaseclasses(system_dictionary)
+getbaseclasses(color_table)
+getbaseclasses(fixed_point)
+getbaseclasses(plain_text)
+getbaseclasses(type_element_info)
+getbaseclasses(location_reference)
+getbaseclasses(machine_location)
+getbaseclasses(PostScript_picture)
+getbaseclasses(point)
+getbaseclasses(menu_item)
+getbaseclasses(pixel_map_record)
+getbaseclasses(application_dictionary)
+getbaseclasses(unsigned_integer)
+getbaseclasses(menu)
+getbaseclasses(fixed_rectangle)
+getbaseclasses(long_fixed_rectangle)
+getbaseclasses(type_event_info)
+getbaseclasses(small_real)
+getbaseclasses(type_suite_info)
+getbaseclasses(rotation)
+getbaseclasses(type_parameter_info)
+getbaseclasses(fixed)
+getbaseclasses(scrap_styles)
+getbaseclasses(long_point)
+getbaseclasses(type_class_info)
+getbaseclasses(TIFF_picture)
+getbaseclasses(RGB96_color)
+getbaseclasses(dash_style)
+getbaseclasses(extended_real)
+getbaseclasses(type_property_info)
+getbaseclasses(long_fixed_point)
+getbaseclasses(long_rectangle)
+getbaseclasses(bounding_rectangle)
+getbaseclasses(double_integer)
+getbaseclasses(long_fixed)
+getbaseclasses(null)
+getbaseclasses(target_id)
+
+#
+# Indices of types declared in this module
+#
+_classdeclarations = {
+ 'jul ' : July,
+ 'may ' : May,
+ 'TEXT' : string,
+ 'cmet' : cubic_metres,
+ 'STXT' : styled_text,
+ 'nds ' : number_2c__date_or_text,
+ 'feet' : feet,
+ 'feb ' : February,
+ 'nmbr' : number,
+ 'mile' : miles,
+ 'kprs' : keystroke,
+ 'psct' : writing_code,
+ 'degf' : degrees_Fahrenheit,
+ 'lrs ' : list_2c__record_or_text,
+ 'ldt ' : date,
+ 'litr' : litres,
+ 'nd ' : number_or_date,
+ 'cmtr' : centimetres,
+ 'evnt' : event,
+ 'pstr' : Pascal_string,
+ 'zone' : zone,
+ 'PICT' : picture,
+ 'ls ' : list_or_string,
+ 'long' : integer,
+ 'sf ' : alias_or_string,
+ 'citl' : writing_code_info,
+ 'citm' : text_item,
+ 'mach' : machine,
+ 'type' : type_class,
+ 'prep' : preposition,
+ 'tue ' : Tuesday,
+ 'case' : upper_case,
+ 'vers' : version,
+ 'wed ' : Wednesday,
+ 'dec ' : December,
+ 'sqkm' : square_kilometres,
+ 'obj ' : reference,
+ 'vect' : vector,
+ 'wkdy' : weekday,
+ 'cRGB' : RGB_color,
+ 'sun ' : Sunday,
+ 'itxt' : international_text,
+ 'scnd' : seconds,
+ 'mar ' : March,
+ 'kmtr' : kilometres,
+ 'sqft' : square_feet,
+ 'list' : list,
+ 'doub' : real,
+ 'nov ' : November,
+ 'qrts' : quarts,
+ 'degc' : degrees_Celsius,
+ 'msng' : missing_value,
+ 'alis' : alias,
+ 'jan ' : January,
+ 'metr' : metres,
+ 'mnth' : month,
+ 'ns ' : number_or_string,
+ 'jun ' : June,
+ 'aug ' : August,
+ 'llst' : linked_list,
+ 'styl' : styled_Clipboard_text,
+ 'encs' : encoded_string,
+ 'galn' : gallons,
+ 'cuin' : cubic_inches,
+ 'fri ' : Friday,
+ 'sutx' : styled_Unicode_text,
+ 'lr ' : list_or_record,
+ 'degk' : degrees_Kelvin,
+ 'mon ' : Monday,
+ 'snd ' : sound,
+ 'pcls' : class_,
+ 'kgrm' : kilograms,
+ 'scpt' : script,
+ '****' : anything,
+ 'prop' : property,
+ 'reco' : record,
+ 'bool' : boolean,
+ 'oct ' : October,
+ 'sqrm' : square_metres,
+ 'inch' : inches,
+ 'kfrm' : reference_form,
+ 'cobj' : item,
+ 'gram' : grams,
+ 'cha ' : character,
+ 'apr ' : April,
+ 'undf' : empty_ae_name_,
+ 'capp' : app,
+ 'enum' : constant,
+ 'hand' : handler,
+ 'sqmi' : square_miles,
+ 'rdat' : data,
+ 'cstr' : C_string,
+ 'utxt' : Unicode_text,
+ 'thu ' : Thursday,
+ 'sqyd' : square_yards,
+ 'yard' : yards,
+ 'cyrd' : cubic_yards,
+ 'ozs ' : ounces,
+ 'lbs ' : pounds,
+ 'cfet' : cubic_feet,
+ 'ccmt' : cubic_centimetres,
+ 'sat ' : Saturday,
+ 'sep ' : September,
+ 'fss ' : file_specification,
+ 'ctxt' : text,
+ 'cwin' : window,
+ 'file' : file,
+ 'csel' : selection_2d_object,
+ 'alis' : alias,
+ 'capp' : application,
+ 'cins' : insertion_point,
+ 'docu' : document,
+ 'cpar' : paragraph,
+ 'cha ' : character,
+ 'cflo' : text_flow,
+ 'tsty' : text_style_info,
+ 'clin' : line,
+ 'cwor' : word,
+ 'ctxt' : text,
+ 'cpic' : graphic_group,
+ 'covl' : oval,
+ 'cgtx' : graphic_text,
+ 'cgsh' : graphic_shape,
+ 'glin' : graphic_line,
+ 'cgob' : graphic_object,
+ 'cdrw' : drawing_area,
+ 'cpgn' : polygon,
+ 'cpxl' : pixel,
+ 'crrc' : rounded_rectangle,
+ 'carc' : arc,
+ 'cpix' : pixel_map,
+ 'crec' : rectangle,
+ 'cpic' : graphic_group,
+ 'cdrw' : drawing_area,
+ 'ccel' : cell,
+ 'ccol' : column,
+ 'ctbl' : table,
+ 'crow' : row,
+ 'cat ' : AppleTalk_address,
+ 'cadr' : address_specification,
+ 'ctok' : Token_Ring_address,
+ 'cfw ' : FireWire_address,
+ 'cbus' : bus_slot,
+ 'cscs' : SCSI_address,
+ 'cadb' : ADB_address,
+ 'cusb' : USB_address,
+ 'cdev' : device_specification,
+ 'clt ' : LocalTalk_address,
+ 'cip ' : IP_address,
+ 'cen ' : Ethernet_address,
+ 'shor' : small_integer,
+ 'tr16' : RGB16_color,
+ 'vers' : version,
+ 'aeut' : system_dictionary,
+ 'clrt' : color_table,
+ 'fpnt' : fixed_point,
+ 'TEXT' : plain_text,
+ 'elin' : type_element_info,
+ 'insl' : location_reference,
+ 'mLoc' : machine_location,
+ 'EPS ' : PostScript_picture,
+ 'QDpt' : point,
+ 'cmen' : menu_item,
+ 'tpmm' : pixel_map_record,
+ 'aete' : application_dictionary,
+ 'magn' : unsigned_integer,
+ 'cmnu' : menu,
+ 'frct' : fixed_rectangle,
+ 'lfrc' : long_fixed_rectangle,
+ 'evin' : type_event_info,
+ 'sing' : small_real,
+ 'suin' : type_suite_info,
+ 'trot' : rotation,
+ 'pmin' : type_parameter_info,
+ 'fixd' : fixed,
+ 'styl' : scrap_styles,
+ 'lpnt' : long_point,
+ 'gcli' : type_class_info,
+ 'TIFF' : TIFF_picture,
+ 'tr96' : RGB96_color,
+ 'tdas' : dash_style,
+ 'exte' : extended_real,
+ 'pinf' : type_property_info,
+ 'lfpt' : long_fixed_point,
+ 'lrct' : long_rectangle,
+ 'qdrt' : bounding_rectangle,
+ 'comp' : double_integer,
+ 'lfxd' : long_fixed,
+ 'null' : null,
+ 'targ' : target_id,
+}
+
+
+class StdSuites(AppleScript_Suite_Events,
+ Required_Suite_Events,
+ Standard_Suite_Events,
+ Text_Suite_Events,
+ QuickDraw_Graphics_Suite_Events,
+ QuickDraw_Graphics_Suppleme_Events,
+ Table_Suite_Events,
+ Macintosh_Connectivity_Clas_Events,
+ Type_Names_Suite_Events,
+ aetools.TalkTo):
+ _signature = 'ascr'
+
+ _moduleName = 'StdSuites'
+