1 """Suite Required suite:
4 Generated from /Volumes/Sap/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2
5 AETE/AEUT resource version 1/0, language 0, script 0
13 from StdSuites
.Required_Suite
import *
14 class Required_suite_Events(Required_Suite_Events
):
16 def open(self
, _object
, _attributes
={}, **_arguments
):
17 """open: Open the specified object(s)
18 Required argument: list of objects to open
19 Keyword argument _attributes: AppleEvent attribute dictionary
24 if _arguments
: raise TypeError, 'No optional args expected'
25 _arguments
['----'] = _object
28 _reply
, _arguments
, _attributes
= self
.send(_code
, _subcode
,
29 _arguments
, _attributes
)
30 if _arguments
.get('errn', 0):
31 raise aetools
.Error
, aetools
.decodeerror(_arguments
)
32 # XXXX Optionally decode result
33 if _arguments
.has_key('----'):
34 return _arguments
['----']
36 def print_(self
, _object
, _attributes
={}, **_arguments
):
37 """print: Print the specified object(s)
38 Required argument: list of objects to print
39 Keyword argument _attributes: AppleEvent attribute dictionary
44 if _arguments
: raise TypeError, 'No optional args expected'
45 _arguments
['----'] = _object
48 _reply
, _arguments
, _attributes
= self
.send(_code
, _subcode
,
49 _arguments
, _attributes
)
50 if _arguments
.get('errn', 0):
51 raise aetools
.Error
, aetools
.decodeerror(_arguments
)
52 # XXXX Optionally decode result
53 if _arguments
.has_key('----'):
54 return _arguments
['----']
56 def quit(self
, _no_object
=None, _attributes
={}, **_arguments
):
57 """quit: Quit Navigator
58 Keyword argument _attributes: AppleEvent attribute dictionary
63 if _arguments
: raise TypeError, 'No optional args expected'
64 if _no_object
!= None: raise TypeError, 'No direct arg expected'
67 _reply
, _arguments
, _attributes
= self
.send(_code
, _subcode
,
68 _arguments
, _attributes
)
69 if _arguments
.get('errn', 0):
70 raise aetools
.Error
, aetools
.decodeerror(_arguments
)
71 # XXXX Optionally decode result
72 if _arguments
.has_key('----'):
73 return _arguments
['----']
75 def run(self
, _no_object
=None, _attributes
={}, **_arguments
):
76 """run: Sent to an application when it is double-clicked
77 Keyword argument _attributes: AppleEvent attribute dictionary
82 if _arguments
: raise TypeError, 'No optional args expected'
83 if _no_object
!= None: raise TypeError, 'No direct arg expected'
86 _reply
, _arguments
, _attributes
= self
.send(_code
, _subcode
,
87 _arguments
, _attributes
)
88 if _arguments
.get('errn', 0):
89 raise aetools
.Error
, aetools
.decodeerror(_arguments
)
90 # XXXX Optionally decode result
91 if _arguments
.has_key('----'):
92 return _arguments
['----']
96 # Indices of types declared in this module
98 _classdeclarations
= {
101 _propdeclarations
= {
104 _compdeclarations
= {
107 _enumdeclarations
= {