Kaydet (Commit) 433a48ef authored tarafından Jack Jansen's avatar Jack Jansen

Regenerated to use aetools.Error in stead of MacOS.Error.

üst c46f56e3
...@@ -26,7 +26,7 @@ class Finder_7_0_Suite: ...@@ -26,7 +26,7 @@ class Finder_7_0_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -51,7 +51,7 @@ class Finder_7_0_Suite: ...@@ -51,7 +51,7 @@ class Finder_7_0_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -76,7 +76,7 @@ class Finder_7_0_Suite: ...@@ -76,7 +76,7 @@ class Finder_7_0_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -95,7 +95,7 @@ class Finder_7_0_Suite: ...@@ -95,7 +95,7 @@ class Finder_7_0_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -120,7 +120,7 @@ class Finder_7_0_Suite: ...@@ -120,7 +120,7 @@ class Finder_7_0_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -145,7 +145,7 @@ class Finder_7_0_Suite: ...@@ -145,7 +145,7 @@ class Finder_7_0_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -164,7 +164,7 @@ class Finder_7_0_Suite: ...@@ -164,7 +164,7 @@ class Finder_7_0_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -183,7 +183,7 @@ class Finder_7_0_Suite: ...@@ -183,7 +183,7 @@ class Finder_7_0_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -208,7 +208,7 @@ class Finder_7_0_Suite: ...@@ -208,7 +208,7 @@ class Finder_7_0_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -233,7 +233,7 @@ class Finder_7_0_Suite: ...@@ -233,7 +233,7 @@ class Finder_7_0_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -259,7 +259,7 @@ class Finder_7_0_Suite: ...@@ -259,7 +259,7 @@ class Finder_7_0_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -278,7 +278,7 @@ class Finder_7_0_Suite: ...@@ -278,7 +278,7 @@ class Finder_7_0_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -303,7 +303,7 @@ class Finder_7_0_Suite: ...@@ -303,7 +303,7 @@ class Finder_7_0_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
......
"""Suite Finder Suite: Objects and Events for the Finder """Suite Finder Suite: Objects and Events for the Finder
Level 1, version 1 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 AETE/AEUT resource version 0/144, language 0, script 0
""" """
...@@ -43,14 +43,14 @@ class Finder_Suite: ...@@ -43,14 +43,14 @@ class Finder_Suite:
_code = 'fndr' _code = 'fndr'
_subcode = 'fclu' _subcode = 'fclu'
aetools.keysubst(_arguments, self._argmap_clean_up)
_arguments['----'] = _object _arguments['----'] = _object
aetools.keysubst(_arguments, self._argmap_clean_up)
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -69,14 +69,14 @@ class Finder_Suite: ...@@ -69,14 +69,14 @@ class Finder_Suite:
_code = 'fndr' _code = 'fndr'
_subcode = 'gstl' _subcode = 'gstl'
aetools.keysubst(_arguments, self._argmap_computer)
_arguments['----'] = _object _arguments['----'] = _object
aetools.keysubst(_arguments, self._argmap_computer)
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -89,34 +89,34 @@ class Finder_Suite: ...@@ -89,34 +89,34 @@ class Finder_Suite:
_code = 'fndr' _code = 'fndr'
_subcode = 'ejct' _subcode = 'ejct'
if _arguments: raise TypeError, 'No optional args expected'
_arguments['----'] = _object _arguments['----'] = _object
if _arguments: raise TypeError, 'No optional args expected'
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
def empty(self, _object=None, _attributes={}, **_arguments): def empty(self, _object=None, _attributes={}, **_arguments):
"""empty: Empty the trash """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 Keyword argument _attributes: AppleEvent attribute dictionary
""" """
_code = 'fndr' _code = 'fndr'
_subcode = 'empt' _subcode = 'empt'
if _arguments: raise TypeError, 'No optional args expected'
_arguments['----'] = _object _arguments['----'] = _object
if _arguments: raise TypeError, 'No optional args expected'
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -129,14 +129,14 @@ class Finder_Suite: ...@@ -129,14 +129,14 @@ class Finder_Suite:
_code = 'fndr' _code = 'fndr'
_subcode = 'fera' _subcode = 'fera'
if _arguments: raise TypeError, 'No optional args expected'
_arguments['----'] = _object _arguments['----'] = _object
if _arguments: raise TypeError, 'No optional args expected'
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -155,14 +155,14 @@ class Finder_Suite: ...@@ -155,14 +155,14 @@ class Finder_Suite:
_code = 'fndr' _code = 'fndr'
_subcode = 'ptwy' _subcode = 'ptwy'
aetools.keysubst(_arguments, self._argmap_put_away)
_arguments['----'] = _object _arguments['----'] = _object
aetools.keysubst(_arguments, self._argmap_put_away)
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -174,14 +174,14 @@ class Finder_Suite: ...@@ -174,14 +174,14 @@ class Finder_Suite:
_code = 'fndr' _code = 'fndr'
_subcode = 'rest' _subcode = 'rest'
if _arguments: raise TypeError, 'No optional args expected'
if _no_object != None: raise TypeError, 'No direct arg 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, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -194,14 +194,14 @@ class Finder_Suite: ...@@ -194,14 +194,14 @@ class Finder_Suite:
_code = 'misc' _code = 'misc'
_subcode = 'mvis' _subcode = 'mvis'
if _arguments: raise TypeError, 'No optional args expected'
_arguments['----'] = _object _arguments['----'] = _object
if _arguments: raise TypeError, 'No optional args expected'
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -214,14 +214,14 @@ class Finder_Suite: ...@@ -214,14 +214,14 @@ class Finder_Suite:
_code = 'misc' _code = 'misc'
_subcode = 'slct' _subcode = 'slct'
if _arguments: raise TypeError, 'No optional args expected'
_arguments['----'] = _object _arguments['----'] = _object
if _arguments: raise TypeError, 'No optional args expected'
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -233,14 +233,14 @@ class Finder_Suite: ...@@ -233,14 +233,14 @@ class Finder_Suite:
_code = 'fndr' _code = 'fndr'
_subcode = 'shut' _subcode = 'shut'
if _arguments: raise TypeError, 'No optional args expected'
if _no_object != None: raise TypeError, 'No direct arg 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, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -252,14 +252,14 @@ class Finder_Suite: ...@@ -252,14 +252,14 @@ class Finder_Suite:
_code = 'fndr' _code = 'fndr'
_subcode = 'snoz' _subcode = 'snoz'
if _arguments: raise TypeError, 'No optional args expected'
if _no_object != None: raise TypeError, 'No direct arg 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, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -278,14 +278,14 @@ class Finder_Suite: ...@@ -278,14 +278,14 @@ class Finder_Suite:
_code = 'DATA' _code = 'DATA'
_subcode = 'SORT' _subcode = 'SORT'
aetools.keysubst(_arguments, self._argmap_sort)
_arguments['----'] = _object _arguments['----'] = _object
aetools.keysubst(_arguments, self._argmap_sort)
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -298,14 +298,14 @@ class Finder_Suite: ...@@ -298,14 +298,14 @@ class Finder_Suite:
_code = 'fndr' _code = 'fndr'
_subcode = 'fupd' _subcode = 'fupd'
if _arguments: raise TypeError, 'No optional args expected'
_arguments['----'] = _object _arguments['----'] = _object
if _arguments: raise TypeError, 'No optional args expected'
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
......
"""Suite Required Suite: Terms that every application should support """Suite Required Suite: Terms that every application should support
Level 1, version 1 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 AETE/AEUT resource version 1/0, language 0, script 0
""" """
...@@ -27,7 +27,7 @@ class Required_Suite: ...@@ -27,7 +27,7 @@ class Required_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -47,7 +47,7 @@ class Required_Suite: ...@@ -47,7 +47,7 @@ class Required_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -66,7 +66,7 @@ class Required_Suite: ...@@ -66,7 +66,7 @@ class Required_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -85,7 +85,7 @@ class Required_Suite: ...@@ -85,7 +85,7 @@ class Required_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
......
"""Suite Standard Suite: Common terms for most applications """Suite Standard Suite: Common terms for most applications
Level 1, version 1 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 AETE/AEUT resource version 1/0, language 0, script 0
""" """
...@@ -51,7 +51,7 @@ class Standard_Suite: ...@@ -51,7 +51,7 @@ class Standard_Suite:
Required argument: the object class about which information is requested 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 _in: the human language and script system in which to return information
Keyword argument _attributes: AppleEvent attribute dictionary 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' _code = 'core'
_subcode = 'qobj' _subcode = 'qobj'
...@@ -63,7 +63,7 @@ class Standard_Suite: ...@@ -63,7 +63,7 @@ class Standard_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -91,7 +91,7 @@ class Standard_Suite: ...@@ -91,7 +91,7 @@ class Standard_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -117,7 +117,7 @@ class Standard_Suite: ...@@ -117,7 +117,7 @@ class Standard_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -143,7 +143,7 @@ class Standard_Suite: ...@@ -143,7 +143,7 @@ class Standard_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -163,7 +163,7 @@ class Standard_Suite: ...@@ -163,7 +163,7 @@ class Standard_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -189,7 +189,7 @@ class Standard_Suite: ...@@ -189,7 +189,7 @@ class Standard_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -215,7 +215,7 @@ class Standard_Suite: ...@@ -215,7 +215,7 @@ class Standard_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -236,7 +236,7 @@ class Standard_Suite: ...@@ -236,7 +236,7 @@ class Standard_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -267,7 +267,7 @@ class Standard_Suite: ...@@ -267,7 +267,7 @@ class Standard_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -293,7 +293,7 @@ class Standard_Suite: ...@@ -293,7 +293,7 @@ class Standard_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -313,7 +313,7 @@ class Standard_Suite: ...@@ -313,7 +313,7 @@ class Standard_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -333,7 +333,7 @@ class Standard_Suite: ...@@ -333,7 +333,7 @@ class Standard_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -358,7 +358,7 @@ class Standard_Suite: ...@@ -358,7 +358,7 @@ class Standard_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -385,7 +385,7 @@ class Standard_Suite: ...@@ -385,7 +385,7 @@ class Standard_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -411,7 +411,7 @@ class Standard_Suite: ...@@ -411,7 +411,7 @@ class Standard_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
Level 1, version 1 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 AETE/AEUT resource version 1/0, language 0, script 0
""" """
...@@ -40,7 +40,7 @@ class Standard_URL_suite: ...@@ -40,7 +40,7 @@ class Standard_URL_suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
......
"""Suite WorldWideWeb suite, as defined in Spyglass spec.: """Suite WorldWideWeb suite, as defined in Spyglass spec.:
Level 1, version 1 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 AETE/AEUT resource version 1/0, language 0, script 0
""" """
...@@ -43,7 +43,7 @@ class WWW_Suite: ...@@ -43,7 +43,7 @@ class WWW_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -73,7 +73,7 @@ class WWW_Suite: ...@@ -73,7 +73,7 @@ class WWW_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -99,7 +99,7 @@ class WWW_Suite: ...@@ -99,7 +99,7 @@ class WWW_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -124,7 +124,7 @@ class WWW_Suite: ...@@ -124,7 +124,7 @@ class WWW_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -145,7 +145,7 @@ class WWW_Suite: ...@@ -145,7 +145,7 @@ class WWW_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -165,7 +165,7 @@ class WWW_Suite: ...@@ -165,7 +165,7 @@ class WWW_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -185,7 +185,7 @@ class WWW_Suite: ...@@ -185,7 +185,7 @@ class WWW_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -206,7 +206,7 @@ class WWW_Suite: ...@@ -206,7 +206,7 @@ class WWW_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -226,7 +226,7 @@ class WWW_Suite: ...@@ -226,7 +226,7 @@ class WWW_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -246,7 +246,7 @@ class WWW_Suite: ...@@ -246,7 +246,7 @@ class WWW_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -274,7 +274,7 @@ class WWW_Suite: ...@@ -274,7 +274,7 @@ class WWW_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -300,7 +300,7 @@ class WWW_Suite: ...@@ -300,7 +300,7 @@ class WWW_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -326,7 +326,7 @@ class WWW_Suite: ...@@ -326,7 +326,7 @@ class WWW_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -352,7 +352,7 @@ class WWW_Suite: ...@@ -352,7 +352,7 @@ class WWW_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -378,7 +378,7 @@ class WWW_Suite: ...@@ -378,7 +378,7 @@ class WWW_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
...@@ -404,7 +404,7 @@ class WWW_Suite: ...@@ -404,7 +404,7 @@ class WWW_Suite:
_reply, _arguments, _attributes = self.send(_code, _subcode, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.has_key('errn'): if _arguments.has_key('errn'):
raise MacOS.Error, aetools.decodeerror(_arguments) raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result # XXXX Optionally decode result
if _arguments.has_key('----'): if _arguments.has_key('----'):
return _arguments['----'] return _arguments['----']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment