1 """Suite Standard URL suite: Mac URL standard, supported by many apps
7 Generated from flap:Programma's:Netscape NavigatorŽ Folder:Netscape NavigatorŽ 3.01
8 AETE/AEUT resource version 1/0, language 0, script 0
16 class Standard_URL_suite
:
24 def GetURL(self
, _object
, _attributes
={}, **_arguments
):
25 """GetURL: Loads the URL (optionaly to disk)
27 Required argument: The url
28 Keyword argument to: file the URL should be loaded into
29 Keyword argument inside: Window the URL should be loaded to
30 Keyword argument _from: Refererer, to be sent with the HTTP request
31 Keyword argument _attributes: AppleEvent attribute dictionary
36 aetools
.keysubst(_arguments
, self
._argmap
_GetURL
)
37 _arguments
['----'] = _object
40 _reply
, _arguments
, _attributes
= self
.send(_code
, _subcode
,
41 _arguments
, _attributes
)
42 if _arguments
.has_key('errn'):
43 raise aetools
.Error
, aetools
.decodeerror(_arguments
)
44 # XXXX Optionally decode result
45 if _arguments
.has_key('----'):
46 return _arguments
['----']
50 # Indices of types declared in this module
52 _classdeclarations
= {