diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1996-09-20 15:29:08 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1996-09-20 15:29:08 (GMT) |
commit | 433a48ef366edd2246b0eb3878445f52f0244f79 (patch) | |
tree | 9541ab2d1e1822f0dc0cf6e76a59f68e0ee6bc06 /Mac/Lib | |
parent | c46f56e35fc733c4a571e5cdb9890771a6440fa4 (diff) | |
download | cpython-433a48ef366edd2246b0eb3878445f52f0244f79.zip cpython-433a48ef366edd2246b0eb3878445f52f0244f79.tar.gz cpython-433a48ef366edd2246b0eb3878445f52f0244f79.tar.bz2 |
Regenerated to use aetools.Error in stead of MacOS.Error.
Diffstat (limited to 'Mac/Lib')
-rw-r--r-- | Mac/Lib/toolbox/AppleScript_Suite.py | 80 | ||||
-rw-r--r-- | Mac/Lib/toolbox/Finder_7_0_Suite.py | 26 | ||||
-rw-r--r-- | Mac/Lib/toolbox/Finder_Suite.py | 56 | ||||
-rw-r--r-- | Mac/Lib/toolbox/Metrowerks_Shell_Suite.py | 139 | ||||
-rw-r--r-- | Mac/Lib/toolbox/Required_Suite.py | 10 | ||||
-rw-r--r-- | Mac/Lib/toolbox/Standard_Suite.py | 34 | ||||
-rw-r--r-- | Mac/Lib/toolbox/Standard_URL_suite.py | 4 | ||||
-rw-r--r-- | Mac/Lib/toolbox/WWW_Suite.py | 34 |
8 files changed, 230 insertions, 153 deletions
diff --git a/Mac/Lib/toolbox/AppleScript_Suite.py b/Mac/Lib/toolbox/AppleScript_Suite.py index b0755b1..2bff451 100644 --- a/Mac/Lib/toolbox/AppleScript_Suite.py +++ b/Mac/Lib/toolbox/AppleScript_Suite.py @@ -1,7 +1,7 @@ """Suite AppleScript Suite: Goodies for Gustav Level 1, version 1 -Generated from Moes:System folder:Extensions:Scripting Additions:Dialects:English Dialect +Generated from flap:Systeemmap:Extensies:Script-extra's:Dialecten:Engels dialect AETE/AEUT resource version 1/0, language 0, script 0 """ @@ -45,7 +45,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -65,7 +65,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -84,7 +84,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -103,7 +103,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -122,7 +122,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -143,7 +143,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -163,7 +163,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -183,7 +183,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -203,7 +203,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -223,7 +223,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -255,7 +255,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -294,7 +294,7 @@ class AppleScript_Suite: } def Call_a5_subroutine(self, _object=None, _attributes={}, **_arguments): - """Call„subroutine: A subroutine call + """Callsubroutine: A subroutine call Required argument: anything Keyword argument at: a preposition Keyword argument _from: a preposition @@ -339,7 +339,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -360,13 +360,13 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] def _ad_(self, _object, _attributes={}, **_arguments): - """: Inequality + """: Inequality Required argument: an AE object reference Keyword argument _attributes: AppleEvent attribute dictionary Returns: anything @@ -381,7 +381,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -402,7 +402,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -423,7 +423,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -444,13 +444,13 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] def _d6_(self, _object, _attributes={}, **_arguments): - """Ö: Division + """÷: Division Required argument: an AE object reference Keyword argument _attributes: AppleEvent attribute dictionary Returns: anything @@ -465,7 +465,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -486,7 +486,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -507,7 +507,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -528,7 +528,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -549,13 +549,13 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] def _b3_(self, _object, _attributes={}, **_arguments): - """³: Greater than or equal to + """: Greater than or equal to Required argument: an AE object reference Keyword argument _attributes: AppleEvent attribute dictionary Returns: anything @@ -570,7 +570,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -591,13 +591,13 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] def _b2_(self, _object, _attributes={}, **_arguments): - """²: Less than or equal to + """¾: Less than or equal to Required argument: an AE object reference Keyword argument _attributes: AppleEvent attribute dictionary Returns: anything @@ -612,7 +612,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -633,7 +633,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -654,7 +654,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -675,7 +675,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -696,7 +696,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -717,7 +717,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -738,7 +738,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -759,7 +759,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -780,7 +780,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -801,7 +801,7 @@ class AppleScript_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] diff --git a/Mac/Lib/toolbox/Finder_7_0_Suite.py b/Mac/Lib/toolbox/Finder_7_0_Suite.py index 1155795..b6282dd 100644 --- a/Mac/Lib/toolbox/Finder_7_0_Suite.py +++ b/Mac/Lib/toolbox/Finder_7_0_Suite.py @@ -26,7 +26,7 @@ class Finder_7_0_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -51,7 +51,7 @@ class Finder_7_0_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -76,7 +76,7 @@ class Finder_7_0_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -95,7 +95,7 @@ class Finder_7_0_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -120,7 +120,7 @@ class Finder_7_0_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -145,7 +145,7 @@ class Finder_7_0_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -164,7 +164,7 @@ class Finder_7_0_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -183,7 +183,7 @@ class Finder_7_0_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -208,7 +208,7 @@ class Finder_7_0_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -233,7 +233,7 @@ class Finder_7_0_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -259,7 +259,7 @@ class Finder_7_0_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -278,7 +278,7 @@ class Finder_7_0_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -303,7 +303,7 @@ class Finder_7_0_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] diff --git a/Mac/Lib/toolbox/Finder_Suite.py b/Mac/Lib/toolbox/Finder_Suite.py index 3208eae..746de36 100644 --- a/Mac/Lib/toolbox/Finder_Suite.py +++ b/Mac/Lib/toolbox/Finder_Suite.py @@ -1,7 +1,7 @@ """Suite Finder Suite: Objects and Events for the Finder Level 1, version 1 -Generated from Moes:System folder:Extensions:Finder Scripting Extension +Generated from flap:Systeemmap:Extensies:Finder Script-extensie AETE/AEUT resource version 0/144, language 0, script 0 """ @@ -43,14 +43,14 @@ class Finder_Suite: _code = 'fndr' _subcode = 'fclu' + aetools.keysubst(_arguments, self._argmap_clean_up) _arguments['----'] = _object - aetools.keysubst(_arguments, self._argmap_clean_up) _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -69,14 +69,14 @@ class Finder_Suite: _code = 'fndr' _subcode = 'gstl' + aetools.keysubst(_arguments, self._argmap_computer) _arguments['----'] = _object - aetools.keysubst(_arguments, self._argmap_computer) _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -89,34 +89,34 @@ class Finder_Suite: _code = 'fndr' _subcode = 'ejct' + if _arguments: raise TypeError, 'No optional args expected' _arguments['----'] = _object - if _arguments: raise TypeError, 'No optional args expected' _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] def empty(self, _object=None, _attributes={}, **_arguments): """empty: Empty the trash - Required argument: ŅemptyÓ and Ņempty trashÓ both do the same thing + Required argument: ³empty² and ³empty trash² both do the same thing Keyword argument _attributes: AppleEvent attribute dictionary """ _code = 'fndr' _subcode = 'empt' + if _arguments: raise TypeError, 'No optional args expected' _arguments['----'] = _object - if _arguments: raise TypeError, 'No optional args expected' _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -129,14 +129,14 @@ class Finder_Suite: _code = 'fndr' _subcode = 'fera' + if _arguments: raise TypeError, 'No optional args expected' _arguments['----'] = _object - if _arguments: raise TypeError, 'No optional args expected' _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -155,14 +155,14 @@ class Finder_Suite: _code = 'fndr' _subcode = 'ptwy' + aetools.keysubst(_arguments, self._argmap_put_away) _arguments['----'] = _object - aetools.keysubst(_arguments, self._argmap_put_away) _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -174,14 +174,14 @@ class Finder_Suite: _code = 'fndr' _subcode = 'rest' + if _arguments: raise TypeError, 'No optional args expected' if _no_object != None: raise TypeError, 'No direct arg expected' - if _arguments: raise TypeError, 'No optional args expected' _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -194,14 +194,14 @@ class Finder_Suite: _code = 'misc' _subcode = 'mvis' + if _arguments: raise TypeError, 'No optional args expected' _arguments['----'] = _object - if _arguments: raise TypeError, 'No optional args expected' _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -214,14 +214,14 @@ class Finder_Suite: _code = 'misc' _subcode = 'slct' + if _arguments: raise TypeError, 'No optional args expected' _arguments['----'] = _object - if _arguments: raise TypeError, 'No optional args expected' _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -233,14 +233,14 @@ class Finder_Suite: _code = 'fndr' _subcode = 'shut' + if _arguments: raise TypeError, 'No optional args expected' if _no_object != None: raise TypeError, 'No direct arg expected' - if _arguments: raise TypeError, 'No optional args expected' _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -252,14 +252,14 @@ class Finder_Suite: _code = 'fndr' _subcode = 'snoz' + if _arguments: raise TypeError, 'No optional args expected' if _no_object != None: raise TypeError, 'No direct arg expected' - if _arguments: raise TypeError, 'No optional args expected' _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -278,14 +278,14 @@ class Finder_Suite: _code = 'DATA' _subcode = 'SORT' + aetools.keysubst(_arguments, self._argmap_sort) _arguments['----'] = _object - aetools.keysubst(_arguments, self._argmap_sort) _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -298,14 +298,14 @@ class Finder_Suite: _code = 'fndr' _subcode = 'fupd' + if _arguments: raise TypeError, 'No optional args expected' _arguments['----'] = _object - if _arguments: raise TypeError, 'No optional args expected' _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] diff --git a/Mac/Lib/toolbox/Metrowerks_Shell_Suite.py b/Mac/Lib/toolbox/Metrowerks_Shell_Suite.py index 32f45f3..4637066 100644 --- a/Mac/Lib/toolbox/Metrowerks_Shell_Suite.py +++ b/Mac/Lib/toolbox/Metrowerks_Shell_Suite.py @@ -1,7 +1,7 @@ """Suite Metrowerks Shell Suite: Events supported by the Metrowerks Project Shell Level 1, version 1 -Generated from Sap:Codewarrior7:Metrowerks CodeWarrior:CodeWarrior IDE 1.3 +Generated from flap:CW9 Gold:Metrowerks CodeWarrior:CodeWarrior IDE 1.6.3 AETE/AEUT resource version 1/0, language 0, script 0 """ @@ -23,6 +23,8 @@ _Enum_ErrT = { 'definition' : 'ErDf', # 'linker_error' : 'ErLE', # 'linker_warning' : 'ErLW', # + 'find_result' : 'ErFn', # + 'browser_error' : 'ErBr', # } _Enum_Mode = { @@ -42,8 +44,13 @@ _Enum_SrcT = { _Enum_PPrm = { 'absolute' : 'Abso', # An absolute path name, including volume name. - 'project_relative' : 'PRel', # A path relative to the current projectÕs folder. - 'shell_relative' : 'SRel', # A path relative to the CodeWarriorŖ folder. + 'project_relative' : 'PRel', # A path relative to the current project¹s folder. + 'shell_relative' : 'SRel', # A path relative to the CodeWarrior folder. +} + +_Enum_RefP = { + 'Think_Reference' : 'DanR', # + 'QuickView' : 'ALTV', # } class Metrowerks_Shell_Suite: @@ -69,7 +76,7 @@ class Metrowerks_Shell_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -95,7 +102,7 @@ class Metrowerks_Shell_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -114,7 +121,7 @@ class Metrowerks_Shell_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -140,7 +147,7 @@ class Metrowerks_Shell_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -166,7 +173,7 @@ class Metrowerks_Shell_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -191,7 +198,7 @@ class Metrowerks_Shell_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -212,7 +219,7 @@ class Metrowerks_Shell_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -232,7 +239,7 @@ class Metrowerks_Shell_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -259,7 +266,7 @@ class Metrowerks_Shell_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -285,7 +292,7 @@ class Metrowerks_Shell_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -305,7 +312,7 @@ class Metrowerks_Shell_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -325,7 +332,7 @@ class Metrowerks_Shell_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -345,7 +352,7 @@ class Metrowerks_Shell_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -365,7 +372,7 @@ class Metrowerks_Shell_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -386,7 +393,7 @@ class Metrowerks_Shell_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -411,7 +418,7 @@ class Metrowerks_Shell_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -439,7 +446,33 @@ class Metrowerks_Shell_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) + # XXXX Optionally decode result + if _arguments.has_key('----'): + return _arguments['----'] + + _argmap_Preprocess = { + 'ExternalEditor' : 'Errs', + } + + def Preprocess(self, _object, _attributes={}, **_arguments): + """Preprocess: Preprocesses the specified file(s) + Required argument: undocumented, typecode 'alis' + Keyword argument ExternalEditor: undocumented, typecode 'bool' + Keyword argument _attributes: AppleEvent attribute dictionary + Returns: Errors for each preprocessed file + """ + _code = 'MMPR' + _subcode = 'PreP' + + aetools.keysubst(_arguments, self._argmap_Preprocess) + _arguments['----'] = _object + + + _reply, _arguments, _attributes = self.send(_code, _subcode, + _arguments, _attributes) + if _arguments.has_key('errn'): + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -458,7 +491,7 @@ class Metrowerks_Shell_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -479,7 +512,7 @@ class Metrowerks_Shell_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -498,7 +531,7 @@ class Metrowerks_Shell_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -525,7 +558,7 @@ class Metrowerks_Shell_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -545,7 +578,7 @@ class Metrowerks_Shell_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -571,7 +604,7 @@ class Metrowerks_Shell_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -597,7 +630,7 @@ class Metrowerks_Shell_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -622,7 +655,7 @@ class Metrowerks_Shell_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -647,7 +680,7 @@ class Metrowerks_Shell_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -668,7 +701,7 @@ class Metrowerks_Shell_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -693,7 +726,7 @@ class Metrowerks_Shell_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -709,12 +742,45 @@ class Metrowerks_Shell_Suite: # property 'mode' ('Mode') 'Mode' -- 'The document\325s open mode' [enum] # property 'disk file' ('file') 'fss ' -- 'The document\325s location on disk' [] +# Class 'Editor' ('EDTR') -- '' +# property 'Syntax coloring' ('ED01') 'bool' -- 'Mark keywords and comments with color.' [mutable] +# property 'Text color' ('ED02') 'cRGB' -- 'The color for ordinary text.' [mutable] +# property 'Comment color' ('ED03') 'cRGB' -- 'The color for comments.' [mutable] +# property 'Keyword color' ('ED04') 'cRGB' -- 'The color for language keywords.' [mutable] +# property 'String color' ('ED05') 'cRGB' -- 'The color for strings.' [mutable] +# property 'Custom color' ('ED06') 'cRGB' -- 'The color for custom keywords.' [mutable] +# property 'Flash delay' ('ED07') 'long' -- 'The amount of time, in sixtieths of a second, the editor highlights a matching bracket.' [mutable] +# property 'Dynamic scroll' ('ED08') 'bool' -- 'Display a window\325s contents as you move the scroll box.' [mutable] +# property 'Balance' ('ED09') 'bool' -- 'Flash the matching opening bracket when you type a closing bracket.' [mutable] +# property 'Remember font' ('ED10') 'bool' -- 'Display a source file with its own font settings.' [mutable] +# property 'Remember window' ('ED11') 'bool' -- 'Restore the last size and position for a source file window when you open it.' [mutable] +# property 'Remember selection' ('ED12') 'bool' -- 'Restore the previous selection in a file when you open it.' [mutable] +# property 'Save on update' ('ED13') 'bool' -- 'Save all editor windows automatically when you choose the Update command.' [mutable] +# property 'Projector aware' ('ED14') 'bool' -- "Honor MPW Projector\325s 'CKID' resources in text files." [mutable] + # Class 'Error Information' ('ErrM') -- 'Describes a single error or warning from the compiler or the linker.' # property 'kind' ('ErrT') 'ErrT' -- 'The type of error or warning.' [enum] # property 'message' ('ErrS') 'TEXT' -- 'The error or warning message.' [] # property 'disk file' ('file') 'fss ' -- 'The file where the error occurred. May not be returned for certain kinds of errors (eg, link errors).' [] # property 'line' ('ErrL') 'long' -- 'The line in the file where the error occurred. May not be returned for certain kinds of errors (eg, link errors).' [] +# Class 'Extras' ('EXTR') -- '' +# property 'Completion sound' ('EX01') 'bool' -- 'Play a sound when finished a Bring Up To Date or Make command.' [mutable] +# property 'Success sound' ('EX02') 'TEXT' -- 'The sound CodeWarrior plays when it successfully finishes a Bring Up To Date or Make command.' [mutable] +# property 'Failure sound' ('EX03') 'TEXT' -- 'The sound CodeWarrior plays when it cannot finish a Bring Up To Date or Make command.' [mutable] +# property 'Modification date caching' ('EX04') 'bool' -- '' [mutable] +# property 'Generate Map' ('EX05') 'bool' -- 'Generate a Pascal Make map file.' [mutable] +# property 'Store analysis results' ('EX06') 'bool' -- '' [mutable] +# property 'Full screen zoom' ('EX07') 'bool' -- 'Zoom windows to the full screen width.' [mutable] +# property 'External reference' ('EX08') 'RefP' -- 'Which on-line function reference to use.' [mutable enum] +# property 'Browser active' ('EX09') 'bool' -- 'Allow the collection of browser information.' [mutable] + +# Class 'Font' ('mFNT') -- '' +# property 'Auto indent' ('FN01') 'bool' -- 'Indent new lines automatically.' [mutable] +# property 'Tab size' ('FN02') 'shor' -- '' [] +# property 'Text font' ('ptxf') 'TEXT' -- 'The font used in editing windows.' [mutable] +# property 'Text size' ('ptps') 'shor' -- 'The size of the text in an editing window.' [mutable] + # Class 'Function Information' ('FDef') -- 'Describes the location of any function or global data definition within the current project.' # property 'disk file' ('file') 'fss ' -- 'The location on disk of the file containing the definition.' [] # property 'line' ('ErrL') 'long' -- 'The line number where the definition begins.' [] @@ -733,6 +799,7 @@ class Metrowerks_Shell_Suite: # property 'up to date' ('UpTD') 'bool' -- 'Has the file been compiled since its last modification ?' [] # property 'symbols' ('SymG') 'bool' -- 'Are debugging symbols generated for this file ?' [mutable] # property 'weak link' ('Weak') 'bool' -- 'Is this file imported weakly into the project ? [PowerPC only]' [mutable] +# property 'initialize before' ('Bfor') 'bool' -- 'Intiailize the shared library before the main application.' [mutable] # Class 'Segment' ('Seg ') -- 'A segment or group in the project' # property 'name' ('pnam') 'TEXT' -- '' [mutable] @@ -745,3 +812,13 @@ class Metrowerks_Shell_Suite: # Class 'Target' ('TARG') -- 'Contains the definitions of a project\325s target.' # property 'Current Target' ('TA01') 'TEXT' -- 'The name of the current target.' [mutable] +# property 'Mappings' ('TA08') 'TInf' -- '' [mutable list] + +# Class 'Target Information' ('TInf') -- '' +# property 'File Type' ('PR04') 'TEXT' -- '' [mutable] +# property 'Extension' ('TA02') 'TEXT' -- '' [mutable] +# property 'Precompiled' ('TA03') 'bool' -- '' [mutable] +# property 'Resource File' ('TA04') 'bool' -- '' [mutable] +# property 'Launchable' ('TA05') 'bool' -- '' [mutable] +# property 'Ignored by Make' ('TA06') 'bool' -- '' [mutable] +# property 'Compiler' ('TA07') 'TEXT' -- '' [mutable] diff --git a/Mac/Lib/toolbox/Required_Suite.py b/Mac/Lib/toolbox/Required_Suite.py index 67145b7..1b27b6a 100644 --- a/Mac/Lib/toolbox/Required_Suite.py +++ b/Mac/Lib/toolbox/Required_Suite.py @@ -1,7 +1,7 @@ """Suite Required Suite: Terms that every application should support Level 1, version 1 -Generated from Moes:System folder:Extensions:Scripting Additions:Dialects:English Dialect +Generated from flap:Systeemmap:Extensies:Script-extra's:Dialecten:Engels dialect AETE/AEUT resource version 1/0, language 0, script 0 """ @@ -27,7 +27,7 @@ class Required_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -47,7 +47,7 @@ class Required_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -66,7 +66,7 @@ class Required_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -85,7 +85,7 @@ class Required_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] diff --git a/Mac/Lib/toolbox/Standard_Suite.py b/Mac/Lib/toolbox/Standard_Suite.py index 0fdd7b2..d30e1dc 100644 --- a/Mac/Lib/toolbox/Standard_Suite.py +++ b/Mac/Lib/toolbox/Standard_Suite.py @@ -1,7 +1,7 @@ """Suite Standard Suite: Common terms for most applications Level 1, version 1 -Generated from Moes:System folder:Extensions:Scripting Additions:Dialects:English Dialect +Generated from flap:Systeemmap:Extensies:Script-extra's:Dialecten:Engels dialect AETE/AEUT resource version 1/0, language 0, script 0 """ @@ -51,7 +51,7 @@ class Standard_Suite: 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Õs properties and elements + Returns: a record containing the object¹s properties and elements """ _code = 'core' _subcode = 'qobj' @@ -63,7 +63,7 @@ class Standard_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -91,7 +91,7 @@ class Standard_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -117,7 +117,7 @@ class Standard_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -143,7 +143,7 @@ class Standard_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -163,7 +163,7 @@ class Standard_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -189,7 +189,7 @@ class Standard_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -215,7 +215,7 @@ class Standard_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -236,7 +236,7 @@ class Standard_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -267,7 +267,7 @@ class Standard_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -293,7 +293,7 @@ class Standard_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -313,7 +313,7 @@ class Standard_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -333,7 +333,7 @@ class Standard_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -358,7 +358,7 @@ class Standard_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -385,7 +385,7 @@ class Standard_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -411,7 +411,7 @@ class Standard_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] diff --git a/Mac/Lib/toolbox/Standard_URL_suite.py b/Mac/Lib/toolbox/Standard_URL_suite.py index f997c91..b9108f4 100644 --- a/Mac/Lib/toolbox/Standard_URL_suite.py +++ b/Mac/Lib/toolbox/Standard_URL_suite.py @@ -4,7 +4,7 @@ Level 1, version 1 -Generated from flap:Programma's:Netscape 2.0b5 Folder:Netscape 2.0b5 +Generated from flap:Programma's:Netscape Navigator Folder:Netscape Navigator 3.0 AETE/AEUT resource version 1/0, language 0, script 0 """ @@ -40,7 +40,7 @@ class Standard_URL_suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] diff --git a/Mac/Lib/toolbox/WWW_Suite.py b/Mac/Lib/toolbox/WWW_Suite.py index e14d41f..01ba39f 100644 --- a/Mac/Lib/toolbox/WWW_Suite.py +++ b/Mac/Lib/toolbox/WWW_Suite.py @@ -1,7 +1,7 @@ """Suite WorldWideWeb suite, as defined in Spyglass spec.: Level 1, version 1 -Generated from flap:Programma's:Netscape 2.0b5 Folder:Netscape 2.0b5 +Generated from flap:Programma's:Netscape Navigator Folder:Netscape Navigator 3.0 AETE/AEUT resource version 1/0, language 0, script 0 """ @@ -43,7 +43,7 @@ class WWW_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -73,7 +73,7 @@ class WWW_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -99,7 +99,7 @@ class WWW_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -124,7 +124,7 @@ class WWW_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -145,7 +145,7 @@ class WWW_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -165,7 +165,7 @@ class WWW_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -185,7 +185,7 @@ class WWW_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -206,7 +206,7 @@ class WWW_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -226,7 +226,7 @@ class WWW_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -246,7 +246,7 @@ class WWW_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -274,7 +274,7 @@ class WWW_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -300,7 +300,7 @@ class WWW_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -326,7 +326,7 @@ class WWW_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -352,7 +352,7 @@ class WWW_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -378,7 +378,7 @@ class WWW_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] @@ -404,7 +404,7 @@ class WWW_Suite: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) if _arguments.has_key('errn'): - raise MacOS.Error, aetools.decodeerror(_arguments) + raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] |