summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac/lib-scriptpackages/StdSuites
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-04-12 22:27:11 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-04-12 22:27:11 (GMT)
commit3576066cad445e0b3870766fa661b534f9799de7 (patch)
treea0251816bb4ef3bbc54468d20e752a3896a9f827 /Lib/plat-mac/lib-scriptpackages/StdSuites
parent7b01a83488ebe1969b416d579e7df58576bb3c44 (diff)
downloadcpython-3576066cad445e0b3870766fa661b534f9799de7.zip
cpython-3576066cad445e0b3870766fa661b534f9799de7.tar.gz
cpython-3576066cad445e0b3870766fa661b534f9799de7.tar.bz2
Oops, _propdeclarations and friends are needed: gensuitemodule uses them
to lookup properties declared in base classes. Looking at it I'm not sure what the official scope if the property codes is, maybe it is only the (OSA) class in which they are used. But giving them global scope hasn't been a problem so far. Regenerated the standard suites, which are now also space-indented.
Diffstat (limited to 'Lib/plat-mac/lib-scriptpackages/StdSuites')
-rw-r--r--Lib/plat-mac/lib-scriptpackages/StdSuites/AppleScript_Suite.py2480
-rw-r--r--Lib/plat-mac/lib-scriptpackages/StdSuites/Macintosh_Connectivity_Clas.py404
-rw-r--r--Lib/plat-mac/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suite.py437
-rw-r--r--Lib/plat-mac/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suppleme.py50
-rw-r--r--Lib/plat-mac/lib-scriptpackages/StdSuites/Required_Suite.py11
-rw-r--r--Lib/plat-mac/lib-scriptpackages/StdSuites/Standard_Suite.py1148
-rw-r--r--Lib/plat-mac/lib-scriptpackages/StdSuites/Table_Suite.py69
-rw-r--r--Lib/plat-mac/lib-scriptpackages/StdSuites/Text_Suite.py210
-rw-r--r--Lib/plat-mac/lib-scriptpackages/StdSuites/Type_Names_Suite.py251
-rw-r--r--Lib/plat-mac/lib-scriptpackages/StdSuites/__init__.py458
10 files changed, 2871 insertions, 2647 deletions
diff --git a/Lib/plat-mac/lib-scriptpackages/StdSuites/AppleScript_Suite.py b/Lib/plat-mac/lib-scriptpackages/StdSuites/AppleScript_Suite.py
index fffa39f..32b2238 100644
--- a/Lib/plat-mac/lib-scriptpackages/StdSuites/AppleScript_Suite.py
+++ b/Lib/plat-mac/lib-scriptpackages/StdSuites/AppleScript_Suite.py
@@ -12,1383 +12,1383 @@ _code = 'ascr'
class AppleScript_Suite_Events:
- 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 _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 _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 _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 _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 _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['----']
-
- _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 _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 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 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 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 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 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 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['----']
-
- 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['----']
-
- _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['----']
-
- 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 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 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 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['----']
-
- 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 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 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 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 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 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 _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 _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 _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 _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 _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 _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 _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 _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 _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 _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['----']
+
+ _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 _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 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 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 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 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 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 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['----']
+
+ 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['----']
+
+ _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['----']
+
+ 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 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 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 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['----']
+
+ 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 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 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 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 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 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 _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 _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 _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 _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['----']
class anything(aetools.ComponentItem):
- """anything - any class or reference """
- want = '****'
+ """anything - any class or reference """
+ want = '****'
class pictures(aetools.ComponentItem):
- """pictures - """
- want = 'PICT'
+ """pictures - """
+ want = 'PICT'
picture = pictures
class styled_text(aetools.ComponentItem):
- """styled text - text with font, size, and style information """
- want = 'STXT'
+ """styled text - text with font, size, and style information """
+ want = 'STXT'
styled_text = styled_text
class strings(aetools.ComponentItem):
- """strings - """
- want = 'TEXT'
+ """strings - """
+ want = 'TEXT'
string = strings
class aliases(aetools.ComponentItem):
- """aliases - """
- want = 'alis'
+ """aliases - """
+ want = 'alis'
alias = aliases
class April(aetools.ComponentItem):
- """April - the month of April """
- want = 'apr '
+ """April - the month of April """
+ want = 'apr '
class August(aetools.ComponentItem):
- """August - the month of August """
- want = 'aug '
+ """August - the month of August """
+ want = 'aug '
class booleans(aetools.ComponentItem):
- """booleans - """
- want = 'bool'
+ """booleans - """
+ want = 'bool'
boolean = booleans
class RGB_colors(aetools.ComponentItem):
- """RGB colors - """
- want = 'cRGB'
+ """RGB colors - """
+ want = 'cRGB'
RGB_color = RGB_colors
class application(aetools.ComponentItem):
- """application - specifies global properties of AppleScript """
- want = 'capp'
+ """application - specifies global properties of AppleScript """
+ want = 'capp'
class _Prop_AppleScript(aetools.NProperty):
- """AppleScript - the top-level script object """
- which = 'ascr'
- want = 'scpt'
+ """AppleScript - the top-level script object """
+ which = 'ascr'
+ want = 'scpt'
class _Prop_days(aetools.NProperty):
- """days - the number of seconds in a day """
- which = 'days'
- want = 'long'
+ """days - the number of seconds in a day """
+ which = 'days'
+ want = 'long'
class _Prop_hours(aetools.NProperty):
- """hours - the number of seconds in an hour """
- which = 'hour'
- want = 'long'
+ """hours - the number of seconds in an hour """
+ which = 'hour'
+ want = 'long'
class _Prop_minutes(aetools.NProperty):
- """minutes - the number of seconds in a minute """
- which = 'min '
- want = 'long'
+ """minutes - the number of seconds in a minute """
+ which = 'min '
+ want = 'long'
class _Prop_pi(aetools.NProperty):
- """pi - the constant pi """
- which = 'pi '
- want = 'doub'
+ """pi - the constant pi """
+ which = 'pi '
+ want = 'doub'
class _Prop_print_depth(aetools.NProperty):
- """print depth - the maximum depth to print """
- which = 'prdp'
- want = 'long'
+ """print depth - the maximum depth to print """
+ which = 'prdp'
+ want = 'long'
class _Prop_print_length(aetools.NProperty):
- """print length - the maximum length to print """
- which = 'prln'
- want = 'long'
+ """print length - the maximum length to print """
+ which = 'prln'
+ want = 'long'
class _Prop_result(aetools.NProperty):
- """result - the last result of evaluation """
- which = 'rslt'
- want = '****'
+ """result - the last result of evaluation """
+ which = 'rslt'
+ want = '****'
class _Prop_return_(aetools.NProperty):
- """return - a return character """
- which = 'ret '
- want = 'cha '
+ """return - a return character """
+ which = 'ret '
+ want = 'cha '
class _Prop_space(aetools.NProperty):
- """space - a space character """
- which = 'spac'
- want = 'cha '
+ """space - a space character """
+ which = 'spac'
+ want = 'cha '
class _Prop_tab(aetools.NProperty):
- """tab - a tab character """
- which = 'tab '
- want = 'cha '
+ """tab - a tab character """
+ which = 'tab '
+ want = 'cha '
class _Prop_text_item_delimiters(aetools.NProperty):
- """text item delimiters - the text item delimiters of a string """
- which = 'txdl'
- want = 'list'
+ """text item delimiters - the text item delimiters of a string """
+ which = 'txdl'
+ want = 'list'
class _Prop_weeks(aetools.NProperty):
- """weeks - the number of seconds in a week """
- which = 'week'
- want = 'long'
+ """weeks - the number of seconds in a week """
+ which = 'week'
+ want = 'long'
applications = application
app = application
class upper_case(aetools.ComponentItem):
- """upper case - Text with lower case converted to upper case """
- want = 'case'
+ """upper case - Text with lower case converted to upper case """
+ want = 'case'
class cubic_centimeters(aetools.ComponentItem):
- """cubic centimeters - a volume measurement in SI cubic centimeters """
- want = 'ccmt'
+ """cubic centimeters - a volume measurement in SI cubic centimeters """
+ want = 'ccmt'
cubic_centimetres = cubic_centimeters
class cubic_feet(aetools.ComponentItem):
- """cubic feet - a volume measurement in Imperial cubic feet """
- want = 'cfet'
+ """cubic feet - a volume measurement in Imperial cubic feet """
+ want = 'cfet'
class characters(aetools.ComponentItem):
- """characters - """
- want = 'cha '
+ """characters - """
+ want = 'cha '
character = characters
class writing_code_info(aetools.ComponentItem):
- """writing code info - script code and language code of text run """
- want = 'citl'
+ """writing code info - script code and language code of text run """
+ want = 'citl'
class _Prop_language_code(aetools.NProperty):
- """language code - the language code for the text """
- which = 'plcd'
- want = 'shor'
+ """language code - the language code for the text """
+ which = 'plcd'
+ want = 'shor'
class _Prop_script_code(aetools.NProperty):
- """script code - the script code for the text """
- which = 'pscd'
- want = 'shor'
+ """script code - the script code for the text """
+ which = 'pscd'
+ want = 'shor'
writing_code_infos = writing_code_info
class text_items(aetools.ComponentItem):
- """text items - """
- want = 'citm'
+ """text items - """
+ want = 'citm'
text_item = text_items
class cubic_meters(aetools.ComponentItem):
- """cubic meters - a volume measurement in SI cubic meters """
- want = 'cmet'
+ """cubic meters - a volume measurement in SI cubic meters """
+ want = 'cmet'
cubic_metres = cubic_meters
class centimeters(aetools.ComponentItem):
- """centimeters - a distance measurement in SI centimeters """
- want = 'cmtr'
+ """centimeters - a distance measurement in SI centimeters """
+ want = 'cmtr'
centimetres = centimeters
class item(aetools.ComponentItem):
- """item - An item of any type """
- want = 'cobj'
+ """item - An item of any type """
+ want = 'cobj'
class _Prop_id(aetools.NProperty):
- """id - the unique ID number of this object """
- which = 'ID '
- want = 'long'
+ """id - the unique ID number of this object """
+ which = 'ID '
+ want = 'long'
items = item
class C_strings(aetools.ComponentItem):
- """C strings - """
- want = 'cstr'
+ """C strings - """
+ want = 'cstr'
C_string = C_strings
class text(aetools.ComponentItem):
- """text - text with language and style information """
- want = 'ctxt'
+ """text - text with language and style information """
+ want = 'ctxt'
class cubic_inches(aetools.ComponentItem):
- """cubic inches - a volume measurement in Imperial cubic inches """
- want = 'cuin'
+ """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'
+ """cubic yards - a distance measurement in Imperial cubic yards """
+ want = 'cyrd'
class December(aetools.ComponentItem):
- """December - the month of December """
- want = 'dec '
+ """December - the month of December """
+ want = 'dec '
class degrees_Celsius(aetools.ComponentItem):
- """degrees Celsius - a temperature measurement in SI degrees Celsius """
- want = 'degc'
+ """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'
+ """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'
+ """degrees Kelvin - a temperature measurement in degrees Kelvin """
+ want = 'degk'
class reals(aetools.ComponentItem):
- """reals - """
- want = 'doub'
+ """reals - """
+ want = 'doub'
real = reals
class encoded_strings(aetools.ComponentItem):
- """encoded strings - """
- want = 'encs'
+ """encoded strings - """
+ want = 'encs'
encoded_string = encoded_strings
class constants(aetools.ComponentItem):
- """constants - """
- want = 'enum'
+ """constants - """
+ want = 'enum'
constant = constants
class events(aetools.ComponentItem):
- """events - """
- want = 'evnt'
+ """events - """
+ want = 'evnt'
event = events
class February(aetools.ComponentItem):
- """February - the month of February """
- want = 'feb '
+ """February - the month of February """
+ want = 'feb '
class feet(aetools.ComponentItem):
- """feet - a distance measurement in Imperial feet """
- want = 'feet'
+ """feet - a distance measurement in Imperial feet """
+ want = 'feet'
class Friday(aetools.ComponentItem):
- """Friday - Friday """
- want = 'fri '
+ """Friday - Friday """
+ want = 'fri '
class file_specifications(aetools.ComponentItem):
- """file specifications - """
- want = 'fss '
+ """file specifications - """
+ want = 'fss '
file_specification = file_specifications
class gallons(aetools.ComponentItem):
- """gallons - a volume measurement in Imperial gallons """
- want = 'galn'
+ """gallons - a volume measurement in Imperial gallons """
+ want = 'galn'
class grams(aetools.ComponentItem):
- """grams - a mass measurement in SI meters """
- want = 'gram'
+ """grams - a mass measurement in SI meters """
+ want = 'gram'
class handlers(aetools.ComponentItem):
- """handlers - """
- want = 'hand'
+ """handlers - """
+ want = 'hand'
handler = handlers
class inches(aetools.ComponentItem):
- """inches - a distance measurement in Imperial inches """
- want = 'inch'
+ """inches - a distance measurement in Imperial inches """
+ want = 'inch'
class international_text(aetools.ComponentItem):
- """international text - text that begins with a writing code """
- want = 'itxt'
+ """international text - text that begins with a writing code """
+ want = 'itxt'
international_text = international_text
class January(aetools.ComponentItem):
- """January - the month of January """
- want = 'jan '
+ """January - the month of January """
+ want = 'jan '
class July(aetools.ComponentItem):
- """July - the month of July """
- want = 'jul '
+ """July - the month of July """
+ want = 'jul '
class June(aetools.ComponentItem):
- """June - the month of June """
- want = 'jun '
+ """June - the month of June """
+ want = 'jun '
class reference_forms(aetools.ComponentItem):
- """reference forms - """
- want = 'kfrm'
+ """reference forms - """
+ want = 'kfrm'
reference_form = reference_forms
class kilograms(aetools.ComponentItem):
- """kilograms - a mass measurement in SI kilograms """
- want = 'kgrm'
+ """kilograms - a mass measurement in SI kilograms """
+ want = 'kgrm'
class kilometers(aetools.ComponentItem):
- """kilometers - a distance measurement in SI kilometers """
- want = 'kmtr'
+ """kilometers - a distance measurement in SI kilometers """
+ want = 'kmtr'
kilometres = kilometers
class keystroke(aetools.ComponentItem):
- """keystroke - a press of a key combination on a Macintosh keyboard """
- want = 'kprs'
+ """keystroke - a press of a key combination on a Macintosh keyboard """
+ want = 'kprs'
class _Prop_key(aetools.NProperty):
- """key - the character for the key was pressed (ignoring modifiers) """
- which = 'kMsg'
- want = 'cha '
+ """key - the character for the key was pressed (ignoring modifiers) """
+ which = 'kMsg'
+ want = 'cha '
class _Prop_key_kind(aetools.NProperty):
- """key kind - the kind of key that was pressed """
- which = 'kknd'
- want = 'ekst'
+ """key kind - the kind of key that was pressed """
+ which = 'kknd'
+ want = 'ekst'
class _Prop_modifiers(aetools.NProperty):
- """modifiers - the modifier keys pressed in combination """
- which = 'kMod'
- want = 'eMds'
+ """modifiers - the modifier keys pressed in combination """
+ which = 'kMod'
+ want = 'eMds'
keystrokes = keystroke
class pounds(aetools.ComponentItem):
- """pounds - a weight measurement in SI meters """
- want = 'lbs '
+ """pounds - a weight measurement in SI meters """
+ want = 'lbs '
class date(aetools.ComponentItem):
- """date - Absolute date and time values """
- want = 'ldt '
+ """date - Absolute date and time values """
+ want = 'ldt '
class _Prop_date_string(aetools.NProperty):
- """date string - the date portion of a date-time value as text """
- which = 'dstr'
- want = 'TEXT'
+ """date string - the date portion of a date-time value as text """
+ which = 'dstr'
+ want = 'TEXT'
class _Prop_day(aetools.NProperty):
- """day - the day of the month of a date """
- which = 'day '
- want = 'long'
+ """day - the day of the month of a date """
+ which = 'day '
+ want = 'long'
class _Prop_month(aetools.NProperty):
- """month - the month of a date """
- which = 'mnth'
- want = 'mnth'
+ """month - the month of a date """
+ which = 'mnth'
+ want = 'mnth'
class _Prop_time(aetools.NProperty):
- """time - the time since midnight of a date """
- which = 'time'
- want = 'long'
+ """time - the time since midnight of a date """
+ which = 'time'
+ want = 'long'
class _Prop_time_string(aetools.NProperty):
- """time string - the time portion of a date-time value as text """
- which = 'tstr'
- want = 'TEXT'
+ """time string - the time portion of a date-time value as text """
+ which = 'tstr'
+ want = 'TEXT'
class _Prop_weekday(aetools.NProperty):
- """weekday - the day of a week of a date """
- which = 'wkdy'
- want = 'wkdy'
+ """weekday - the day of a week of a date """
+ which = 'wkdy'
+ want = 'wkdy'
class _Prop_year(aetools.NProperty):
- """year - the year of a date """
- which = 'year'
- want = 'long'
+ """year - the year of a date """
+ which = 'year'
+ want = 'long'
dates = date
class list(aetools.ComponentItem):
- """list - An ordered collection of items """
- want = 'list'
+ """list - An ordered collection of items """
+ want = 'list'
class _Prop_length(aetools.NProperty):
- """length - the length of a list """
- which = 'leng'
- want = 'long'
+ """length - the length of a list """
+ which = 'leng'
+ want = 'long'
class _Prop_rest(aetools.NProperty):
- """rest - all items of the list excluding first """
- which = 'rest'
- want = 'list'
+ """rest - all items of the list excluding first """
+ which = 'rest'
+ want = 'list'
class _Prop_reverse(aetools.NProperty):
- """reverse - the items of the list in reverse order """
- which = 'rvse'
- want = 'list'
+ """reverse - the items of the list in reverse order """
+ which = 'rvse'
+ want = 'list'
lists = list
class liters(aetools.ComponentItem):
- """liters - a volume measurement in SI liters """
- want = 'litr'
+ """liters - a volume measurement in SI liters """
+ want = 'litr'
litres = liters
class linked_list(aetools.ComponentItem):
- """linked list - An ordered collection of items """
- want = 'llst'
+ """linked list - An ordered collection of items """
+ want = 'llst'
linked_lists = linked_list
class integers(aetools.ComponentItem):
- """integers - """
- want = 'long'
+ """integers - """
+ want = 'long'
integer = integers
class list_or_record(aetools.ComponentItem):
- """list or record - a list or record """
- want = 'lr '
+ """list or record - a list or record """
+ want = 'lr '
class list_2c__record_or_text(aetools.ComponentItem):
- """list, record or text - a list, record or text """
- want = 'lrs '
+ """list, record or text - a list, record or text """
+ want = 'lrs '
class list_or_string(aetools.ComponentItem):
- """list or string - a list or string """
- want = 'ls '
+ """list or string - a list or string """
+ want = 'ls '
class machines(aetools.ComponentItem):
- """machines - """
- want = 'mach'
+ """machines - """
+ want = 'mach'
machine = machines
class March(aetools.ComponentItem):
- """March - the month of March """
- want = 'mar '
+ """March - the month of March """
+ want = 'mar '
class May(aetools.ComponentItem):
- """May - the month of May """
- want = 'may '
+ """May - the month of May """
+ want = 'may '
class meters(aetools.ComponentItem):
- """meters - a distance measurement in SI meters """
- want = 'metr'
+ """meters - a distance measurement in SI meters """
+ want = 'metr'
metres = meters
class miles(aetools.ComponentItem):
- """miles - a distance measurement in Imperial miles """
- want = 'mile'
+ """miles - a distance measurement in Imperial miles """
+ want = 'mile'
class months(aetools.ComponentItem):
- """months - """
- want = 'mnth'
+ """months - """
+ want = 'mnth'
month = months
class Monday(aetools.ComponentItem):
- """Monday - Monday """
- want = 'mon '
+ """Monday - Monday """
+ want = 'mon '
class missing_values(aetools.ComponentItem):
- """missing values - """
- want = 'msng'
+ """missing values - """
+ want = 'msng'
missing_value = missing_values
class number_or_date(aetools.ComponentItem):
- """number or date - a number or date """
- want = 'nd '
+ """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 '
+ """number, date or text - a number, date or text """
+ want = 'nds '
class numbers(aetools.ComponentItem):
- """numbers - """
- want = 'nmbr'
+ """numbers - """
+ want = 'nmbr'
number = numbers
class November(aetools.ComponentItem):
- """November - the month of November """
- want = 'nov '
+ """November - the month of November """
+ want = 'nov '
class number_or_string(aetools.ComponentItem):
- """number or string - a number or string """
- want = 'ns '
+ """number or string - a number or string """
+ want = 'ns '
class references(aetools.ComponentItem):
- """references - """
- want = 'obj '
+ """references - """
+ want = 'obj '
reference = references
class October(aetools.ComponentItem):
- """October - the month of October """
- want = 'oct '
+ """October - the month of October """
+ want = 'oct '
class ounces(aetools.ComponentItem):
- """ounces - a weight measurement in SI meters """
- want = 'ozs '
+ """ounces - a weight measurement in SI meters """
+ want = 'ozs '
class class_(aetools.ComponentItem):
- """class - the type of a value """
- want = 'pcls'
+ """class - the type of a value """
+ want = 'pcls'
class _Prop__3c_Inheritance_3e_(aetools.NProperty):
- """<Inheritance> - inherits some of its properties from this class """
- which = 'c@#^'
- want = 'type'
+ """<Inheritance> - inherits some of its properties from this class """
+ which = 'c@#^'
+ want = 'type'
classes = class_
class prepositions(aetools.ComponentItem):
- """prepositions - """
- want = 'prep'
+ """prepositions - """
+ want = 'prep'
preposition = prepositions
class properties(aetools.ComponentItem):
- """properties - """
- want = 'prop'
+ """properties - """
+ want = 'prop'
property = properties
class writing_code(aetools.ComponentItem):
- """writing code - codes that identify the language and script system """
- want = 'psct'
+ """writing code - codes that identify the language and script system """
+ want = 'psct'
class Pascal_strings(aetools.ComponentItem):
- """Pascal strings - """
- want = 'pstr'
+ """Pascal strings - """
+ want = 'pstr'
Pascal_string = Pascal_strings
class quarts(aetools.ComponentItem):
- """quarts - a volume measurement in Imperial quarts """
- want = 'qrts'
+ """quarts - a volume measurement in Imperial quarts """
+ want = 'qrts'
class data(aetools.ComponentItem):
- """data - an AppleScript raw data object """
- want = 'rdat'
+ """data - an AppleScript raw data object """
+ want = 'rdat'
class records(aetools.ComponentItem):
- """records - """
- want = 'reco'
+ """records - """
+ want = 'reco'
record = records
class Saturday(aetools.ComponentItem):
- """Saturday - Saturday """
- want = 'sat '
+ """Saturday - Saturday """
+ want = 'sat '
class seconds(aetools.ComponentItem):
- """seconds - more than one second """
- want = 'scnd'
+ """seconds - more than one second """
+ want = 'scnd'
class script(aetools.ComponentItem):
- """script - An AppleScript script """
- want = 'scpt'
+ """script - An AppleScript script """
+ want = 'scpt'
class _Prop_name(aetools.NProperty):
- """name - the name of the script """
- which = 'pnam'
- want = 'TEXT'
+ """name - the name of the script """
+ which = 'pnam'
+ want = 'TEXT'
class _Prop_parent(aetools.NProperty):
- """parent - its parent, i.e. the script that will handle events that this script doesn\xd5t """
- which = 'pare'
- want = 'scpt'
+ """parent - its parent, i.e. the script that will handle events that this script doesn\xd5t """
+ which = 'pare'
+ want = 'scpt'
scripts = script
class September(aetools.ComponentItem):
- """September - the month of September """
- want = 'sep '
+ """September - the month of September """
+ want = 'sep '
class alias_or_string(aetools.ComponentItem):
- """alias or string - an alias or string """
- want = 'sf '
+ """alias or string - an alias or string """
+ want = 'sf '
class sounds(aetools.ComponentItem):
- """sounds - """
- want = 'snd '
+ """sounds - """
+ want = 'snd '
sound = sounds
class square_feet(aetools.ComponentItem):
- """square feet - an area measurement in Imperial square feet """
- want = 'sqft'
+ """square feet - an area measurement in Imperial square feet """
+ want = 'sqft'
class square_kilometers(aetools.ComponentItem):
- """square kilometers - an area measurement in SI square kilometers """
- want = 'sqkm'
+ """square kilometers - an area measurement in SI square kilometers """
+ want = 'sqkm'
square_kilometres = square_kilometers
class square_miles(aetools.ComponentItem):
- """square miles - an area measurement in Imperial square miles """
- want = 'sqmi'
+ """square miles - an area measurement in Imperial square miles """
+ want = 'sqmi'
class square_meters(aetools.ComponentItem):
- """square meters - an area measurement in SI square meters """
- want = 'sqrm'
+ """square meters - an area measurement in SI square meters """
+ want = 'sqrm'
square_metres = square_meters
class square_yards(aetools.ComponentItem):
- """square yards - an area measurement in Imperial square yards """
- want = 'sqyd'
+ """square yards - an area measurement in Imperial square yards """
+ want = 'sqyd'
class styled_Clipboard_text(aetools.ComponentItem):
- """styled Clipboard text - clipboard text with font, size, and style information """
- want = 'styl'
+ """styled Clipboard text - clipboard text with font, size, and style information """
+ want = 'styl'
styled_Clipboard_text = styled_Clipboard_text
class Sunday(aetools.ComponentItem):
- """Sunday - Sunday """
- want = 'sun '
+ """Sunday - Sunday """
+ want = 'sun '
class styled_Unicode_text(aetools.ComponentItem):
- """styled Unicode text - styled text in the Unicode format """
- want = 'sutx'
+ """styled Unicode text - styled text in the Unicode format """
+ want = 'sutx'
styled_Unicode_text = styled_Unicode_text
class Thursday(aetools.ComponentItem):
- """Thursday - Thursday """
- want = 'thu '
+ """Thursday - Thursday """
+ want = 'thu '
class Tuesday(aetools.ComponentItem):
- """Tuesday - Tuesday """
- want = 'tue '
+ """Tuesday - Tuesday """
+ want = 'tue '
class type_class(aetools.ComponentItem):
- """type class - the name of a particular class (or any four-character code) """
- want = 'type'
+ """type class - the name of a particular class (or any four-character code) """
+ want = 'type'
class empty_ae_name_(aetools.ComponentItem):
- """ - the undefined value """
- want = 'undf'
+ """ - the undefined value """
+ want = 'undf'
class Unicode_text(aetools.ComponentItem):
- """Unicode text - text in the Unicode format (cannot be viewed without conversion) """
- want = 'utxt'
+ """Unicode text - text in the Unicode format (cannot be viewed without conversion) """
+ want = 'utxt'
Unicode_text = Unicode_text
class vector(aetools.ComponentItem):
- """vector - An ordered collection of items """
- want = 'vect'
+ """vector - An ordered collection of items """
+ want = 'vect'
vectors = vector
class version(aetools.ComponentItem):
- """version - a version value """
- want = 'vers'
+ """version - a version value """
+ want = 'vers'
class Wednesday(aetools.ComponentItem):
- """Wednesday - Wednesday """
- want = 'wed '
+ """Wednesday - Wednesday """
+ want = 'wed '
class weekdays(aetools.ComponentItem):
- """weekdays - """
- want = 'wkdy'
+ """weekdays - """
+ want = 'wkdy'
weekday = weekdays
class yards(aetools.ComponentItem):
- """yards - a distance measurement in Imperial yards """
- want = 'yard'
+ """yards - a distance measurement in Imperial yards """
+ want = 'yard'
class zones(aetools.ComponentItem):
- """zones - """
- want = 'zone'
+ """zones - """
+ want = 'zone'
zone = zones
anything._superclassnames = []
@@ -1443,19 +1443,19 @@ RGB_colors._privelemdict = {
}
application._superclassnames = []
application._privpropdict = {
- 'AppleScript' : _Prop_AppleScript,
- 'days' : _Prop_days,
- 'hours' : _Prop_hours,
- 'minutes' : _Prop_minutes,
- 'pi' : _Prop_pi,
- 'print_depth' : _Prop_print_depth,
- 'print_length' : _Prop_print_length,
- 'result' : _Prop_result,
- 'return_' : _Prop_return_,
- 'space' : _Prop_space,
- 'tab' : _Prop_tab,
- 'text_item_delimiters' : _Prop_text_item_delimiters,
- 'weeks' : _Prop_weeks,
+ 'AppleScript' : _Prop_AppleScript,
+ 'days' : _Prop_days,
+ 'hours' : _Prop_hours,
+ 'minutes' : _Prop_minutes,
+ 'pi' : _Prop_pi,
+ 'print_depth' : _Prop_print_depth,
+ 'print_length' : _Prop_print_length,
+ 'result' : _Prop_result,
+ 'return_' : _Prop_return_,
+ 'space' : _Prop_space,
+ 'tab' : _Prop_tab,
+ 'text_item_delimiters' : _Prop_text_item_delimiters,
+ 'weeks' : _Prop_weeks,
}
application._privelemdict = {
}
@@ -1481,8 +1481,8 @@ characters._privelemdict = {
}
writing_code_info._superclassnames = []
writing_code_info._privpropdict = {
- 'language_code' : _Prop_language_code,
- 'script_code' : _Prop_script_code,
+ 'language_code' : _Prop_language_code,
+ 'script_code' : _Prop_script_code,
}
writing_code_info._privelemdict = {
}
@@ -1503,7 +1503,7 @@ centimeters._privelemdict = {
}
item._superclassnames = []
item._privpropdict = {
- 'id' : _Prop_id,
+ 'id' : _Prop_id,
}
item._privelemdict = {
}
@@ -1649,9 +1649,9 @@ kilometers._privelemdict = {
}
keystroke._superclassnames = []
keystroke._privpropdict = {
- 'key' : _Prop_key,
- 'key_kind' : _Prop_key_kind,
- 'modifiers' : _Prop_modifiers,
+ 'key' : _Prop_key,
+ 'key_kind' : _Prop_key_kind,
+ 'modifiers' : _Prop_modifiers,
}
keystroke._privelemdict = {
}
@@ -1662,21 +1662,21 @@ pounds._privelemdict = {
}
date._superclassnames = []
date._privpropdict = {
- 'date_string' : _Prop_date_string,
- 'day' : _Prop_day,
- 'month' : _Prop_month,
- 'time' : _Prop_time,
- 'time_string' : _Prop_time_string,
- 'weekday' : _Prop_weekday,
- 'year' : _Prop_year,
+ 'date_string' : _Prop_date_string,
+ 'day' : _Prop_day,
+ 'month' : _Prop_month,
+ 'time' : _Prop_time,
+ 'time_string' : _Prop_time_string,
+ 'weekday' : _Prop_weekday,
+ 'year' : _Prop_year,
}
date._privelemdict = {
}
list._superclassnames = []
list._privpropdict = {
- 'length' : _Prop_length,
- 'rest' : _Prop_rest,
- 'reverse' : _Prop_reverse,
+ 'length' : _Prop_length,
+ 'rest' : _Prop_rest,
+ 'reverse' : _Prop_reverse,
}
list._privelemdict = {
}
@@ -1687,7 +1687,7 @@ liters._privelemdict = {
}
linked_list._superclassnames = []
linked_list._privpropdict = {
- 'length' : _Prop_length,
+ 'length' : _Prop_length,
}
linked_list._privelemdict = {
}
@@ -1793,7 +1793,7 @@ ounces._privelemdict = {
}
class_._superclassnames = ['type_class']
class_._privpropdict = {
- '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
+ '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
}
class_._privelemdict = {
}
@@ -1844,8 +1844,8 @@ seconds._privelemdict = {
}
script._superclassnames = []
script._privpropdict = {
- 'name' : _Prop_name,
- 'parent' : _Prop_parent,
+ 'name' : _Prop_name,
+ 'parent' : _Prop_parent,
}
script._privelemdict = {
}
@@ -1946,7 +1946,7 @@ Unicode_text._privelemdict = {
}
vector._superclassnames = []
vector._privpropdict = {
- 'length' : _Prop_length,
+ 'length' : _Prop_length,
}
vector._privelemdict = {
}
@@ -1976,64 +1976,64 @@ zones._privpropdict = {
zones._privelemdict = {
}
_Enum_boov = {
- 'true' : 'true', # the true boolean value
- 'false' : 'fals', # the false boolean value
+ 'true' : 'true', # the true boolean value
+ 'false' : 'fals', # the false boolean value
}
_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
+ '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_eMds = {
- 'option_down' : 'Kopt', #
- 'command_down' : 'Kcmd', #
- 'control_down' : 'Kctl', #
- 'shift_down' : 'Ksft', #
- 'caps_lock_down' : 'Kclk', #
+ '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', #
+ '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', #
}
_Enum_misc = {
- 'current_application' : 'cura', # the current application
+ 'current_application' : 'cura', # the current application
}
@@ -2041,109 +2041,155 @@ _Enum_misc = {
# Indices of types declared in this module
#
_classdeclarations = {
- '****' : anything,
- 'PICT' : pictures,
- 'STXT' : styled_text,
- 'TEXT' : strings,
- 'alis' : aliases,
- 'apr ' : April,
- 'aug ' : August,
- 'bool' : booleans,
- 'cRGB' : RGB_colors,
- 'capp' : application,
- 'case' : upper_case,
- 'ccmt' : cubic_centimeters,
- 'cfet' : cubic_feet,
- 'cha ' : characters,
- 'citl' : writing_code_info,
- 'citm' : text_items,
- 'cmet' : cubic_meters,
- 'cmtr' : centimeters,
- 'cobj' : item,
- 'cstr' : C_strings,
- 'ctxt' : text,
- 'cuin' : cubic_inches,
- 'cyrd' : cubic_yards,
- 'dec ' : December,
- 'degc' : degrees_Celsius,
- 'degf' : degrees_Fahrenheit,
- 'degk' : degrees_Kelvin,
- 'doub' : reals,
- 'encs' : encoded_strings,
- 'enum' : constants,
- 'evnt' : events,
- 'feb ' : February,
- 'feet' : feet,
- 'fri ' : Friday,
- 'fss ' : file_specifications,
- 'galn' : gallons,
- 'gram' : grams,
- 'hand' : handlers,
- 'inch' : inches,
- 'itxt' : international_text,
- 'jan ' : January,
- 'jul ' : July,
- 'jun ' : June,
- 'kfrm' : reference_forms,
- 'kgrm' : kilograms,
- 'kmtr' : kilometers,
- 'kprs' : keystroke,
- 'lbs ' : pounds,
- 'ldt ' : date,
- 'list' : list,
- 'litr' : liters,
- 'llst' : linked_list,
- 'long' : integers,
- 'lr ' : list_or_record,
- 'lrs ' : list_2c__record_or_text,
- 'ls ' : list_or_string,
- 'mach' : machines,
- 'mar ' : March,
- 'may ' : May,
- 'metr' : meters,
- 'mile' : miles,
- 'mnth' : months,
- 'mon ' : Monday,
- 'msng' : missing_values,
- 'nd ' : number_or_date,
- 'nds ' : number_2c__date_or_text,
- 'nmbr' : numbers,
- 'nov ' : November,
- 'ns ' : number_or_string,
- 'obj ' : references,
- 'oct ' : October,
- 'ozs ' : ounces,
- 'pcls' : class_,
- 'prep' : prepositions,
- 'prop' : properties,
- 'psct' : writing_code,
- 'pstr' : Pascal_strings,
- 'qrts' : quarts,
- 'rdat' : data,
- 'reco' : records,
- 'sat ' : Saturday,
- 'scnd' : seconds,
- 'scpt' : script,
- 'sep ' : September,
- 'sf ' : alias_or_string,
- 'snd ' : sounds,
- 'sqft' : square_feet,
- 'sqkm' : square_kilometers,
- 'sqmi' : square_miles,
- 'sqrm' : square_meters,
- 'sqyd' : square_yards,
- 'styl' : styled_Clipboard_text,
- 'sun ' : Sunday,
- 'sutx' : styled_Unicode_text,
- 'thu ' : Thursday,
- 'tue ' : Tuesday,
- 'type' : type_class,
- 'undf' : empty_ae_name_,
- 'utxt' : Unicode_text,
- 'vect' : vector,
- 'vers' : version,
- 'wed ' : Wednesday,
- 'wkdy' : weekdays,
- 'yard' : yards,
- 'zone' : zones,
+ '****' : anything,
+ 'PICT' : pictures,
+ 'STXT' : styled_text,
+ 'TEXT' : strings,
+ 'alis' : aliases,
+ 'apr ' : April,
+ 'aug ' : August,
+ 'bool' : booleans,
+ 'cRGB' : RGB_colors,
+ 'capp' : application,
+ 'case' : upper_case,
+ 'ccmt' : cubic_centimeters,
+ 'cfet' : cubic_feet,
+ 'cha ' : characters,
+ 'citl' : writing_code_info,
+ 'citm' : text_items,
+ 'cmet' : cubic_meters,
+ 'cmtr' : centimeters,
+ 'cobj' : item,
+ 'cstr' : C_strings,
+ 'ctxt' : text,
+ 'cuin' : cubic_inches,
+ 'cyrd' : cubic_yards,
+ 'dec ' : December,
+ 'degc' : degrees_Celsius,
+ 'degf' : degrees_Fahrenheit,
+ 'degk' : degrees_Kelvin,
+ 'doub' : reals,
+ 'encs' : encoded_strings,
+ 'enum' : constants,
+ 'evnt' : events,
+ 'feb ' : February,
+ 'feet' : feet,
+ 'fri ' : Friday,
+ 'fss ' : file_specifications,
+ 'galn' : gallons,
+ 'gram' : grams,
+ 'hand' : handlers,
+ 'inch' : inches,
+ 'itxt' : international_text,
+ 'jan ' : January,
+ 'jul ' : July,
+ 'jun ' : June,
+ 'kfrm' : reference_forms,
+ 'kgrm' : kilograms,
+ 'kmtr' : kilometers,
+ 'kprs' : keystroke,
+ 'lbs ' : pounds,
+ 'ldt ' : date,
+ 'list' : list,
+ 'litr' : liters,
+ 'llst' : linked_list,
+ 'long' : integers,
+ 'lr ' : list_or_record,
+ 'lrs ' : list_2c__record_or_text,
+ 'ls ' : list_or_string,
+ 'mach' : machines,
+ 'mar ' : March,
+ 'may ' : May,
+ 'metr' : meters,
+ 'mile' : miles,
+ 'mnth' : months,
+ 'mon ' : Monday,
+ 'msng' : missing_values,
+ 'nd ' : number_or_date,
+ 'nds ' : number_2c__date_or_text,
+ 'nmbr' : numbers,
+ 'nov ' : November,
+ 'ns ' : number_or_string,
+ 'obj ' : references,
+ 'oct ' : October,
+ 'ozs ' : ounces,
+ 'pcls' : class_,
+ 'prep' : prepositions,
+ 'prop' : properties,
+ 'psct' : writing_code,
+ 'pstr' : Pascal_strings,
+ 'qrts' : quarts,
+ 'rdat' : data,
+ 'reco' : records,
+ 'sat ' : Saturday,
+ 'scnd' : seconds,
+ 'scpt' : script,
+ 'sep ' : September,
+ 'sf ' : alias_or_string,
+ 'snd ' : sounds,
+ 'sqft' : square_feet,
+ 'sqkm' : square_kilometers,
+ 'sqmi' : square_miles,
+ 'sqrm' : square_meters,
+ 'sqyd' : square_yards,
+ 'styl' : styled_Clipboard_text,
+ 'sun ' : Sunday,
+ 'sutx' : styled_Unicode_text,
+ 'thu ' : Thursday,
+ 'tue ' : Tuesday,
+ 'type' : type_class,
+ 'undf' : empty_ae_name_,
+ 'utxt' : Unicode_text,
+ 'vect' : vector,
+ 'vers' : version,
+ 'wed ' : Wednesday,
+ 'wkdy' : weekdays,
+ 'yard' : yards,
+ 'zone' : zones,
+}
+
+_propdeclarations = {
+ 'ID ' : _Prop_id,
+ 'ascr' : _Prop_AppleScript,
+ 'c@#^' : _Prop__3c_Inheritance_3e_,
+ 'day ' : _Prop_day,
+ 'days' : _Prop_days,
+ 'dstr' : _Prop_date_string,
+ 'hour' : _Prop_hours,
+ 'kMod' : _Prop_modifiers,
+ 'kMsg' : _Prop_key,
+ 'kknd' : _Prop_key_kind,
+ 'leng' : _Prop_length,
+ 'min ' : _Prop_minutes,
+ 'mnth' : _Prop_month,
+ 'pare' : _Prop_parent,
+ 'pi ' : _Prop_pi,
+ 'plcd' : _Prop_language_code,
+ 'pnam' : _Prop_name,
+ 'prdp' : _Prop_print_depth,
+ 'prln' : _Prop_print_length,
+ 'pscd' : _Prop_script_code,
+ 'rest' : _Prop_rest,
+ 'ret ' : _Prop_return_,
+ 'rslt' : _Prop_result,
+ 'rvse' : _Prop_reverse,
+ 'spac' : _Prop_space,
+ 'tab ' : _Prop_tab,
+ 'time' : _Prop_time,
+ 'tstr' : _Prop_time_string,
+ 'txdl' : _Prop_text_item_delimiters,
+ 'week' : _Prop_weeks,
+ 'wkdy' : _Prop_weekday,
+ 'year' : _Prop_year,
+}
+
+_compdeclarations = {
+}
+
+_enumdeclarations = {
+ 'boov' : _Enum_boov,
+ 'cons' : _Enum_cons,
+ 'eMds' : _Enum_eMds,
+ 'ekst' : _Enum_ekst,
+ 'misc' : _Enum_misc,
}
diff --git a/Lib/plat-mac/lib-scriptpackages/StdSuites/Macintosh_Connectivity_Clas.py b/Lib/plat-mac/lib-scriptpackages/StdSuites/Macintosh_Connectivity_Clas.py
index c78079c..c61a56b 100644
--- a/Lib/plat-mac/lib-scriptpackages/StdSuites/Macintosh_Connectivity_Clas.py
+++ b/Lib/plat-mac/lib-scriptpackages/StdSuites/Macintosh_Connectivity_Clas.py
@@ -12,315 +12,315 @@ _code = 'macc'
class Macintosh_Connectivity_Clas_Events:
- pass
+ pass
class ADB_address(aetools.ComponentItem):
- """ADB address - Addresses a device connected via Apple Desktop Bus """
- want = 'cadb'
+ """ADB address - Addresses a device connected via Apple Desktop Bus """
+ want = 'cadb'
class _Prop__3c_inheritance_3e_(aetools.NProperty):
- """<inheritance> - inherits some of its properties from this class """
- which = 'c@#^'
- want = 'cadr'
+ """<inheritance> - inherits some of its properties from this class """
+ which = 'c@#^'
+ want = 'cadr'
class _Prop_ID(aetools.NProperty):
- """ID - the Apple Desktop Bus device ID """
- which = 'ID '
- want = 'shor'
+ """ID - the Apple Desktop Bus device ID """
+ which = 'ID '
+ want = 'shor'
ADB_addresses = ADB_address
class address_specification(aetools.ComponentItem):
- """address specification - Unique designation of a device or service connected to this computer """
- want = 'cadr'
+ """address specification - Unique designation of a device or service connected to this computer """
+ want = 'cadr'
class _Prop_conduit(aetools.NProperty):
- """conduit - How the addressee is physically connected """
- which = 'pcon'
- want = 'econ'
+ """conduit - How the addressee is physically connected """
+ which = 'pcon'
+ want = 'econ'
class _Prop_properties(aetools.NProperty):
- """properties - property that allows getting and setting of multiple properties """
- which = 'pALL'
- want = 'reco'
+ """properties - property that allows getting and setting of multiple properties """
+ which = 'pALL'
+ want = 'reco'
class _Prop_protocol(aetools.NProperty):
- """protocol - How to talk to this addressee """
- which = 'pprt'
- want = 'epro'
+ """protocol - How to talk to this addressee """
+ which = 'pprt'
+ want = 'epro'
address_specifications = address_specification
class AppleTalk_address(aetools.ComponentItem):
- """AppleTalk address - Addresses a device or service connected via the AppleTalk protocol """
- want = 'cat '
+ """AppleTalk address - Addresses a device or service connected via the AppleTalk protocol """
+ want = 'cat '
class _Prop_AppleTalk_machine(aetools.NProperty):
- """AppleTalk machine - the machine name part of the address """
- which = 'patm'
- want = 'TEXT'
+ """AppleTalk machine - the machine name part of the address """
+ which = 'patm'
+ want = 'TEXT'
class _Prop_AppleTalk_type(aetools.NProperty):
- """AppleTalk type - the type part of the AppleTalk address """
- which = 'patt'
- want = 'TEXT'
+ """AppleTalk type - the type part of the AppleTalk address """
+ which = 'patt'
+ want = 'TEXT'
class _Prop_AppleTalk_zone(aetools.NProperty):
- """AppleTalk zone - the zone part of the address """
- which = 'patz'
- want = 'TEXT'
+ """AppleTalk zone - the zone part of the address """
+ which = 'patz'
+ want = 'TEXT'
AppleTalk_addresses = AppleTalk_address
class bus_slot(aetools.ComponentItem):
- """bus slot - Addresses a PC, PCI, or NuBus card """
- want = 'cbus'
+ """bus slot - Addresses a PC, PCI, or NuBus card """
+ want = 'cbus'
bus_slots = bus_slot
class device_specification(aetools.ComponentItem):
- """device specification - A device connected to a computer """
- want = 'cdev'
+ """device specification - A device connected to a computer """
+ want = 'cdev'
class _Prop_device_address(aetools.NProperty):
- """device address - the address of the device """
- which = 'pdva'
- want = 'cadr'
+ """device address - the address of the device """
+ which = 'pdva'
+ want = 'cadr'
class _Prop_device_type(aetools.NProperty):
- """device type - the kind of device """
- which = 'pdvt'
- want = 'edvt'
+ """device type - the kind of device """
+ which = 'pdvt'
+ want = 'edvt'
device_specifications = device_specification
class Ethernet_address(aetools.ComponentItem):
- """Ethernet address - Addresses a device by its Ethernet address """
- want = 'cen '
+ """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 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 '
+ """IP address - Addresses a device or service via the Internet Protocol (IP) """
+ want = 'cip '
class _Prop_DNS_form(aetools.NProperty):
- """DNS form - the address in the form "apple.com" """
- which = 'pdns'
- want = 'TEXT'
+ """DNS form - the address in the form "apple.com" """
+ which = 'pdns'
+ want = 'TEXT'
class _Prop_port(aetools.NProperty):
- """port - the port number of the service or client being addressed """
- which = 'ppor'
- want = 'TEXT'
+ """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 '
+ """LocalTalk address - Addresses a device by its LocalTalk address """
+ want = 'clt '
class _Prop_network(aetools.NProperty):
- """network - the LocalTalk network number """
- which = 'pnet'
- want = 'shor'
+ """network - the LocalTalk network number """
+ which = 'pnet'
+ want = 'shor'
class _Prop_node(aetools.NProperty):
- """node - the LocalTalk node number """
- which = 'pnod'
- want = 'shor'
+ """node - the LocalTalk node number """
+ which = 'pnod'
+ want = 'shor'
class _Prop_socket(aetools.NProperty):
- """socket - the LocalTalk socket number """
- which = 'psoc'
- want = 'shor'
+ """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'
+ """SCSI address - Addresses a SCSI device """
+ want = 'cscs'
class _Prop_LUN(aetools.NProperty):
- """LUN - the SCSI logical unit number """
- which = 'pslu'
- want = 'shor'
+ """LUN - the SCSI logical unit number """
+ which = 'pslu'
+ want = 'shor'
class _Prop_SCSI_bus(aetools.NProperty):
- """SCSI bus - the SCSI bus number """
- which = 'pscb'
- want = 'shor'
+ """SCSI bus - the SCSI bus number """
+ which = 'pscb'
+ 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 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'
+ """USB address - Addresses a device on the Universal Serial Bus """
+ want = 'cusb'
class _Prop_name(aetools.NProperty):
- """name - the USB device name """
- which = 'pnam'
- want = 'TEXT'
+ """name - the USB device name """
+ which = 'pnam'
+ want = 'TEXT'
USB_Addresses = USB_address
ADB_address._superclassnames = ['address_specification']
ADB_address._privpropdict = {
- 'ID' : _Prop_ID,
- '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
+ 'ID' : _Prop_ID,
+ '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
}
ADB_address._privelemdict = {
}
address_specification._superclassnames = []
address_specification._privpropdict = {
- 'conduit' : _Prop_conduit,
- 'properties' : _Prop_properties,
- 'protocol' : _Prop_protocol,
+ 'conduit' : _Prop_conduit,
+ 'properties' : _Prop_properties,
+ 'protocol' : _Prop_protocol,
}
address_specification._privelemdict = {
}
AppleTalk_address._superclassnames = ['address_specification']
AppleTalk_address._privpropdict = {
- 'AppleTalk_machine' : _Prop_AppleTalk_machine,
- 'AppleTalk_type' : _Prop_AppleTalk_type,
- 'AppleTalk_zone' : _Prop_AppleTalk_zone,
- '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
+ 'AppleTalk_machine' : _Prop_AppleTalk_machine,
+ 'AppleTalk_type' : _Prop_AppleTalk_type,
+ 'AppleTalk_zone' : _Prop_AppleTalk_zone,
+ '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
}
AppleTalk_address._privelemdict = {
}
bus_slot._superclassnames = ['address_specification']
bus_slot._privpropdict = {
- 'ID' : _Prop_ID,
- '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
+ 'ID' : _Prop_ID,
+ '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
}
bus_slot._privelemdict = {
}
device_specification._superclassnames = []
device_specification._privpropdict = {
- 'device_address' : _Prop_device_address,
- 'device_type' : _Prop_device_type,
- 'properties' : _Prop_properties,
+ 'device_address' : _Prop_device_address,
+ 'device_type' : _Prop_device_type,
+ 'properties' : _Prop_properties,
}
device_specification._privelemdict = {
}
Ethernet_address._superclassnames = ['address_specification']
Ethernet_address._privpropdict = {
- 'ID' : _Prop_ID,
- '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
+ 'ID' : _Prop_ID,
+ '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
}
Ethernet_address._privelemdict = {
}
FireWire_address._superclassnames = ['address_specification']
FireWire_address._privpropdict = {
- 'ID' : _Prop_ID,
- '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
+ 'ID' : _Prop_ID,
+ '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
}
FireWire_address._privelemdict = {
}
IP_address._superclassnames = ['address_specification']
IP_address._privpropdict = {
- 'DNS_form' : _Prop_DNS_form,
- 'ID' : _Prop_ID,
- '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
- 'port' : _Prop_port,
+ 'DNS_form' : _Prop_DNS_form,
+ 'ID' : _Prop_ID,
+ '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
+ 'port' : _Prop_port,
}
IP_address._privelemdict = {
}
LocalTalk_address._superclassnames = ['address_specification']
LocalTalk_address._privpropdict = {
- '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
- 'network' : _Prop_network,
- 'node' : _Prop_node,
- 'socket' : _Prop_socket,
+ '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
+ 'network' : _Prop_network,
+ 'node' : _Prop_node,
+ 'socket' : _Prop_socket,
}
LocalTalk_address._privelemdict = {
}
SCSI_address._superclassnames = ['address_specification']
SCSI_address._privpropdict = {
- 'ID' : _Prop_ID,
- 'LUN' : _Prop_LUN,
- 'SCSI_bus' : _Prop_SCSI_bus,
- '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
+ 'ID' : _Prop_ID,
+ 'LUN' : _Prop_LUN,
+ 'SCSI_bus' : _Prop_SCSI_bus,
+ '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
}
SCSI_address._privelemdict = {
}
Token_Ring_address._superclassnames = ['address_specification']
Token_Ring_address._privpropdict = {
- 'ID' : _Prop_ID,
- '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
+ 'ID' : _Prop_ID,
+ '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
}
Token_Ring_address._privelemdict = {
}
USB_address._superclassnames = ['address_specification']
USB_address._privpropdict = {
- '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
- 'name' : _Prop_name,
+ '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
+ 'name' : _Prop_name,
}
USB_address._privelemdict = {
}
_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', #
+ '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_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', #
+ '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_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', #
+ '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', #
}
@@ -328,16 +328,46 @@ _Enum_epro = {
# Indices of types declared in this module
#
_classdeclarations = {
- 'cadb' : ADB_address,
- 'cadr' : address_specification,
- 'cat ' : AppleTalk_address,
- 'cbus' : bus_slot,
- 'cdev' : device_specification,
- 'cen ' : Ethernet_address,
- 'cfw ' : FireWire_address,
- 'cip ' : IP_address,
- 'clt ' : LocalTalk_address,
- 'cscs' : SCSI_address,
- 'ctok' : Token_Ring_address,
- 'cusb' : USB_address,
+ 'cadb' : ADB_address,
+ 'cadr' : address_specification,
+ 'cat ' : AppleTalk_address,
+ 'cbus' : bus_slot,
+ 'cdev' : device_specification,
+ 'cen ' : Ethernet_address,
+ 'cfw ' : FireWire_address,
+ 'cip ' : IP_address,
+ 'clt ' : LocalTalk_address,
+ 'cscs' : SCSI_address,
+ 'ctok' : Token_Ring_address,
+ 'cusb' : USB_address,
+}
+
+_propdeclarations = {
+ 'ID ' : _Prop_ID,
+ 'c@#^' : _Prop__3c_inheritance_3e_,
+ 'pALL' : _Prop_properties,
+ 'patm' : _Prop_AppleTalk_machine,
+ 'patt' : _Prop_AppleTalk_type,
+ 'patz' : _Prop_AppleTalk_zone,
+ 'pcon' : _Prop_conduit,
+ 'pdns' : _Prop_DNS_form,
+ 'pdva' : _Prop_device_address,
+ 'pdvt' : _Prop_device_type,
+ 'pnam' : _Prop_name,
+ 'pnet' : _Prop_network,
+ 'pnod' : _Prop_node,
+ 'ppor' : _Prop_port,
+ 'pprt' : _Prop_protocol,
+ 'pscb' : _Prop_SCSI_bus,
+ 'pslu' : _Prop_LUN,
+ 'psoc' : _Prop_socket,
+}
+
+_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
index 4bbab39..5262225 100644
--- a/Lib/plat-mac/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suite.py
+++ b/Lib/plat-mac/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suite.py
@@ -12,250 +12,250 @@ _code = 'qdrw'
class QuickDraw_Graphics_Suite_Events:
- pass
+ pass
class arc(aetools.ComponentItem):
- """arc - An arc """
- want = 'carc'
+ """arc - An arc """
+ want = 'carc'
class _Prop_arc_angle(aetools.NProperty):
- """arc angle - the angle of the arc in degrees """
- which = 'parc'
- want = 'fixd'
+ """arc angle - the angle of the arc in degrees """
+ which = 'parc'
+ want = 'fixd'
class _Prop_bounds(aetools.NProperty):
- """bounds - the smallest rectangle that contains the entire arc """
- which = 'pbnd'
- want = 'qdrt'
+ """bounds - the smallest rectangle that contains the entire arc """
+ which = 'pbnd'
+ want = 'qdrt'
class _Prop_definition_rect(aetools.NProperty):
- """definition rect - the rectangle that contains the circle or oval used to define the arc """
- which = 'pdrt'
- want = 'qdrt'
+ """definition rect - the rectangle that contains the circle or oval used to define the arc """
+ which = 'pdrt'
+ want = 'qdrt'
class _Prop_fill_color(aetools.NProperty):
- """fill color - the fill color """
- which = 'flcl'
- want = 'cRGB'
+ """fill color - the fill color """
+ which = 'flcl'
+ want = 'cRGB'
class _Prop_fill_pattern(aetools.NProperty):
- """fill pattern - the fill pattern """
- which = 'flpt'
- want = 'cpix'
+ """fill pattern - the fill pattern """
+ which = 'flpt'
+ want = 'cpix'
class _Prop_pen_color(aetools.NProperty):
- """pen color - the pen color """
- which = 'ppcl'
- want = 'cRGB'
+ """pen color - the pen color """
+ which = 'ppcl'
+ want = 'cRGB'
class _Prop_pen_pattern(aetools.NProperty):
- """pen pattern - the pen pattern """
- which = 'pppa'
- want = 'cpix'
+ """pen pattern - the pen pattern """
+ which = 'pppa'
+ want = 'cpix'
class _Prop_pen_width(aetools.NProperty):
- """pen width - the pen width """
- which = 'ppwd'
- want = 'shor'
+ """pen width - the pen width """
+ which = 'ppwd'
+ want = 'shor'
class _Prop_start_angle(aetools.NProperty):
- """start angle - the angle that defines the start of the arc, in degrees """
- which = 'pang'
- want = 'fixd'
+ """start angle - the angle that defines the start of the arc, in degrees """
+ which = 'pang'
+ want = 'fixd'
class _Prop_transfer_mode(aetools.NProperty):
- """transfer mode - the transfer mode """
- which = 'pptm'
- want = 'tran'
+ """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'
+ """drawing area - Container for graphics and supporting information """
+ want = 'cdrw'
class _Prop_background_color(aetools.NProperty):
- """background color - the color used to fill in unoccupied areas """
- which = 'pbcl'
- want = 'cRGB'
+ """background color - the color used to fill in unoccupied areas """
+ which = 'pbcl'
+ want = 'cRGB'
class _Prop_background_pattern(aetools.NProperty):
- """background pattern - the pattern used to fill in unoccupied areas """
- which = 'pbpt'
- want = 'cpix'
+ """background pattern - the pattern used to fill in unoccupied areas """
+ which = 'pbpt'
+ want = 'cpix'
class _Prop_color_table(aetools.NProperty):
- """color table - the color table """
- which = 'cltb'
- want = 'clrt'
+ """color table - the color table """
+ which = 'cltb'
+ want = 'clrt'
class _Prop_default_font(aetools.NProperty):
- """default font - the name of the default font for text objects """
- which = 'ptxf'
- want = 'itxt'
+ """default font - the name of the default font for text objects """
+ which = 'ptxf'
+ want = 'itxt'
class _Prop_default_location(aetools.NProperty):
- """default location - the default location of each new graphic object """
- which = 'pnel'
- want = 'QDpt'
+ """default location - the default location of each new graphic object """
+ which = 'pnel'
+ want = 'QDpt'
class _Prop_default_size(aetools.NProperty):
- """default size - the default size for text objects """
- which = 'ptps'
- want = 'fixd'
+ """default size - the default size for text objects """
+ which = 'ptps'
+ want = 'fixd'
class _Prop_name(aetools.NProperty):
- """name - the name """
- which = 'pnam'
- want = 'itxt'
+ """name - the name """
+ which = 'pnam'
+ want = 'itxt'
class _Prop_ordering(aetools.NProperty):
- """ordering - the ordered list of graphic objects in the drawing area """
- which = 'gobs'
- want = 'obj '
+ """ordering - the ordered list of graphic objects in the drawing area """
+ which = 'gobs'
+ want = 'obj '
class _Prop_pixel_depth(aetools.NProperty):
- """pixel depth - the number of bits per pixel """
- which = 'pdpt'
- want = 'shor'
+ """pixel depth - the number of bits per pixel """
+ which = 'pdpt'
+ want = 'shor'
class _Prop_style(aetools.NProperty):
- """style - the default text style for text objects """
- which = 'txst'
- want = 'tsty'
+ """style - the default text style for text objects """
+ which = 'txst'
+ want = 'tsty'
class _Prop_text_color(aetools.NProperty):
- """text color - the default color for text objects """
- which = 'ptxc'
- want = 'cRGB'
+ """text color - the default color for text objects """
+ which = 'ptxc'
+ want = 'cRGB'
class _Prop_update_on_change(aetools.NProperty):
- """update on change - Redraw after each change? """
- which = 'pupd'
- want = 'bool'
+ """update on change - Redraw after each change? """
+ which = 'pupd'
+ want = 'bool'
class _Prop_writing_code(aetools.NProperty):
- """writing code - the script system and language of text objects in the drawing area """
- which = 'psct'
- want = 'intl'
+ """writing code - the script system and language of text objects in the drawing area """
+ which = 'psct'
+ want = 'intl'
drawing_areas = drawing_area
class graphic_objects(aetools.ComponentItem):
- """graphic objects - """
- want = 'cgob'
+ """graphic objects - """
+ want = 'cgob'
graphic_object = graphic_objects
class graphic_shapes(aetools.ComponentItem):
- """graphic shapes - """
- want = 'cgsh'
+ """graphic shapes - """
+ want = 'cgsh'
graphic_shape = graphic_shapes
class graphic_text(aetools.ComponentItem):
- """graphic text - A series of characters within a drawing area """
- want = 'cgtx'
+ """graphic text - A series of characters within a drawing area """
+ want = 'cgtx'
class _Prop_color(aetools.NProperty):
- """color - the color of the first character """
- which = 'colr'
- want = 'cRGB'
+ """color - the color of the first character """
+ which = 'colr'
+ want = 'cRGB'
class _Prop_font(aetools.NProperty):
- """font - the name of the font of the first character """
- which = 'font'
- want = 'ctxt'
+ """font - the name of the font of the first character """
+ which = 'font'
+ want = 'ctxt'
class _Prop_size(aetools.NProperty):
- """size - the size in points of the first character """
- which = 'ptsz'
- want = 'fixd'
+ """size - the size in points of the first character """
+ which = 'ptsz'
+ want = 'fixd'
class _Prop_uniform_styles(aetools.NProperty):
- """uniform styles - the text styles that are uniform throughout the text """
- which = 'ustl'
- want = 'tsty'
+ """uniform styles - the text styles that are uniform throughout the text """
+ which = 'ustl'
+ want = 'tsty'
class ovals(aetools.ComponentItem):
- """ovals - """
- want = 'covl'
+ """ovals - """
+ want = 'covl'
oval = ovals
class polygon(aetools.ComponentItem):
- """polygon - A polygon """
- want = 'cpgn'
+ """polygon - A polygon """
+ want = 'cpgn'
class _Prop_point_list(aetools.NProperty):
- """point list - the list of points that define the polygon """
- which = 'ptlt'
- want = 'QDpt'
+ """point list - the list of points that define the polygon """
+ which = 'ptlt'
+ want = 'QDpt'
polygons = polygon
class graphic_groups(aetools.ComponentItem):
- """graphic groups - """
- want = 'cpic'
+ """graphic groups - """
+ want = 'cpic'
graphic_group = graphic_groups
class pixel_maps(aetools.ComponentItem):
- """pixel maps - """
- want = 'cpix'
+ """pixel maps - """
+ want = 'cpix'
pixel_map = pixel_maps
class pixel(aetools.ComponentItem):
- """pixel - A pixel """
- want = 'cpxl'
+ """pixel - A pixel """
+ want = 'cpxl'
pixels = pixel
class rectangles(aetools.ComponentItem):
- """rectangles - """
- want = 'crec'
+ """rectangles - """
+ want = 'crec'
rectangle = rectangles
class rounded_rectangle(aetools.ComponentItem):
- """rounded rectangle - A rounded rectangle """
- want = 'crrc'
+ """rounded rectangle - A rounded rectangle """
+ want = 'crrc'
class _Prop_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'
+ """corner curve height - the height of the oval used to define the shape of the rounded corners """
+ which = 'pchd'
+ want = 'shor'
class _Prop_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'
+ """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
class graphic_line(aetools.ComponentItem):
- """graphic line - A graphic line """
- want = 'glin'
+ """graphic line - A graphic line """
+ want = 'glin'
class _Prop_arrow_style(aetools.NProperty):
- """arrow style - the arrow style """
- which = 'arro'
- want = 'arro'
+ """arrow style - the arrow style """
+ which = 'arro'
+ want = 'arro'
class _Prop_dash_style(aetools.NProperty):
- """dash style - the dash style """
- which = 'pdst'
- want = 'tdas'
+ """dash style - the dash style """
+ which = 'pdst'
+ want = 'tdas'
class _Prop_end_point(aetools.NProperty):
- """end point - the ending point of the line """
- which = 'pend'
- want = 'QDpt'
+ """end point - the ending point of the line """
+ which = 'pend'
+ want = 'QDpt'
class _Prop_start_point(aetools.NProperty):
- """start point - the starting point of the line """
- which = 'pstp'
- want = 'QDpt'
+ """start point - the starting point of the line """
+ which = 'pstp'
+ want = 'QDpt'
graphic_lines = graphic_line
arc._superclassnames = []
arc._privpropdict = {
- 'arc_angle' : _Prop_arc_angle,
- 'bounds' : _Prop_bounds,
- 'definition_rect' : _Prop_definition_rect,
- 'fill_color' : _Prop_fill_color,
- 'fill_pattern' : _Prop_fill_pattern,
- 'pen_color' : _Prop_pen_color,
- 'pen_pattern' : _Prop_pen_pattern,
- 'pen_width' : _Prop_pen_width,
- 'start_angle' : _Prop_start_angle,
- 'transfer_mode' : _Prop_transfer_mode,
+ 'arc_angle' : _Prop_arc_angle,
+ 'bounds' : _Prop_bounds,
+ 'definition_rect' : _Prop_definition_rect,
+ 'fill_color' : _Prop_fill_color,
+ 'fill_pattern' : _Prop_fill_pattern,
+ 'pen_color' : _Prop_pen_color,
+ 'pen_pattern' : _Prop_pen_pattern,
+ 'pen_width' : _Prop_pen_width,
+ 'start_angle' : _Prop_start_angle,
+ 'transfer_mode' : _Prop_transfer_mode,
}
arc._privelemdict = {
}
drawing_area._superclassnames = []
drawing_area._privpropdict = {
- 'background_color' : _Prop_background_color,
- 'background_pattern' : _Prop_background_pattern,
- 'color_table' : _Prop_color_table,
- 'default_font' : _Prop_default_font,
- 'default_location' : _Prop_default_location,
- 'default_size' : _Prop_default_size,
- 'name' : _Prop_name,
- 'ordering' : _Prop_ordering,
- 'pixel_depth' : _Prop_pixel_depth,
- 'style' : _Prop_style,
- 'text_color' : _Prop_text_color,
- 'update_on_change' : _Prop_update_on_change,
- 'writing_code' : _Prop_writing_code,
+ 'background_color' : _Prop_background_color,
+ 'background_pattern' : _Prop_background_pattern,
+ 'color_table' : _Prop_color_table,
+ 'default_font' : _Prop_default_font,
+ 'default_location' : _Prop_default_location,
+ 'default_size' : _Prop_default_size,
+ 'name' : _Prop_name,
+ 'ordering' : _Prop_ordering,
+ 'pixel_depth' : _Prop_pixel_depth,
+ 'style' : _Prop_style,
+ 'text_color' : _Prop_text_color,
+ 'update_on_change' : _Prop_update_on_change,
+ 'writing_code' : _Prop_writing_code,
}
drawing_area._privelemdict = {
}
@@ -271,10 +271,10 @@ graphic_shapes._privelemdict = {
}
graphic_text._superclassnames = []
graphic_text._privpropdict = {
- 'color' : _Prop_color,
- 'font' : _Prop_font,
- 'size' : _Prop_size,
- 'uniform_styles' : _Prop_uniform_styles,
+ 'color' : _Prop_color,
+ 'font' : _Prop_font,
+ 'size' : _Prop_size,
+ 'uniform_styles' : _Prop_uniform_styles,
}
graphic_text._privelemdict = {
}
@@ -285,7 +285,7 @@ ovals._privelemdict = {
}
polygon._superclassnames = []
polygon._privpropdict = {
- 'point_list' : _Prop_point_list,
+ 'point_list' : _Prop_point_list,
}
polygon._privelemdict = {
}
@@ -301,7 +301,7 @@ pixel_maps._privelemdict = {
}
pixel._superclassnames = []
pixel._privpropdict = {
- 'color' : _Prop_color,
+ 'color' : _Prop_color,
}
pixel._privelemdict = {
}
@@ -312,43 +312,43 @@ rectangles._privelemdict = {
}
rounded_rectangle._superclassnames = []
rounded_rectangle._privpropdict = {
- 'corner_curve_height' : _Prop_corner_curve_height,
- 'corner_curve_width' : _Prop_corner_curve_width,
+ 'corner_curve_height' : _Prop_corner_curve_height,
+ 'corner_curve_width' : _Prop_corner_curve_width,
}
rounded_rectangle._privelemdict = {
}
graphic_line._superclassnames = []
graphic_line._privpropdict = {
- 'arrow_style' : _Prop_arrow_style,
- 'dash_style' : _Prop_dash_style,
- 'end_point' : _Prop_end_point,
- 'start_point' : _Prop_start_point,
+ 'arrow_style' : _Prop_arrow_style,
+ 'dash_style' : _Prop_dash_style,
+ 'end_point' : _Prop_end_point,
+ 'start_point' : _Prop_start_point,
}
graphic_line._privelemdict = {
}
_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
+ '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
}
_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', #
+ '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', #
}
@@ -356,17 +356,62 @@ _Enum_tran = {
# Indices of types declared in this module
#
_classdeclarations = {
- 'carc' : arc,
- 'cdrw' : drawing_area,
- 'cgob' : graphic_objects,
- 'cgsh' : graphic_shapes,
- 'cgtx' : graphic_text,
- 'covl' : ovals,
- 'cpgn' : polygon,
- 'cpic' : graphic_groups,
- 'cpix' : pixel_maps,
- 'cpxl' : pixel,
- 'crec' : rectangles,
- 'crrc' : rounded_rectangle,
- 'glin' : graphic_line,
+ 'carc' : arc,
+ 'cdrw' : drawing_area,
+ 'cgob' : graphic_objects,
+ 'cgsh' : graphic_shapes,
+ 'cgtx' : graphic_text,
+ 'covl' : ovals,
+ 'cpgn' : polygon,
+ 'cpic' : graphic_groups,
+ 'cpix' : pixel_maps,
+ 'cpxl' : pixel,
+ 'crec' : rectangles,
+ 'crrc' : rounded_rectangle,
+ 'glin' : graphic_line,
+}
+
+_propdeclarations = {
+ 'arro' : _Prop_arrow_style,
+ 'cltb' : _Prop_color_table,
+ 'colr' : _Prop_color,
+ 'flcl' : _Prop_fill_color,
+ 'flpt' : _Prop_fill_pattern,
+ 'font' : _Prop_font,
+ 'gobs' : _Prop_ordering,
+ 'pang' : _Prop_start_angle,
+ 'parc' : _Prop_arc_angle,
+ 'pbcl' : _Prop_background_color,
+ 'pbnd' : _Prop_bounds,
+ 'pbpt' : _Prop_background_pattern,
+ 'pchd' : _Prop_corner_curve_height,
+ 'pcwd' : _Prop_corner_curve_width,
+ 'pdpt' : _Prop_pixel_depth,
+ 'pdrt' : _Prop_definition_rect,
+ 'pdst' : _Prop_dash_style,
+ 'pend' : _Prop_end_point,
+ 'pnam' : _Prop_name,
+ 'pnel' : _Prop_default_location,
+ 'ppcl' : _Prop_pen_color,
+ 'pppa' : _Prop_pen_pattern,
+ 'pptm' : _Prop_transfer_mode,
+ 'ppwd' : _Prop_pen_width,
+ 'psct' : _Prop_writing_code,
+ 'pstp' : _Prop_start_point,
+ 'ptlt' : _Prop_point_list,
+ 'ptps' : _Prop_default_size,
+ 'ptsz' : _Prop_size,
+ 'ptxc' : _Prop_text_color,
+ 'ptxf' : _Prop_default_font,
+ 'pupd' : _Prop_update_on_change,
+ 'txst' : _Prop_style,
+ 'ustl' : _Prop_uniform_styles,
+}
+
+_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
index 7c26d6b..31e98cc 100644
--- a/Lib/plat-mac/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suppleme.py
+++ b/Lib/plat-mac/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suppleme.py
@@ -12,37 +12,37 @@ _code = 'qdsp'
class QuickDraw_Graphics_Suppleme_Events:
- pass
+ pass
class drawing_area(aetools.ComponentItem):
- """drawing area - Container for graphics and supporting information """
- want = 'cdrw'
+ """drawing area - Container for graphics and supporting information """
+ want = 'cdrw'
class _Prop_rotation(aetools.NProperty):
- """rotation - the default rotation for objects in the drawing area """
- which = 'prot'
- want = 'trot'
+ """rotation - the default rotation for objects in the drawing area """
+ which = 'prot'
+ want = 'trot'
class _Prop_scale(aetools.NProperty):
- """scale - the default scaling for objects in the drawing area """
- which = 'pscl'
- want = 'fixd'
+ """scale - the default scaling for objects in the drawing area """
+ which = 'pscl'
+ want = 'fixd'
class _Prop_translation(aetools.NProperty):
- """translation - the default repositioning for objects in the drawing area """
- which = 'ptrs'
- want = 'QDpt'
+ """translation - the default repositioning for objects in the drawing area """
+ which = 'ptrs'
+ want = 'QDpt'
drawing_areas = drawing_area
class graphic_groups(aetools.ComponentItem):
- """graphic groups - """
- want = 'cpic'
+ """graphic groups - """
+ want = 'cpic'
graphic_group = graphic_groups
drawing_area._superclassnames = []
drawing_area._privpropdict = {
- 'rotation' : _Prop_rotation,
- 'scale' : _Prop_scale,
- 'translation' : _Prop_translation,
+ 'rotation' : _Prop_rotation,
+ 'scale' : _Prop_scale,
+ 'translation' : _Prop_translation,
}
drawing_area._privelemdict = {
}
@@ -56,6 +56,18 @@ graphic_groups._privelemdict = {
# Indices of types declared in this module
#
_classdeclarations = {
- 'cdrw' : drawing_area,
- 'cpic' : graphic_groups,
+ 'cdrw' : drawing_area,
+ 'cpic' : graphic_groups,
+}
+
+_propdeclarations = {
+ 'prot' : _Prop_rotation,
+ 'pscl' : _Prop_scale,
+ 'ptrs' : _Prop_translation,
+}
+
+_compdeclarations = {
+}
+
+_enumdeclarations = {
}
diff --git a/Lib/plat-mac/lib-scriptpackages/StdSuites/Required_Suite.py b/Lib/plat-mac/lib-scriptpackages/StdSuites/Required_Suite.py
index 0bd5696..1a45d92 100644
--- a/Lib/plat-mac/lib-scriptpackages/StdSuites/Required_Suite.py
+++ b/Lib/plat-mac/lib-scriptpackages/StdSuites/Required_Suite.py
@@ -13,7 +13,7 @@ _code = 'reqd'
from _builtinSuites.builtin_Suite import *
class Required_Suite_Events(builtin_Suite_Events):
- pass
+ pass
#
@@ -21,3 +21,12 @@ class Required_Suite_Events(builtin_Suite_Events):
#
_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
index 45a4b0d..0c1fd74 100644
--- a/Lib/plat-mac/lib-scriptpackages/StdSuites/Standard_Suite.py
+++ b/Lib/plat-mac/lib-scriptpackages/StdSuites/Standard_Suite.py
@@ -13,550 +13,550 @@ _code = 'core'
from _builtinSuites.builtin_Suite import *
class Standard_Suite_Events(builtin_Suite_Events):
- _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['----']
-
- _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 or alias 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['----']
-
- _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['----']
-
- 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['----']
-
- _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['----']
-
- 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['----']
-
- 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 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['----']
-
- 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 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['----']
-
- _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 or alias 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_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_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['----']
+
+ _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 or alias 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['----']
+
+ _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['----']
+
+ 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['----']
+
+ _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['----']
+
+ 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['----']
+
+ 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 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['----']
+
+ 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 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['----']
+
+ _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 or alias 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_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['----']
class aliases(aetools.ComponentItem):
- """aliases - """
- want = 'alis'
+ """aliases - """
+ want = 'alis'
alias = aliases
class application(aetools.ComponentItem):
- """application - An application program """
- want = 'capp'
+ """application - An application program """
+ want = 'capp'
class _Prop_clipboard(aetools.NProperty):
- """clipboard - the contents of the clipboard for this application """
- which = 'pcli'
- want = '****'
+ """clipboard - the contents of the clipboard for this application """
+ which = 'pcli'
+ want = '****'
class _Prop_frontmost(aetools.NProperty):
- """frontmost - Is this the frontmost application? """
- which = 'pisf'
- want = 'bool'
+ """frontmost - Is this the frontmost application? """
+ which = 'pisf'
+ want = 'bool'
class _Prop_name(aetools.NProperty):
- """name - the name of the application """
- which = 'pnam'
- want = 'itxt'
+ """name - the name of the application """
+ which = 'pnam'
+ want = 'itxt'
class _Prop_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'
+ """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 _Prop_version(aetools.NProperty):
- """version - the version of the application """
- which = 'vers'
- want = 'vers'
+ """version - the version of the application """
+ which = 'vers'
+ want = 'vers'
applications = application
class insertion_points(aetools.ComponentItem):
- """insertion points - """
- want = 'cins'
+ """insertion points - """
+ want = 'cins'
insertion_point = insertion_points
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'
+ """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 _Prop_contents(aetools.NProperty):
- """contents - the information currently selected. Use \xd4contents of selection\xd5 to get or change information in a document. """
- which = 'pcnt'
- want = '****'
+ """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'
+ """window - A window """
+ want = 'cwin'
class _Prop_bounds(aetools.NProperty):
- """bounds - the boundary rectangle for the window """
- which = 'pbnd'
- want = 'qdrt'
+ """bounds - the boundary rectangle for the window """
+ which = 'pbnd'
+ want = 'qdrt'
class _Prop_closeable(aetools.NProperty):
- """closeable - Does the window have a close box? """
- which = 'hclb'
- want = 'bool'
+ """closeable - Does the window have a close box? """
+ which = 'hclb'
+ want = 'bool'
class _Prop_floating(aetools.NProperty):
- """floating - Does the window float? """
- which = 'isfl'
- want = 'bool'
+ """floating - Does the window float? """
+ which = 'isfl'
+ want = 'bool'
class _Prop_index(aetools.NProperty):
- """index - the number of the window """
- which = 'pidx'
- want = 'long'
+ """index - the number of the window """
+ which = 'pidx'
+ want = 'long'
class _Prop_modal(aetools.NProperty):
- """modal - Is the window modal? """
- which = 'pmod'
- want = 'bool'
+ """modal - Is the window modal? """
+ which = 'pmod'
+ want = 'bool'
class _Prop_resizable(aetools.NProperty):
- """resizable - Is the window resizable? """
- which = 'prsz'
- want = 'bool'
+ """resizable - Is the window resizable? """
+ which = 'prsz'
+ want = 'bool'
class _Prop_titled(aetools.NProperty):
- """titled - Does the window have a title bar? """
- which = 'ptit'
- want = 'bool'
+ """titled - Does the window have a title bar? """
+ which = 'ptit'
+ want = 'bool'
class _Prop_visible(aetools.NProperty):
- """visible - Is the window visible? """
- which = 'pvis'
- want = 'bool'
+ """visible - Is the window visible? """
+ which = 'pvis'
+ want = 'bool'
class _Prop_zoomable(aetools.NProperty):
- """zoomable - Is the window zoomable? """
- which = 'iszm'
- want = 'bool'
+ """zoomable - Is the window zoomable? """
+ which = 'iszm'
+ want = 'bool'
class _Prop_zoomed(aetools.NProperty):
- """zoomed - Is the window zoomed? """
- which = 'pzum'
- want = 'bool'
+ """zoomed - Is the window zoomed? """
+ which = 'pzum'
+ want = 'bool'
windows = window
class document(aetools.ComponentItem):
- """document - A document of a scriptable application """
- want = 'docu'
+ """document - A document of a scriptable application """
+ want = 'docu'
class _Prop_modified(aetools.NProperty):
- """modified - Has the document been modified since the last save? """
- which = 'imod'
- want = 'bool'
+ """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 """
- want = 'file'
+ """file - a file on a disk or server """
+ want = 'file'
class _Prop_stationery(aetools.NProperty):
- """stationery - Is the file a stationery file? """
- which = 'pspd'
- want = 'bool'
+ """stationery - Is the file a stationery file? """
+ which = 'pspd'
+ want = 'bool'
files = file
aliases._superclassnames = []
@@ -566,11 +566,11 @@ aliases._privelemdict = {
}
application._superclassnames = []
application._privpropdict = {
- 'clipboard' : _Prop_clipboard,
- 'frontmost' : _Prop_frontmost,
- 'name' : _Prop_name,
- 'selection' : _Prop_selection,
- 'version' : _Prop_version,
+ 'clipboard' : _Prop_clipboard,
+ 'frontmost' : _Prop_frontmost,
+ 'name' : _Prop_name,
+ 'selection' : _Prop_selection,
+ 'version' : _Prop_version,
}
application._privelemdict = {
}
@@ -581,81 +581,81 @@ insertion_points._privelemdict = {
}
selection_2d_object._superclassnames = []
selection_2d_object._privpropdict = {
- 'contents' : _Prop_contents,
+ 'contents' : _Prop_contents,
}
selection_2d_object._privelemdict = {
}
window._superclassnames = []
window._privpropdict = {
- 'bounds' : _Prop_bounds,
- 'closeable' : _Prop_closeable,
- 'floating' : _Prop_floating,
- 'index' : _Prop_index,
- 'modal' : _Prop_modal,
- 'resizable' : _Prop_resizable,
- 'titled' : _Prop_titled,
- 'visible' : _Prop_visible,
- 'zoomable' : _Prop_zoomable,
- 'zoomed' : _Prop_zoomed,
+ 'bounds' : _Prop_bounds,
+ 'closeable' : _Prop_closeable,
+ 'floating' : _Prop_floating,
+ 'index' : _Prop_index,
+ 'modal' : _Prop_modal,
+ 'resizable' : _Prop_resizable,
+ 'titled' : _Prop_titled,
+ 'visible' : _Prop_visible,
+ 'zoomable' : _Prop_zoomable,
+ 'zoomed' : _Prop_zoomed,
}
window._privelemdict = {
}
document._superclassnames = []
document._privpropdict = {
- 'modified' : _Prop_modified,
+ 'modified' : _Prop_modified,
}
document._privelemdict = {
}
file._superclassnames = []
file._privpropdict = {
- 'stationery' : _Prop_stationery,
+ 'stationery' : _Prop_stationery,
}
file._privelemdict = {
}
class _3c_(aetools.NComparison):
- """< - Less than """
+ """< - Less than """
class _3d_(aetools.NComparison):
- """= - Equal """
+ """= - Equal """
class _3e_(aetools.NComparison):
- """> - Greater than """
+ """> - Greater than """
class contains(aetools.NComparison):
- """contains - Contains """
+ """contains - Contains """
class ends_with(aetools.NComparison):
- """ends with - Ends with """
+ """ends with - Ends with """
class starts_with(aetools.NComparison):
- """starts with - Starts with """
+ """starts with - Starts with """
class _b2_(aetools.NComparison):
- """\xb2 - Less than or equal to """
+ """\xb2 - Less than or equal to """
class _b3_(aetools.NComparison):
- """\xb3 - Greater than or equal to """
+ """\xb3 - Greater than or equal to """
_Enum_kfrm = {
- 'index' : 'indx', # keyform designating indexed access
- 'named' : 'name', # keyform designating named access
- 'id' : 'ID ', # keyform designating access by unique identifier
+ 'index' : 'indx', # keyform designating indexed access
+ 'named' : 'name', # keyform designating named access
+ 'id' : 'ID ', # keyform designating access by unique identifier
}
_Enum_savo = {
- 'yes' : 'yes ', # Save objects now
- 'no' : 'no ', # Do not save objects
- 'ask' : 'ask ', # Ask the user whether to save
+ 'yes' : 'yes ', # Save objects now
+ 'no' : 'no ', # Do not save objects
+ 'ask' : 'ask ', # Ask the user whether to save
}
_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
+ '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
}
@@ -663,11 +663,49 @@ _Enum_styl = {
# Indices of types declared in this module
#
_classdeclarations = {
- 'alis' : aliases,
- 'capp' : application,
- 'cins' : insertion_points,
- 'csel' : selection_2d_object,
- 'cwin' : window,
- 'docu' : document,
- 'file' : file,
+ 'alis' : aliases,
+ 'capp' : application,
+ 'cins' : insertion_points,
+ 'csel' : selection_2d_object,
+ 'cwin' : window,
+ 'docu' : document,
+ 'file' : file,
+}
+
+_propdeclarations = {
+ 'hclb' : _Prop_closeable,
+ 'imod' : _Prop_modified,
+ 'isfl' : _Prop_floating,
+ 'iszm' : _Prop_zoomable,
+ 'pbnd' : _Prop_bounds,
+ 'pcli' : _Prop_clipboard,
+ 'pcnt' : _Prop_contents,
+ 'pidx' : _Prop_index,
+ 'pisf' : _Prop_frontmost,
+ 'pmod' : _Prop_modal,
+ 'pnam' : _Prop_name,
+ 'prsz' : _Prop_resizable,
+ 'pspd' : _Prop_stationery,
+ 'ptit' : _Prop_titled,
+ 'pvis' : _Prop_visible,
+ 'pzum' : _Prop_zoomed,
+ 'sele' : _Prop_selection,
+ 'vers' : _Prop_version,
+}
+
+_compdeclarations = {
+ '< ' : _3c_,
+ '<= ' : _b2_,
+ '= ' : _3d_,
+ '> ' : _3e_,
+ '>= ' : _b3_,
+ 'bgwt' : starts_with,
+ 'cont' : contains,
+ 'ends' : ends_with,
+}
+
+_enumdeclarations = {
+ 'kfrm' : _Enum_kfrm,
+ 'savo' : _Enum_savo,
+ 'styl' : _Enum_styl,
}
diff --git a/Lib/plat-mac/lib-scriptpackages/StdSuites/Table_Suite.py b/Lib/plat-mac/lib-scriptpackages/StdSuites/Table_Suite.py
index 09e326c..d4a00a4 100644
--- a/Lib/plat-mac/lib-scriptpackages/StdSuites/Table_Suite.py
+++ b/Lib/plat-mac/lib-scriptpackages/StdSuites/Table_Suite.py
@@ -12,54 +12,54 @@ _code = 'tbls'
class Table_Suite_Events:
- pass
+ pass
class cell(aetools.ComponentItem):
- """cell - A cell """
- want = 'ccel'
+ """cell - A cell """
+ want = 'ccel'
class _Prop_formula(aetools.NProperty):
- """formula - the formula of the cell """
- which = 'pfor'
- want = 'ctxt'
+ """formula - the formula of the cell """
+ which = 'pfor'
+ want = 'ctxt'
class _Prop_protection(aetools.NProperty):
- """protection - Indicates whether value or formula in the cell can be changed """
- which = 'ppro'
- want = 'prtn'
+ """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'
+ """column - A column """
+ want = 'ccol'
class _Prop_name(aetools.NProperty):
- """name - the name of the column """
- which = 'pnam'
- want = 'itxt'
+ """name - the name of the column """
+ which = 'pnam'
+ want = 'itxt'
columns = column
class rows(aetools.ComponentItem):
- """rows - """
- want = 'crow'
+ """rows - """
+ want = 'crow'
row = rows
class tables(aetools.ComponentItem):
- """tables - """
- want = 'ctbl'
+ """tables - """
+ want = 'ctbl'
table = tables
cell._superclassnames = []
cell._privpropdict = {
- 'formula' : _Prop_formula,
- 'protection' : _Prop_protection,
+ 'formula' : _Prop_formula,
+ 'protection' : _Prop_protection,
}
cell._privelemdict = {
}
column._superclassnames = []
column._privpropdict = {
- 'name' : _Prop_name,
+ 'name' : _Prop_name,
}
column._privelemdict = {
}
@@ -74,9 +74,9 @@ tables._privpropdict = {
tables._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
+ '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
}
@@ -84,8 +84,21 @@ _Enum_prtn = {
# Indices of types declared in this module
#
_classdeclarations = {
- 'ccel' : cell,
- 'ccol' : column,
- 'crow' : rows,
- 'ctbl' : tables,
+ 'ccel' : cell,
+ 'ccol' : column,
+ 'crow' : rows,
+ 'ctbl' : tables,
+}
+
+_propdeclarations = {
+ 'pfor' : _Prop_formula,
+ 'pnam' : _Prop_name,
+ 'ppro' : _Prop_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
index 2d9d84a..47764eb 100644
--- a/Lib/plat-mac/lib-scriptpackages/StdSuites/Text_Suite.py
+++ b/Lib/plat-mac/lib-scriptpackages/StdSuites/Text_Suite.py
@@ -12,70 +12,70 @@ _code = 'TEXT'
class Text_Suite_Events:
- pass
+ pass
class text_flow(aetools.ComponentItem):
- """text flow - A contiguous block of text. Page layout applications call this a \xd4story.\xd5 """
- want = 'cflo'
+ """text flow - A contiguous block of text. Page layout applications call this a \xd4story.\xd5 """
+ want = 'cflo'
class _Prop__3c_inheritance_3e_(aetools.NProperty):
- """<inheritance> - inherits some of its properties from this class """
- which = 'c@#^'
- want = 'ctxt'
+ """<inheritance> - inherits some of its properties from this class """
+ which = 'c@#^'
+ want = 'ctxt'
class _Prop_name(aetools.NProperty):
- """name - the name """
- which = 'pnam'
- want = 'itxt'
+ """name - the name """
+ which = 'pnam'
+ want = 'itxt'
text_flows = text_flow
class character(aetools.ComponentItem):
- """character - A character """
- want = 'cha '
+ """character - A character """
+ want = 'cha '
class line(aetools.ComponentItem):
- """line - A line of text """
- want = 'clin'
+ """line - A line of text """
+ want = 'clin'
class _Prop_justification(aetools.NProperty):
- """justification - the justification of the text """
- which = 'pjst'
- want = 'just'
+ """justification - the justification of the text """
+ which = 'pjst'
+ want = 'just'
lines = line
class paragraph(aetools.ComponentItem):
- """paragraph - A paragraph """
- want = 'cpar'
+ """paragraph - A paragraph """
+ want = 'cpar'
paragraphs = paragraph
class text(aetools.ComponentItem):
- """text - Text """
- want = 'ctxt'
+ """text - Text """
+ want = 'ctxt'
class _Prop_color(aetools.NProperty):
- """color - the color of the first character """
- which = 'colr'
- want = 'cRGB'
+ """color - the color of the first character """
+ which = 'colr'
+ want = 'cRGB'
class _Prop_font(aetools.NProperty):
- """font - the name of the font of the first character """
- which = 'font'
- want = 'ctxt'
+ """font - the name of the font of the first character """
+ which = 'font'
+ want = 'ctxt'
class _Prop_size(aetools.NProperty):
- """size - the size in points of the first character """
- which = 'ptsz'
- want = 'fixd'
+ """size - the size in points of the first character """
+ which = 'ptsz'
+ want = 'fixd'
class _Prop_style(aetools.NProperty):
- """style - the text style of the first character of the first character """
- which = 'txst'
- want = 'tsty'
+ """style - the text style of the first character of the first character """
+ which = 'txst'
+ want = 'tsty'
class _Prop_uniform_styles(aetools.NProperty):
- """uniform styles - the text styles that are uniform throughout the text """
- which = 'ustl'
- want = 'tsty'
+ """uniform styles - the text styles that are uniform throughout the text """
+ which = 'ustl'
+ want = 'tsty'
class _Prop_writing_code(aetools.NProperty):
- """writing code - the script system and language """
- which = 'psct'
- want = 'intl'
+ """writing code - the script system and language """
+ which = 'psct'
+ want = 'intl'
# element 'cha ' as ['indx']
# element 'clin' as ['indx']
# element 'cpar' as ['indx']
@@ -83,102 +83,102 @@ class _Prop_writing_code(aetools.NProperty):
# element 'cwor' as ['indx']
class word(aetools.ComponentItem):
- """word - A word """
- want = 'cwor'
+ """word - A word """
+ want = 'cwor'
words = word
class text_style_info(aetools.ComponentItem):
- """text style info - On and Off styles of text run """
- want = 'tsty'
+ """text style info - On and Off styles of text run """
+ want = 'tsty'
class _Prop_off_styles(aetools.NProperty):
- """off styles - the styles that are off for the text """
- which = 'ofst'
- want = 'styl'
+ """off styles - the styles that are off for the text """
+ which = 'ofst'
+ want = 'styl'
class _Prop_on_styles(aetools.NProperty):
- """on styles - the styles that are on for the text """
- which = 'onst'
- want = 'styl'
+ """on styles - the styles that are on for the text """
+ which = 'onst'
+ want = 'styl'
text_style_infos = text_style_info
text_flow._superclassnames = ['text']
text_flow._privpropdict = {
- '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
- 'name' : _Prop_name,
+ '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
+ 'name' : _Prop_name,
}
text_flow._privelemdict = {
}
character._superclassnames = ['text']
character._privpropdict = {
- '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
+ '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
}
character._privelemdict = {
}
line._superclassnames = ['text']
line._privpropdict = {
- '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
- 'justification' : _Prop_justification,
+ '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
+ 'justification' : _Prop_justification,
}
line._privelemdict = {
}
paragraph._superclassnames = ['text']
paragraph._privpropdict = {
- '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
+ '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
}
paragraph._privelemdict = {
}
text._superclassnames = []
text._privpropdict = {
- 'color' : _Prop_color,
- 'font' : _Prop_font,
- 'size' : _Prop_size,
- 'style' : _Prop_style,
- 'uniform_styles' : _Prop_uniform_styles,
- 'writing_code' : _Prop_writing_code,
+ 'color' : _Prop_color,
+ 'font' : _Prop_font,
+ 'size' : _Prop_size,
+ 'style' : _Prop_style,
+ 'uniform_styles' : _Prop_uniform_styles,
+ 'writing_code' : _Prop_writing_code,
}
text._privelemdict = {
- 'character' : character,
- 'line' : line,
- 'paragraph' : paragraph,
- 'text' : text,
- 'word' : word,
+ 'character' : character,
+ 'line' : line,
+ 'paragraph' : paragraph,
+ 'text' : text,
+ 'word' : word,
}
word._superclassnames = ['text']
word._privpropdict = {
- '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
+ '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_,
}
word._privelemdict = {
}
text_style_info._superclassnames = []
text_style_info._privpropdict = {
- 'off_styles' : _Prop_off_styles,
- 'on_styles' : _Prop_on_styles,
+ 'off_styles' : _Prop_off_styles,
+ 'on_styles' : _Prop_on_styles,
}
text_style_info._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
+ '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
+ '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
}
@@ -186,11 +186,33 @@ _Enum_styl = {
# Indices of types declared in this module
#
_classdeclarations = {
- 'cflo' : text_flow,
- 'cha ' : character,
- 'clin' : line,
- 'cpar' : paragraph,
- 'ctxt' : text,
- 'cwor' : word,
- 'tsty' : text_style_info,
+ 'cflo' : text_flow,
+ 'cha ' : character,
+ 'clin' : line,
+ 'cpar' : paragraph,
+ 'ctxt' : text,
+ 'cwor' : word,
+ 'tsty' : text_style_info,
+}
+
+_propdeclarations = {
+ 'c@#^' : _Prop__3c_inheritance_3e_,
+ 'colr' : _Prop_color,
+ 'font' : _Prop_font,
+ 'ofst' : _Prop_off_styles,
+ 'onst' : _Prop_on_styles,
+ 'pjst' : _Prop_justification,
+ 'pnam' : _Prop_name,
+ 'psct' : _Prop_writing_code,
+ 'ptsz' : _Prop_size,
+ 'txst' : _Prop_style,
+ 'ustl' : _Prop_uniform_styles,
+}
+
+_compdeclarations = {
+}
+
+_enumdeclarations = {
+ 'just' : _Enum_just,
+ 'styl' : _Enum_styl,
}
diff --git a/Lib/plat-mac/lib-scriptpackages/StdSuites/Type_Names_Suite.py b/Lib/plat-mac/lib-scriptpackages/StdSuites/Type_Names_Suite.py
index 1b42dae..7a04a0d 100644
--- a/Lib/plat-mac/lib-scriptpackages/StdSuites/Type_Names_Suite.py
+++ b/Lib/plat-mac/lib-scriptpackages/StdSuites/Type_Names_Suite.py
@@ -12,172 +12,172 @@ _code = 'tpnm'
class Type_Names_Suite_Events:
- pass
+ pass
class PostScript_picture(aetools.ComponentItem):
- """PostScript picture - """
- want = 'EPS '
+ """PostScript picture - """
+ want = 'EPS '
class point(aetools.ComponentItem):
- """point - point coordinates """
- want = 'QDpt'
+ """point - point coordinates """
+ want = 'QDpt'
class string(aetools.ComponentItem):
- """string - a string of characters """
- want = 'TEXT'
+ """string - a string of characters """
+ want = 'TEXT'
plain_text = string
plain_text = string
class TIFF_picture(aetools.ComponentItem):
- """TIFF picture - """
- want = 'TIFF'
+ """TIFF picture - """
+ want = 'TIFF'
class application_dictionary(aetools.ComponentItem):
- """application dictionary - """
- want = 'aete'
+ """application dictionary - """
+ want = 'aete'
class system_dictionary(aetools.ComponentItem):
- """system dictionary - """
- want = 'aeut'
+ """system dictionary - """
+ want = 'aeut'
class color_table(aetools.ComponentItem):
- """color table - """
- want = 'clrt'
+ """color table - """
+ want = 'clrt'
class menu_item(aetools.ComponentItem):
- """menu item - """
- want = 'cmen'
+ """menu item - """
+ want = 'cmen'
class menu(aetools.ComponentItem):
- """menu - """
- want = 'cmnu'
+ """menu - """
+ want = 'cmnu'
class double_integer(aetools.ComponentItem):
- """double integer - """
- want = 'comp'
+ """double integer - """
+ want = 'comp'
class type_element_info(aetools.ComponentItem):
- """type element info - """
- want = 'elin'
+ """type element info - """
+ want = 'elin'
class type_event_info(aetools.ComponentItem):
- """type event info - information about an event """
- want = 'evin'
+ """type event info - information about an event """
+ want = 'evin'
class extended_real(aetools.ComponentItem):
- """extended real - """
- want = 'exte'
+ """extended real - """
+ want = 'exte'
class fixed(aetools.ComponentItem):
- """fixed - a real number """
- want = 'fixd'
+ """fixed - a real number """
+ want = 'fixd'
class fixed_point(aetools.ComponentItem):
- """fixed point - """
- want = 'fpnt'
+ """fixed point - """
+ want = 'fpnt'
class fixed_rectangle(aetools.ComponentItem):
- """fixed rectangle - """
- want = 'frct'
+ """fixed rectangle - """
+ want = 'frct'
class type_class_info(aetools.ComponentItem):
- """type class info - information about properties and elements of a class """
- want = 'gcli'
+ """type class info - information about properties and elements of a class """
+ want = 'gcli'
class location_reference(aetools.ComponentItem):
- """location reference - """
- want = 'insl'
+ """location reference - """
+ want = 'insl'
class long_fixed_point(aetools.ComponentItem):
- """long fixed point - """
- want = 'lfpt'
+ """long fixed point - """
+ want = 'lfpt'
class long_fixed_rectangle(aetools.ComponentItem):
- """long fixed rectangle - """
- want = 'lfrc'
+ """long fixed rectangle - """
+ want = 'lfrc'
class long_fixed(aetools.ComponentItem):
- """long fixed - """
- want = 'lfxd'
+ """long fixed - """
+ want = 'lfxd'
class long_point(aetools.ComponentItem):
- """long point - """
- want = 'lpnt'
+ """long point - """
+ want = 'lpnt'
class long_rectangle(aetools.ComponentItem):
- """long rectangle - """
- want = 'lrct'
+ """long rectangle - """
+ want = 'lrct'
class machine_location(aetools.ComponentItem):
- """machine location - """
- want = 'mLoc'
+ """machine location - """
+ want = 'mLoc'
class unsigned_integer(aetools.ComponentItem):
- """unsigned integer - """
- want = 'magn'
+ """unsigned integer - """
+ want = 'magn'
class null(aetools.ComponentItem):
- """null - """
- want = 'null'
+ """null - """
+ want = 'null'
class type_property_info(aetools.ComponentItem):
- """type property info - """
- want = 'pinf'
+ """type property info - """
+ want = 'pinf'
class type_parameter_info(aetools.ComponentItem):
- """type parameter info - """
- want = 'pmin'
+ """type parameter info - """
+ want = 'pmin'
class bounding_rectangle(aetools.ComponentItem):
- """bounding rectangle - bounding rectangle """
- want = 'qdrt'
+ """bounding rectangle - bounding rectangle """
+ want = 'qdrt'
class small_integer(aetools.ComponentItem):
- """small integer - """
- want = 'shor'
+ """small integer - """
+ want = 'shor'
class small_real(aetools.ComponentItem):
- """small real - """
- want = 'sing'
+ """small real - """
+ want = 'sing'
class scrap_styles(aetools.ComponentItem):
- """scrap styles - """
- want = 'styl'
+ """scrap styles - """
+ want = 'styl'
class type_suite_info(aetools.ComponentItem):
- """type suite info - """
- want = 'suin'
+ """type suite info - """
+ want = 'suin'
class target_id(aetools.ComponentItem):
- """target id - """
- want = 'targ'
+ """target id - """
+ want = 'targ'
class dash_style(aetools.ComponentItem):
- """dash style - """
- want = 'tdas'
+ """dash style - """
+ want = 'tdas'
class pixel_map_record(aetools.ComponentItem):
- """pixel map record - """
- want = 'tpmm'
+ """pixel map record - """
+ want = 'tpmm'
class RGB16_color(aetools.ComponentItem):
- """RGB16 color - """
- want = 'tr16'
+ """RGB16 color - """
+ want = 'tr16'
class RGB96_color(aetools.ComponentItem):
- """RGB96 color - """
- want = 'tr96'
+ """RGB96 color - """
+ want = 'tr96'
class rotation(aetools.ComponentItem):
- """rotation - """
- want = 'trot'
+ """rotation - """
+ want = 'trot'
class version(aetools.ComponentItem):
- """version - """
- want = 'vers'
+ """version - """
+ want = 'vers'
PostScript_picture._superclassnames = []
PostScript_picture._privpropdict = {
}
@@ -383,44 +383,53 @@ version._privelemdict = {
# Indices of types declared in this module
#
_classdeclarations = {
- 'EPS ' : PostScript_picture,
- 'QDpt' : point,
- 'TEXT' : string,
- 'TIFF' : TIFF_picture,
- 'aete' : application_dictionary,
- 'aeut' : system_dictionary,
- 'clrt' : color_table,
- 'cmen' : menu_item,
- 'cmnu' : menu,
- 'comp' : double_integer,
- 'elin' : type_element_info,
- 'evin' : type_event_info,
- 'exte' : extended_real,
- 'fixd' : fixed,
- 'fpnt' : fixed_point,
- 'frct' : fixed_rectangle,
- 'gcli' : type_class_info,
- 'insl' : location_reference,
- 'lfpt' : long_fixed_point,
- 'lfrc' : long_fixed_rectangle,
- 'lfxd' : long_fixed,
- 'lpnt' : long_point,
- 'lrct' : long_rectangle,
- 'mLoc' : machine_location,
- 'magn' : unsigned_integer,
- 'null' : null,
- 'pinf' : type_property_info,
- 'pmin' : type_parameter_info,
- 'qdrt' : bounding_rectangle,
- 'shor' : small_integer,
- 'sing' : small_real,
- 'styl' : scrap_styles,
- 'suin' : type_suite_info,
- 'targ' : target_id,
- 'tdas' : dash_style,
- 'tpmm' : pixel_map_record,
- 'tr16' : RGB16_color,
- 'tr96' : RGB96_color,
- 'trot' : rotation,
- 'vers' : version,
+ 'EPS ' : PostScript_picture,
+ 'QDpt' : point,
+ 'TEXT' : string,
+ 'TIFF' : TIFF_picture,
+ 'aete' : application_dictionary,
+ 'aeut' : system_dictionary,
+ 'clrt' : color_table,
+ 'cmen' : menu_item,
+ 'cmnu' : menu,
+ 'comp' : double_integer,
+ 'elin' : type_element_info,
+ 'evin' : type_event_info,
+ 'exte' : extended_real,
+ 'fixd' : fixed,
+ 'fpnt' : fixed_point,
+ 'frct' : fixed_rectangle,
+ 'gcli' : type_class_info,
+ 'insl' : location_reference,
+ 'lfpt' : long_fixed_point,
+ 'lfrc' : long_fixed_rectangle,
+ 'lfxd' : long_fixed,
+ 'lpnt' : long_point,
+ 'lrct' : long_rectangle,
+ 'mLoc' : machine_location,
+ 'magn' : unsigned_integer,
+ 'null' : null,
+ 'pinf' : type_property_info,
+ 'pmin' : type_parameter_info,
+ 'qdrt' : bounding_rectangle,
+ 'shor' : small_integer,
+ 'sing' : small_real,
+ 'styl' : scrap_styles,
+ 'suin' : type_suite_info,
+ 'targ' : target_id,
+ 'tdas' : dash_style,
+ 'tpmm' : pixel_map_record,
+ 'tr16' : RGB16_color,
+ 'tr96' : RGB96_color,
+ 'trot' : rotation,
+ 'vers' : version,
+}
+
+_propdeclarations = {
+}
+
+_compdeclarations = {
+}
+
+_enumdeclarations = {
}
diff --git a/Lib/plat-mac/lib-scriptpackages/StdSuites/__init__.py b/Lib/plat-mac/lib-scriptpackages/StdSuites/__init__.py
index 20c775b..21a289a 100644
--- a/Lib/plat-mac/lib-scriptpackages/StdSuites/__init__.py
+++ b/Lib/plat-mac/lib-scriptpackages/StdSuites/__init__.py
@@ -16,29 +16,29 @@ import Type_Names_Suite
_code_to_module = {
- 'TEXT' : Text_Suite,
- 'ascr' : AppleScript_Suite,
- 'core' : Standard_Suite,
- 'macc' : Macintosh_Connectivity_Clas,
- 'qdrw' : QuickDraw_Graphics_Suite,
- 'qdsp' : QuickDraw_Graphics_Suppleme,
- 'reqd' : Required_Suite,
- 'tbls' : Table_Suite,
- 'tpnm' : Type_Names_Suite,
+ 'TEXT' : Text_Suite,
+ 'ascr' : AppleScript_Suite,
+ 'core' : Standard_Suite,
+ 'macc' : Macintosh_Connectivity_Clas,
+ 'qdrw' : QuickDraw_Graphics_Suite,
+ 'qdsp' : QuickDraw_Graphics_Suppleme,
+ 'reqd' : Required_Suite,
+ 'tbls' : Table_Suite,
+ 'tpnm' : Type_Names_Suite,
}
_code_to_fullname = {
- 'TEXT' : ('StdSuites.Text_Suite', 'Text_Suite'),
- 'ascr' : ('StdSuites.AppleScript_Suite', 'AppleScript_Suite'),
- 'core' : ('StdSuites.Standard_Suite', 'Standard_Suite'),
- 'macc' : ('StdSuites.Macintosh_Connectivity_Clas', 'Macintosh_Connectivity_Clas'),
- 'qdrw' : ('StdSuites.QuickDraw_Graphics_Suite', 'QuickDraw_Graphics_Suite'),
- 'qdsp' : ('StdSuites.QuickDraw_Graphics_Suppleme', 'QuickDraw_Graphics_Suppleme'),
- 'reqd' : ('StdSuites.Required_Suite', 'Required_Suite'),
- 'tbls' : ('StdSuites.Table_Suite', 'Table_Suite'),
- 'tpnm' : ('StdSuites.Type_Names_Suite', 'Type_Names_Suite'),
+ 'TEXT' : ('StdSuites.Text_Suite', 'Text_Suite'),
+ 'ascr' : ('StdSuites.AppleScript_Suite', 'AppleScript_Suite'),
+ 'core' : ('StdSuites.Standard_Suite', 'Standard_Suite'),
+ 'macc' : ('StdSuites.Macintosh_Connectivity_Clas', 'Macintosh_Connectivity_Clas'),
+ 'qdrw' : ('StdSuites.QuickDraw_Graphics_Suite', 'QuickDraw_Graphics_Suite'),
+ 'qdsp' : ('StdSuites.QuickDraw_Graphics_Suppleme', 'QuickDraw_Graphics_Suppleme'),
+ 'reqd' : ('StdSuites.Required_Suite', 'Required_Suite'),
+ 'tbls' : ('StdSuites.Table_Suite', 'Table_Suite'),
+ 'tpnm' : ('StdSuites.Type_Names_Suite', 'Type_Names_Suite'),
}
from Text_Suite import *
@@ -52,16 +52,16 @@ from Table_Suite import *
from Type_Names_Suite import *
def getbaseclasses(v):
- if not getattr(v, '_propdict', None):
- v._propdict = {}
- v._elemdict = {}
- for superclassname in getattr(v, '_superclassnames', []):
- superclass = eval(superclassname)
- getbaseclasses(superclass)
- v._propdict.update(getattr(superclass, '_propdict', {}))
- v._elemdict.update(getattr(superclass, '_elemdict', {}))
- v._propdict.update(getattr(v, '_privpropdict', {}))
- v._elemdict.update(getattr(v, '_privelemdict', {}))
+ if not getattr(v, '_propdict', None):
+ v._propdict = {}
+ v._elemdict = {}
+ for superclassname in getattr(v, '_superclassnames', []):
+ superclass = eval(superclassname)
+ getbaseclasses(superclass)
+ v._propdict.update(getattr(superclass, '_propdict', {}))
+ v._elemdict.update(getattr(superclass, '_elemdict', {}))
+ v._propdict.update(getattr(v, '_privpropdict', {}))
+ v._elemdict.update(getattr(v, '_privelemdict', {}))
import StdSuites
@@ -263,210 +263,210 @@ getbaseclasses(row)
# 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,
- '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,
- '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,
- '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,
- 'ccel' : cell,
- 'ccol' : column,
- 'ctbl' : table,
- 'crow' : row,
+ '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,
+ '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,
+ '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,
+ '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,
+ 'ccel' : cell,
+ 'ccol' : column,
+ 'ctbl' : table,
+ 'crow' : row,
}
class StdSuites(Text_Suite_Events,
- AppleScript_Suite_Events,
- Standard_Suite_Events,
- Macintosh_Connectivity_Clas_Events,
- QuickDraw_Graphics_Suite_Events,
- QuickDraw_Graphics_Suppleme_Events,
- Required_Suite_Events,
- Table_Suite_Events,
- Type_Names_Suite_Events,
- aetools.TalkTo):
- _signature = 'ascr'
+ AppleScript_Suite_Events,
+ Standard_Suite_Events,
+ Macintosh_Connectivity_Clas_Events,
+ QuickDraw_Graphics_Suite_Events,
+ QuickDraw_Graphics_Suppleme_Events,
+ Required_Suite_Events,
+ Table_Suite_Events,
+ Type_Names_Suite_Events,
+ aetools.TalkTo):
+ _signature = 'ascr'
- _moduleName = 'StdSuites'
+ _moduleName = 'StdSuites'