home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 May / maximum-cd-2010-05.iso / DiscContents / boxee-0.9.20.10711.exe / system / python / Lib / plat-mac / lib-scriptpackages / Netscape / Standard_URL_suite.pyo (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2009-07-20  |  1.7 KB  |  47 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.4)
  3.  
  4. '''Suite Standard URL suite: Mac URL standard, supported by many apps
  5.  
  6.  
  7. Level 1, version 1
  8.  
  9. Generated from /Volumes/Sap/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2
  10. AETE/AEUT resource version 1/0, language 0, script 0
  11. '''
  12. import aetools
  13. import MacOS
  14. _code = 'GURL'
  15.  
  16. class Standard_URL_suite_Events:
  17.     _argmap_GetURL = {
  18.         'to': 'dest',
  19.         'inside': 'HWIN',
  20.         'from_': 'refe' }
  21.     
  22.     def GetURL(self, _object, _attributes = { }, **_arguments):
  23.         '''GetURL: Loads the URL (optionally to disk)
  24.         Required argument: The url
  25.         Keyword argument to: file the URL should be loaded into
  26.         Keyword argument inside: Window the URL should be loaded to
  27.         Keyword argument from_: Referrer, to be sent with the HTTP request
  28.         Keyword argument _attributes: AppleEvent attribute dictionary
  29.         '''
  30.         _code = 'GURL'
  31.         _subcode = 'GURL'
  32.         aetools.keysubst(_arguments, self._argmap_GetURL)
  33.         _arguments['----'] = _object
  34.         (_reply, _arguments, _attributes) = self.send(_code, _subcode, _arguments, _attributes)
  35.         if _arguments.get('errn', 0):
  36.             raise aetools.Error, aetools.decodeerror(_arguments)
  37.         
  38.         if _arguments.has_key('----'):
  39.             return _arguments['----']
  40.         
  41.  
  42.  
  43. _classdeclarations = { }
  44. _propdeclarations = { }
  45. _compdeclarations = { }
  46. _enumdeclarations = { }
  47.