1 """Suite Required Suite: Events that every application should support
4 Generated from Macintosh HD:Internet:Internet-programma's:Internet Explorer 4.5-map:Internet Explorer 4.5
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 run(self
, _no_object
=None, _attributes
={}, **_arguments
):
18 Keyword argument _attributes: AppleEvent attribute dictionary
23 if _arguments
: raise TypeError, 'No optional args expected'
24 if _no_object
!= None: raise TypeError, 'No direct arg expected'
27 _reply
, _arguments
, _attributes
= self
.send(_code
, _subcode
,
28 _arguments
, _attributes
)
29 if _arguments
.has_key('errn'):
30 raise aetools
.Error
, aetools
.decodeerror(_arguments
)
31 # XXXX Optionally decode result
32 if _arguments
.has_key('----'):
33 return _arguments
['----']
35 def open(self
, _object
, _attributes
={}, **_arguments
):
36 """open: Open documents
37 Required argument: undocumented, typecode 'alis'
38 Keyword argument _attributes: AppleEvent attribute dictionary
43 if _arguments
: raise TypeError, 'No optional args expected'
44 _arguments
['----'] = _object
47 _reply
, _arguments
, _attributes
= self
.send(_code
, _subcode
,
48 _arguments
, _attributes
)
49 if _arguments
.has_key('errn'):
50 raise aetools
.Error
, aetools
.decodeerror(_arguments
)
51 # XXXX Optionally decode result
52 if _arguments
.has_key('----'):
53 return _arguments
['----']
55 def _print(self
, _object
, _attributes
={}, **_arguments
):
56 """print: Print documents
57 Required argument: undocumented, typecode 'alis'
58 Keyword argument _attributes: AppleEvent attribute dictionary
63 if _arguments
: raise TypeError, 'No optional args expected'
64 _arguments
['----'] = _object
67 _reply
, _arguments
, _attributes
= self
.send(_code
, _subcode
,
68 _arguments
, _attributes
)
69 if _arguments
.has_key('errn'):
70 raise aetools
.Error
, aetools
.decodeerror(_arguments
)
71 # XXXX Optionally decode result
72 if _arguments
.has_key('----'):
73 return _arguments
['----']
75 def quit(self
, _no_object
=None, _attributes
={}, **_arguments
):
76 """quit: Quit application
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
.has_key('errn'):
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
= {