diff options
Diffstat (limited to 'Lib/plat-mac/lib-scriptpackages/Explorer/Required_Suite.py')
| -rw-r--r-- | Lib/plat-mac/lib-scriptpackages/Explorer/Required_Suite.py | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/Lib/plat-mac/lib-scriptpackages/Explorer/Required_Suite.py b/Lib/plat-mac/lib-scriptpackages/Explorer/Required_Suite.py index 3abd880..0d15049 100644 --- a/Lib/plat-mac/lib-scriptpackages/Explorer/Required_Suite.py +++ b/Lib/plat-mac/lib-scriptpackages/Explorer/Required_Suite.py @@ -13,15 +13,16 @@ _code = 'reqd' from StdSuites.Required_Suite import * class Required_Suite_Events(Required_Suite_Events): - def run(self, _no_object=None, _attributes={}, **_arguments): - """run: + def open(self, _object, _attributes={}, **_arguments): + """open: Open documents + Required argument: undocumented, typecode 'alis' Keyword argument _attributes: AppleEvent attribute dictionary """ _code = 'aevt' - _subcode = 'oapp' + _subcode = 'odoc' if _arguments: raise TypeError, 'No optional args expected' - if _no_object != None: raise TypeError, 'No direct arg expected' + _arguments['----'] = _object _reply, _arguments, _attributes = self.send(_code, _subcode, @@ -32,13 +33,13 @@ class Required_Suite_Events(Required_Suite_Events): if _arguments.has_key('----'): return _arguments['----'] - def open(self, _object, _attributes={}, **_arguments): - """open: Open documents + def print_(self, _object, _attributes={}, **_arguments): + """print: Print documents Required argument: undocumented, typecode 'alis' Keyword argument _attributes: AppleEvent attribute dictionary """ _code = 'aevt' - _subcode = 'odoc' + _subcode = 'pdoc' if _arguments: raise TypeError, 'No optional args expected' _arguments['----'] = _object @@ -52,16 +53,15 @@ class Required_Suite_Events(Required_Suite_Events): if _arguments.has_key('----'): return _arguments['----'] - def print_(self, _object, _attributes={}, **_arguments): - """print: Print documents - Required argument: undocumented, typecode 'alis' + def quit(self, _no_object=None, _attributes={}, **_arguments): + """quit: Quit application Keyword argument _attributes: AppleEvent attribute dictionary """ _code = 'aevt' - _subcode = 'pdoc' + _subcode = 'quit' if _arguments: raise TypeError, 'No optional args expected' - _arguments['----'] = _object + if _no_object != None: raise TypeError, 'No direct arg expected' _reply, _arguments, _attributes = self.send(_code, _subcode, @@ -72,12 +72,12 @@ class Required_Suite_Events(Required_Suite_Events): if _arguments.has_key('----'): return _arguments['----'] - def quit(self, _no_object=None, _attributes={}, **_arguments): - """quit: Quit application + def run(self, _no_object=None, _attributes={}, **_arguments): + """run: Keyword argument _attributes: AppleEvent attribute dictionary """ _code = 'aevt' - _subcode = 'quit' + _subcode = 'oapp' if _arguments: raise TypeError, 'No optional args expected' if _no_object != None: raise TypeError, 'No direct arg expected' |
