the usual (part II)
[python/dscho.git] / Mac / Lib / lib-scriptpackages / Explorer / Netscape_Suite.py
blobd789c5d032970e3378ba193bd8287db07a03e509
1 """Suite Netscape Suite: Events defined by Netscape.
2 Level 1, version 1
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
6 """
8 import aetools
9 import MacOS
11 _code = 'MOSS'
13 class Netscape_Suite_Events:
15 def Open_bookmark(self, _object=None, _attributes={}, **_arguments):
16 """Open bookmark: Reads in a bookmark file
17 Required argument: If not available, reloads the current bookmark file
18 Keyword argument _attributes: AppleEvent attribute dictionary
19 """
20 _code = 'MOSS'
21 _subcode = 'book'
23 if _arguments: raise TypeError, 'No optional args expected'
24 _arguments['----'] = _object
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['----']
37 # Indices of types declared in this module
39 _classdeclarations = {
42 _propdeclarations = {
45 _compdeclarations = {
48 _enumdeclarations = {