[Python-checkins] python/dist/src/Mac/Lib/lib-scriptpackages/Explorer Standard_Suite.py,NONE,1.1 Microsoft_Internet_Explorer.py,1.2,1.3 Netscape_Suite.py,1.2,1.3 Required_Suite.py,1.2,1.3 URL_Suite.py,1.2,1.3 Web_Browser_Suite.py,1.2,1.3 __init__.py,1.2,1.3
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Wed, 07 Aug 2002 08:53:43 -0700
- Previous message: [Python-checkins] python/dist/src/Mac/scripts gensuitemodule.py,1.26,1.27
- Next message: [Python-checkins] python/dist/src/Mac/Lib/lib-scriptpackages/Finder Containers_and_folders.py,1.4,1.5 Earlier_terms.py,1.4,1.5 Enumerations.py,1.3,1.4 Files_and_suitcases.py,1.4,1.5 Finder_Basics.py,1.3,1.4 Finder_items.py,1.3,1.4 Obsolete_terms.py,1.4,1.5 Process_classes.py,1.3,1.4 Standard_Suite.py,1.4,1.5 Type_Definitions.py,1.4,1.5 Window_classes.py,1.4,1.5 __init__.py,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/Explorer
In directory usw-pr-cvs1:/tmp/cvs-serv3925/Explorer
Modified Files:
Microsoft_Internet_Explorer.py Netscape_Suite.py
Required_Suite.py URL_Suite.py Web_Browser_Suite.py
__init__.py
Added Files:
Standard_Suite.py
Log Message:
Regenerated with OSA class inheritance and fix for non-ascii chars.
--- NEW FILE: Standard_Suite.py ---
"""Suite Standard Suite: Common terms for most applications
Level 1, version 1
Generated from /Volumes/Sap/Applications (Mac OS 9)/Internet Explorer 5/Internet Explorer
AETE/AEUT resource version 1/0, language 0, script 0
"""
import aetools
import MacOS
_code = '****'
class Standard_Suite_Events:
_argmap_get = {
'as' : 'rtyp',
}
def get(self, _object, _attributes={}, **_arguments):
"""get:
Required argument: an AE object reference
Keyword argument as: undocumented, typecode 'type'
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: anything
"""
_code = 'core'
_subcode = 'getd'
aetools.keysubst(_arguments, self._argmap_get)
_arguments['----'] = _object
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
if _arguments.has_key('----'):
return _arguments['----']
class application(aetools.ComponentItem):
"""application - An application program """
want = 'capp'
class selected_text(aetools.NProperty):
"""selected text - the selected text """
which = 'stxt'
want = 'TEXT'
application._superclassnames = []
application._privpropdict = {
'selected_text' : selected_text,
}
application._privelemdict = {
}
#
# Indices of types declared in this module
#
_classdeclarations = {
'capp' : application,
}
_propdeclarations = {
'stxt' : selected_text,
}
_compdeclarations = {
}
_enumdeclarations = {
}
Index: Microsoft_Internet_Explorer.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/Explorer/Microsoft_Internet_Explorer.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Microsoft_Internet_Explorer.py 23 Apr 2002 21:05:38 -0000 1.2
--- Microsoft_Internet_Explorer.py 7 Aug 2002 15:53:40 -0000 1.3
***************
*** 2,6 ****
Level 1, version 1
! Generated from Moes:Applications (Mac OS 9):Internet Explorer 5:Internet Explorer
AETE/AEUT resource version 1/0, language 0, script 0
"""
--- 2,6 ----
Level 1, version 1
! Generated from /Volumes/Sap/Applications (Mac OS 9)/Internet Explorer 5/Internet Explorer
AETE/AEUT resource version 1/0, language 0, script 0
"""
Index: Netscape_Suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/Explorer/Netscape_Suite.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Netscape_Suite.py 23 Apr 2002 21:05:44 -0000 1.2
--- Netscape_Suite.py 7 Aug 2002 15:53:41 -0000 1.3
***************
*** 2,6 ****
Level 1, version 1
! Generated from Moes:Applications (Mac OS 9):Internet Explorer 5:Internet Explorer
AETE/AEUT resource version 1/0, language 0, script 0
"""
--- 2,6 ----
Level 1, version 1
! Generated from /Volumes/Sap/Applications (Mac OS 9)/Internet Explorer 5/Internet Explorer
AETE/AEUT resource version 1/0, language 0, script 0
"""
Index: Required_Suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/Explorer/Required_Suite.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Required_Suite.py 23 Apr 2002 21:05:54 -0000 1.2
--- Required_Suite.py 7 Aug 2002 15:53:41 -0000 1.3
***************
*** 2,6 ****
Level 1, version 1
! Generated from Moes:Applications (Mac OS 9):Internet Explorer 5:Internet Explorer
AETE/AEUT resource version 1/0, language 0, script 0
"""
--- 2,6 ----
Level 1, version 1
! Generated from /Volumes/Sap/Applications (Mac OS 9)/Internet Explorer 5/Internet Explorer
AETE/AEUT resource version 1/0, language 0, script 0
"""
***************
*** 53,57 ****
return _arguments['----']
! def _print(self, _object, _attributes={}, **_arguments):
"""print: Print documents
Required argument: undocumented, typecode 'alis'
--- 53,57 ----
return _arguments['----']
! def print_(self, _object, _attributes={}, **_arguments):
"""print: Print documents
Required argument: undocumented, typecode 'alis'
Index: URL_Suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/Explorer/URL_Suite.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** URL_Suite.py 23 Apr 2002 21:05:49 -0000 1.2
--- URL_Suite.py 7 Aug 2002 15:53:41 -0000 1.3
***************
*** 2,6 ****
Level 1, version 1
! Generated from Moes:Applications (Mac OS 9):Internet Explorer 5:Internet Explorer
AETE/AEUT resource version 1/0, language 0, script 0
"""
--- 2,6 ----
Level 1, version 1
! Generated from /Volumes/Sap/Applications (Mac OS 9)/Internet Explorer 5/Internet Explorer
AETE/AEUT resource version 1/0, language 0, script 0
"""
Index: Web_Browser_Suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/Explorer/Web_Browser_Suite.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Web_Browser_Suite.py 23 Apr 2002 21:06:00 -0000 1.2
--- Web_Browser_Suite.py 7 Aug 2002 15:53:41 -0000 1.3
***************
*** 2,6 ****
Level 1, version 1
! Generated from Moes:Applications (Mac OS 9):Internet Explorer 5:Internet Explorer
AETE/AEUT resource version 1/0, language 0, script 0
"""
--- 2,6 ----
Level 1, version 1
! Generated from /Volumes/Sap/Applications (Mac OS 9)/Internet Explorer 5/Internet Explorer
AETE/AEUT resource version 1/0, language 0, script 0
"""
Index: __init__.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/Explorer/__init__.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** __init__.py 23 Apr 2002 21:05:34 -0000 1.2
--- __init__.py 7 Aug 2002 15:53:41 -0000 1.3
***************
*** 1,4 ****
"""
! Package generated from Moes:Applications (Mac OS 9):Internet Explorer 5:Internet Explorer
Resource aete resid 0
"""
--- 1,4 ----
"""
! Package generated from /Volumes/Sap/Applications (Mac OS 9)/Internet Explorer 5/Internet Explorer
Resource aete resid 0
"""
***************
*** 39,42 ****
--- 39,65 ----
from Microsoft_Internet_Explorer import *
from Netscape_Suite import *
+ def getbaseclasses(v):
+ if hasattr(v, '_superclassnames') and not hasattr(v, '_propdict'):
+ v._propdict = {}
+ v._elemdict = {}
+ for superclass in v._superclassnames:
+ v._propdict.update(getattr(eval(superclass), '_privpropdict', {}))
+ v._elemdict.update(getattr(eval(superclass), '_privelemdict', {}))
+ v._propdict.update(v._privpropdict)
+ v._elemdict.update(v._privelemdict)
+
+ import StdSuites
+
+ #
+ # Set property and element dictionaries now that all classes have been defined
+ #
+ getbaseclasses(application)
+
+ #
+ # Indices of types declared in this module
+ #
+ _classdeclarations = {
+ 'capp' : application,
+ }
***************
*** 49,51 ****
--- 72,76 ----
aetools.TalkTo):
_signature = 'MSIE'
+
+ _moduleName = 'Explorer'
- Previous message: [Python-checkins] python/dist/src/Mac/scripts gensuitemodule.py,1.26,1.27
- Next message: [Python-checkins] python/dist/src/Mac/Lib/lib-scriptpackages/Finder Containers_and_folders.py,1.4,1.5 Earlier_terms.py,1.4,1.5 Enumerations.py,1.3,1.4 Files_and_suitcases.py,1.4,1.5 Finder_Basics.py,1.3,1.4 Finder_items.py,1.3,1.4 Obsolete_terms.py,1.4,1.5 Process_classes.py,1.3,1.4 Standard_Suite.py,1.4,1.5 Type_Definitions.py,1.4,1.5 Window_classes.py,1.4,1.5 __init__.py,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]