1 """Suite URL Suite: Standard suite for Uniform Resource Locators
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 class URL_Suite_Events
:
19 def GetURL(self
, _object
, _attributes
={}, **_arguments
):
20 """GetURL: Open the URL (and optionally save it to disk)
21 Required argument: The URL
22 Keyword argument to: Save the resolved URL contents to this file.
23 Keyword argument _attributes: AppleEvent attribute dictionary
28 aetools
.keysubst(_arguments
, self
._argmap
_GetURL
)
29 _arguments
['----'] = _object
32 _reply
, _arguments
, _attributes
= self
.send(_code
, _subcode
,
33 _arguments
, _attributes
)
34 if _arguments
.has_key('errn'):
35 raise aetools
.Error
, aetools
.decodeerror(_arguments
)
36 # XXXX Optionally decode result
37 if _arguments
.has_key('----'):
38 return _arguments
['----']
42 # Indices of types declared in this module
44 _classdeclarations
= {