diff options
Diffstat (limited to 'Mac/Lib/lib-scriptpackages/Finder/Standard_Suite.py')
| -rw-r--r-- | Mac/Lib/lib-scriptpackages/Finder/Standard_Suite.py | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/Mac/Lib/lib-scriptpackages/Finder/Standard_Suite.py b/Mac/Lib/lib-scriptpackages/Finder/Standard_Suite.py index ef2ad1b..1d16255 100644 --- a/Mac/Lib/lib-scriptpackages/Finder/Standard_Suite.py +++ b/Mac/Lib/lib-scriptpackages/Finder/Standard_Suite.py @@ -1,7 +1,7 @@ """Suite Standard Suite: Common terms that most applications should support Level 1, version 1 -Generated from Macintosh HD:Systeemmap:Finder +Generated from Moes:Systeemmap:Finder AETE/AEUT resource version 0/144, language 0, script 0 """ @@ -10,7 +10,8 @@ import MacOS _code = 'CoRe' -class Standard_Suite_Events: +from StdSuites.Standard_Suite import * +class Standard_Suite_Events(Standard_Suite_Events): _argmap_open = { 'using' : 'usin', @@ -33,7 +34,7 @@ class Standard_Suite_Events: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) - if _arguments.has_key('errn'): + if _arguments.get('errn', 0): raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): @@ -58,7 +59,7 @@ class Standard_Suite_Events: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) - if _arguments.has_key('errn'): + if _arguments.get('errn', 0): raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): @@ -77,7 +78,7 @@ class Standard_Suite_Events: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) - if _arguments.has_key('errn'): + if _arguments.get('errn', 0): raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): @@ -97,7 +98,7 @@ class Standard_Suite_Events: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) - if _arguments.has_key('errn'): + if _arguments.get('errn', 0): raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): @@ -123,7 +124,7 @@ class Standard_Suite_Events: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) - if _arguments.has_key('errn'): + if _arguments.get('errn', 0): raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): @@ -149,7 +150,7 @@ class Standard_Suite_Events: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) - if _arguments.has_key('errn'): + if _arguments.get('errn', 0): raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): @@ -170,7 +171,7 @@ class Standard_Suite_Events: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) - if _arguments.has_key('errn'): + if _arguments.get('errn', 0): raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): @@ -202,7 +203,7 @@ class Standard_Suite_Events: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) - if _arguments.has_key('errn'): + if _arguments.get('errn', 0): raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): @@ -223,7 +224,7 @@ class Standard_Suite_Events: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) - if _arguments.has_key('errn'): + if _arguments.get('errn', 0): raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): @@ -254,7 +255,7 @@ class Standard_Suite_Events: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) - if _arguments.has_key('errn'): + if _arguments.get('errn', 0): raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): @@ -289,7 +290,7 @@ class Standard_Suite_Events: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) - if _arguments.has_key('errn'): + if _arguments.get('errn', 0): raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): @@ -309,12 +310,14 @@ class Standard_Suite_Events: _reply, _arguments, _attributes = self.send(_code, _subcode, _arguments, _attributes) - if _arguments.has_key('errn'): + if _arguments.get('errn', 0): raise aetools.Error, aetools.decodeerror(_arguments) # XXXX Optionally decode result if _arguments.has_key('----'): return _arguments['----'] +import AppleScript_Suite +import AppleScript_Suite _Enum_list = None # XXXX enum list not found!! _Enum_bool = None # XXXX enum bool not found!! |
