Regenerated with Donovan Prestons patch #702620.

This commit is contained in:
Jack Jansen 2003-03-23 22:07:28 +00:00
parent 7cb016db80
commit b46bebf518
45 changed files with 333 additions and 119 deletions

View File

@ -1,7 +1,7 @@
"""Suite CodeWarrior suite: Terms for scripting the CodeWarrior IDE
Level 0, version 0
Generated from /Volumes/Sap/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.5
Generated from /Volumes/Moes/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.6
AETE/AEUT resource version 1/0, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""Suite Metrowerks Shell Suite: Events supported by the Metrowerks Project Shell
Level 1, version 1
Generated from /Volumes/Sap/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.5
Generated from /Volumes/Moes/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.6
AETE/AEUT resource version 1/0, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""Suite Required: Terms that every application should support
Level 1, version 1
Generated from /Volumes/Sap/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.5
Generated from /Volumes/Moes/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.6
AETE/AEUT resource version 1/0, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""Suite Standard Suite: Common terms for most applications
Level 1, version 1
Generated from /Volumes/Sap/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.5
Generated from /Volumes/Moes/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.6
AETE/AEUT resource version 1/0, language 0, script 0
"""

View File

@ -1,5 +1,5 @@
"""
Package generated from /Volumes/Sap/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.5
Package generated from /Volumes/Moes/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.6
Resource aete resid 0 AppleEvent Suites
"""
import aetools
@ -30,15 +30,18 @@ from Required import *
from Standard_Suite import *
from CodeWarrior_suite import *
from Metrowerks_Shell_Suite import *
def getbaseclasses(v):
if hasattr(v, '_superclassnames') and not hasattr(v, '_propdict'):
if not getattr(v, '_propdict', None):
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)
for superclassname in getattr(v, '_superclassnames', []):
superclass = eval(superclassname)
getbaseclasses(superclass)
v._propdict.update(getattr(superclass, '_propdict', {}))
v._elemdict.update(getattr(superclass, '_elemdict', {}))
v._propdict.update(getattr(v, '_privpropdict', {}))
v._elemdict.update(getattr(v, '_privelemdict', {}))
import StdSuites

View File

@ -1,7 +1,7 @@
"""Suite Microsoft Internet Explorer Suite: Events defined by Internet Explorer
Level 1, version 1
Generated from /Volumes/Sap/Applications (Mac OS 9)/Internet Explorer 5/Internet Explorer
Generated from /Volumes/Moes/Applications (Mac OS 9)/Internet Explorer 5/Internet Explorer
AETE/AEUT resource version 1/0, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""Suite Netscape Suite: Events defined by Netscape
Level 1, version 1
Generated from /Volumes/Sap/Applications (Mac OS 9)/Internet Explorer 5/Internet Explorer
Generated from /Volumes/Moes/Applications (Mac OS 9)/Internet Explorer 5/Internet Explorer
AETE/AEUT resource version 1/0, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""Suite Required Suite: Events that every application should support
Level 1, version 1
Generated from /Volumes/Sap/Applications (Mac OS 9)/Internet Explorer 5/Internet Explorer
Generated from /Volumes/Moes/Applications (Mac OS 9)/Internet Explorer 5/Internet Explorer
AETE/AEUT resource version 1/0, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""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
Generated from /Volumes/Moes/Applications (Mac OS 9)/Internet Explorer 5/Internet Explorer
AETE/AEUT resource version 1/0, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""Suite URL Suite: Standard suite for Uniform Resource Locators
Level 1, version 1
Generated from /Volumes/Sap/Applications (Mac OS 9)/Internet Explorer 5/Internet Explorer
Generated from /Volumes/Moes/Applications (Mac OS 9)/Internet Explorer 5/Internet Explorer
AETE/AEUT resource version 1/0, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""Suite Web Browser Suite: Class of events supported by Web Browser applications
Level 1, version 1
Generated from /Volumes/Sap/Applications (Mac OS 9)/Internet Explorer 5/Internet Explorer
Generated from /Volumes/Moes/Applications (Mac OS 9)/Internet Explorer 5/Internet Explorer
AETE/AEUT resource version 1/0, language 0, script 0
"""

View File

@ -1,5 +1,5 @@
"""
Package generated from /Volumes/Sap/Applications (Mac OS 9)/Internet Explorer 5/Internet Explorer
Package generated from /Volumes/Moes/Applications (Mac OS 9)/Internet Explorer 5/Internet Explorer
Resource aete resid 0
"""
import aetools
@ -38,15 +38,18 @@ from Web_Browser_Suite import *
from URL_Suite import *
from Microsoft_Internet_Explorer import *
from Netscape_Suite import *
def getbaseclasses(v):
if hasattr(v, '_superclassnames') and not hasattr(v, '_propdict'):
if not getattr(v, '_propdict', None):
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)
for superclassname in getattr(v, '_superclassnames', []):
superclass = eval(superclassname)
getbaseclasses(superclass)
v._propdict.update(getattr(superclass, '_propdict', {}))
v._elemdict.update(getattr(superclass, '_elemdict', {}))
v._propdict.update(getattr(v, '_privpropdict', {}))
v._elemdict.update(getattr(v, '_privelemdict', {}))
import StdSuites

View File

@ -1,7 +1,7 @@
"""Suite Containers and folders: Classes that can contain other file system items
Level 1, version 1
Generated from /Volumes/Sap/System Folder/Finder
Generated from /Volumes/Moes/Systeemmap/Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""Suite Earlier terms: Terms that have been renamed
Level 1, version 1
Generated from /Volumes/Sap/System Folder/Finder
Generated from /Volumes/Moes/Systeemmap/Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""Suite Enumerations: Enumerations for the Finder
Level 1, version 1
Generated from /Volumes/Sap/System Folder/Finder
Generated from /Volumes/Moes/Systeemmap/Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""Suite Files and suitcases: Classes representing files and suitcases
Level 1, version 1
Generated from /Volumes/Sap/System Folder/Finder
Generated from /Volumes/Moes/Systeemmap/Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""Suite Finder Basics: Commonly-used Finder commands and object classes
Level 1, version 1
Generated from /Volumes/Sap/System Folder/Finder
Generated from /Volumes/Moes/Systeemmap/Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""Suite Finder items: Commands used with file system items, and basic item definition
Level 1, version 1
Generated from /Volumes/Sap/System Folder/Finder
Generated from /Volumes/Moes/Systeemmap/Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""Suite Obsolete terms: Terms that have been deprecated
Level 1, version 1
Generated from /Volumes/Sap/System Folder/Finder
Generated from /Volumes/Moes/Systeemmap/Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""Suite Process classes: Classes representing processes that are running
Level 1, version 1
Generated from /Volumes/Sap/System Folder/Finder
Generated from /Volumes/Moes/Systeemmap/Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""Suite Standard Suite: Common terms that most applications should support
Level 1, version 1
Generated from /Volumes/Sap/System Folder/Finder
Generated from /Volumes/Moes/Systeemmap/Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""Suite Type Definitions: Definitions of records used in scripting the Finder
Level 1, version 1
Generated from /Volumes/Sap/System Folder/Finder
Generated from /Volumes/Moes/Systeemmap/Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""Suite Window classes: Classes representing windows
Level 1, version 1
Generated from /Volumes/Sap/System Folder/Finder
Generated from /Volumes/Moes/Systeemmap/Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""

View File

@ -1,5 +1,5 @@
"""
Package generated from /Volumes/Sap/System Folder/Finder
Package generated from /Volumes/Moes/Systeemmap/Finder
Resource aete resid 0
"""
import aetools
@ -58,15 +58,18 @@ from Process_classes import *
from Type_Definitions import *
from Enumerations import *
from Obsolete_terms import *
def getbaseclasses(v):
if hasattr(v, '_superclassnames') and not hasattr(v, '_propdict'):
if not getattr(v, '_propdict', None):
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)
for superclassname in getattr(v, '_superclassnames', []):
superclass = eval(superclassname)
getbaseclasses(superclass)
v._propdict.update(getattr(superclass, '_propdict', {}))
v._elemdict.update(getattr(superclass, '_elemdict', {}))
v._propdict.update(getattr(v, '_privpropdict', {}))
v._elemdict.update(getattr(v, '_privelemdict', {}))
import StdSuites

View File

@ -1,7 +1,7 @@
"""Suite Mozilla suite: Experimental Mozilla suite
Level 1, version 1
Generated from /Volumes/Sap/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2
Generated from /Volumes/Moes/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2
AETE/AEUT resource version 1/0, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""Suite PowerPlant:
Level 0, version 0
Generated from /Volumes/Sap/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2
Generated from /Volumes/Moes/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2
AETE/AEUT resource version 1/0, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""Suite Required suite:
Level 0, version 0
Generated from /Volumes/Sap/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2
Generated from /Volumes/Moes/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2
AETE/AEUT resource version 1/0, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""Suite Standard Suite: Common terms for most applications
Level 1, version 1
Generated from /Volumes/Sap/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2
Generated from /Volumes/Moes/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2
AETE/AEUT resource version 1/0, language 0, script 0
"""

View File

@ -3,7 +3,7 @@
Level 1, version 1
Generated from /Volumes/Sap/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2
Generated from /Volumes/Moes/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2
AETE/AEUT resource version 1/0, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""Suite Text:
Level 0, version 0
Generated from /Volumes/Sap/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2
Generated from /Volumes/Moes/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2
AETE/AEUT resource version 1/0, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""Suite WorldWideWeb suite, as defined in Spyglass spec.:
Level 1, version 1
Generated from /Volumes/Sap/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2
Generated from /Volumes/Moes/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2
AETE/AEUT resource version 1/0, language 0, script 0
"""

View File

@ -1,5 +1,5 @@
"""
Package generated from /Volumes/Sap/Applications (Mac OS 9)/Netscape Communicator Folder/Netscape Communicator
Package generated from /Volumes/Moes/Applications (Mac OS 9)/Netscape Communicator Folder/Netscape Communicator
Resource aete resid 0
"""
import aetools
@ -42,15 +42,18 @@ from WorldWideWeb_suite import *
from Mozilla_suite import *
from PowerPlant import *
from Text import *
def getbaseclasses(v):
if hasattr(v, '_superclassnames') and not hasattr(v, '_propdict'):
if not getattr(v, '_propdict', None):
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)
for superclassname in getattr(v, '_superclassnames', []):
superclass = eval(superclassname)
getbaseclasses(superclass)
v._propdict.update(getattr(superclass, '_propdict', {}))
v._elemdict.update(getattr(superclass, '_elemdict', {}))
v._propdict.update(getattr(v, '_privpropdict', {}))
v._elemdict.update(getattr(v, '_privelemdict', {}))
import StdSuites

View File

@ -1,7 +1,7 @@
"""Suite AppleScript Suite: Standard terms for AppleScript
Level 1, version 1
Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
Generated from /Volumes/Moes/Systeemmap/Extensies/AppleScript
AETE/AEUT resource version 1/0, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""Suite Macintosh Connectivity Classes: Classes relating to Apple Macintosh personal computer connectivity
Level 1, version 1
Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
Generated from /Volumes/Moes/Systeemmap/Extensies/AppleScript
AETE/AEUT resource version 1/0, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""Suite QuickDraw Graphics Suite: A set of basic classes for graphics
Level 1, version 1
Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
Generated from /Volumes/Moes/Systeemmap/Extensies/AppleScript
AETE/AEUT resource version 1/0, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""Suite QuickDraw Graphics Supplemental Suite: Defines transformations of graphic objects
Level 1, version 1
Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
Generated from /Volumes/Moes/Systeemmap/Extensies/AppleScript
AETE/AEUT resource version 1/0, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""Suite Required Suite: Every application supports open, print, run, and quit
Level 1, version 1
Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
Generated from /Volumes/Moes/Systeemmap/Extensies/AppleScript
AETE/AEUT resource version 1/0, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""Suite Standard Suite: Common terms for most applications
Level 1, version 1
Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
Generated from /Volumes/Moes/Systeemmap/Extensies/AppleScript
AETE/AEUT resource version 1/0, language 0, script 0
"""
@ -125,7 +125,7 @@ class Standard_Suite_Events(builtin_Suite_Events):
"""close: Close an object
Required argument: the object to close
Keyword argument saving: specifies whether changes should be saved before closing
Keyword argument saving_in: the file in which to save the object
Keyword argument saving_in: the file or alias in which to save the object
Keyword argument _attributes: AppleEvent attribute dictionary
"""
_code = 'core'
@ -304,7 +304,7 @@ class Standard_Suite_Events(builtin_Suite_Events):
def save(self, _object, _attributes={}, **_arguments):
"""save: Save an object
Required argument: the object to save, usually a document or window
Keyword argument in_: the file in which to save the object
Keyword argument in_: the file or alias in which to save the object
Keyword argument as: the file type of the document in which to save the data
Keyword argument _attributes: AppleEvent attribute dictionary
"""
@ -485,7 +485,7 @@ class modified(aetools.NProperty):
documents = document
class file(aetools.ComponentItem):
"""file - a file on a disk or server (or a file yet to be created) """
"""file - a file on a disk or server """
want = 'file'
class stationery(aetools.NProperty):
"""stationery - Is the file a stationery file? """

View File

@ -1,7 +1,7 @@
"""Suite Table Suite: Classes for manipulating tables
Level 1, version 1
Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
Generated from /Volumes/Moes/Systeemmap/Extensies/AppleScript
AETE/AEUT resource version 1/0, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""Suite Text Suite: A set of basic classes for text processing
Level 1, version 1
Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
Generated from /Volumes/Moes/Systeemmap/Extensies/AppleScript
AETE/AEUT resource version 1/0, language 0, script 0
"""

View File

@ -1,7 +1,7 @@
"""Suite Type Names Suite: Terminology for Registry data types
Level 1, version 1
Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
Generated from /Volumes/Moes/Systeemmap/Extensies/AppleScript
AETE/AEUT resource version 1/0, language 0, script 0
"""

View File

@ -1,5 +1,5 @@
"""
Package generated from /Volumes/Sap/System Folder/Extensions/AppleScript
Package generated from /Volumes/Moes/Systeemmap/Extensies/AppleScript
Resource aeut resid 0 Standard Event Suites for English
"""
import aetools
@ -50,15 +50,18 @@ from QuickDraw_Graphics_Suppleme import *
from Table_Suite import *
from Macintosh_Connectivity_Clas import *
from Type_Names_Suite import *
def getbaseclasses(v):
if hasattr(v, '_superclassnames') and not hasattr(v, '_propdict'):
if not getattr(v, '_propdict', None):
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)
for superclassname in getattr(v, '_superclassnames', []):
superclass = eval(superclassname)
getbaseclasses(superclass)
v._propdict.update(getattr(superclass, '_propdict', {}))
v._elemdict.update(getattr(superclass, '_elemdict', {}))
v._propdict.update(getattr(v, '_privpropdict', {}))
v._elemdict.update(getattr(v, '_privelemdict', {}))
import StdSuites

View File

@ -0,0 +1,48 @@
"""Suite Invisible Suite: Terms and Events for controlling the application
Level 1, version 1
Generated from /Applications/Utilities/Terminal.app/Contents/Resources/Terminal.rsrc
AETE/AEUT resource version 1/0, language 0, script 0
"""
import aetools
import MacOS
_code = 'tpnm'
from StdSuites.Type_Names_Suite import *
class Invisible_Suite_Events(Type_Names_Suite_Events):
pass
class application(aetools.ComponentItem):
"""application - The application """
want = 'capp'
class properties(aetools.NProperty):
"""properties - every property of the application """
which = 'pALL'
want = 'reco'
application._superclassnames = []
application._privpropdict = {
'properties' : properties,
}
application._privelemdict = {
}
#
# Indices of types declared in this module
#
_classdeclarations = {
'capp' : application,
}
_propdeclarations = {
'pALL' : properties,
}
_compdeclarations = {
}
_enumdeclarations = {
}

View File

@ -16,7 +16,7 @@ class Terminal_Suite_Events:
"""run: Run the Terminal application
Keyword argument _attributes: AppleEvent attribute dictionary
"""
_code = 'core'
_code = 'aevt'
_subcode = 'oapp'
if _arguments: raise TypeError, 'No optional args expected'
@ -35,7 +35,7 @@ class Terminal_Suite_Events:
"""quit: Quit the Terminal application
Keyword argument _attributes: AppleEvent attribute dictionary
"""
_code = 'core'
_code = 'aevt'
_subcode = 'quit'
if _arguments: raise TypeError, 'No optional args expected'
@ -73,18 +73,21 @@ class Terminal_Suite_Events:
_argmap_do_script = {
'with_command' : 'cmnd',
'in_' : 'kfil',
}
def do_script(self, _no_object=None, _attributes={}, **_arguments):
def do_script(self, _object, _attributes={}, **_arguments):
"""do script: Run a UNIX shell script or command
Keyword argument with_command: data to be passed to the Terminal application as the command line
Required argument: data to be passed to the Terminal application as the command line
Keyword argument with_command: data to be passed to the Terminal application as the command line, deprecated, use direct parameter
Keyword argument in_: the window in which to execute the command
Keyword argument _attributes: AppleEvent attribute dictionary
"""
_code = 'core'
_subcode = 'dosc'
aetools.keysubst(_arguments, self._argmap_do_script)
if _no_object != None: raise TypeError, 'No direct arg expected'
_arguments['----'] = _object
_reply, _arguments, _attributes = self.send(_code, _subcode,
@ -122,10 +125,10 @@ class index(aetools.NProperty):
"""index - the number of the window """
which = 'pidx'
want = 'long'
class visible(aetools.NProperty):
"""visible - Is the window visible? """
which = 'pvis'
want = 'bool'
class bounds(aetools.NProperty):
"""bounds - the boundary rectangle for the window, relative to the upper left corner of the screen """
which = 'pbnd'
want = 'qdrt'
class has_close_box(aetools.NProperty):
"""has close box - Does the window have a close box? """
which = 'hclb'
@ -138,6 +141,14 @@ class floating(aetools.NProperty):
"""floating - Does the window float? """
which = 'isfl'
want = 'bool'
class miniaturizable(aetools.NProperty):
"""miniaturizable - Is the window miniaturizable? """
which = 'ismn'
want = 'bool'
class miniaturized(aetools.NProperty):
"""miniaturized - Is the window miniaturized? """
which = 'pmnd'
want = 'bool'
class modal(aetools.NProperty):
"""modal - Is the window modal? """
which = 'pmod'
@ -146,6 +157,10 @@ class resizable(aetools.NProperty):
"""resizable - Is the window resizable? """
which = 'prsz'
want = 'bool'
class visible(aetools.NProperty):
"""visible - Is the window visible? """
which = 'pvis'
want = 'bool'
class zoomable(aetools.NProperty):
"""zoomable - Is the window zoomable? """
which = 'iszm'
@ -154,22 +169,22 @@ class zoomed(aetools.NProperty):
"""zoomed - Is the window zoomed? """
which = 'pzum'
want = 'bool'
class miniaturizable(aetools.NProperty):
"""miniaturizable - Is the window miniaturizable? """
which = 'mini'
want = 'bool'
class miniaturized(aetools.NProperty):
"""miniaturized - Is the window miniaturized? """
which = 'mina'
want = 'bool'
class position(aetools.NProperty):
"""position - the upper left coordinates of window """
"""position - the upper left coordinates of the window, relative to the upper left corner of the screen """
which = 'ppos'
want = 'QDpt'
class bounds(aetools.NProperty):
"""bounds - the boundary rectangle for the window """
which = 'pbnd'
want = 'qdrt'
class origin(aetools.NProperty):
"""origin - the lower left coordinates of the window, relative to the lower left corner of the screen """
which = 'pori'
want = 'list'
class size(aetools.NProperty):
"""size - the width and height of the window """
which = 'psiz'
want = 'list'
class frame(aetools.NProperty):
"""frame - the origin and size of the window """
which = 'pfra'
want = 'list'
class title_displays_device_name(aetools.NProperty):
"""title displays device name - Does the title for the window contain the device name? """
which = 'tddn'
@ -226,31 +241,44 @@ class bold_text_color(aetools.NProperty):
"""bold text color - the bold text color for the window """
which = 'pbtc'
want = 'TEXT'
class busy(aetools.NProperty):
"""busy - Is the window busy running a process? """
which = 'busy'
want = 'bool'
class processes(aetools.NProperty):
"""processes - a list of the currently running processes """
which = 'prcs'
want = 'list'
windows = window
application._propdict = {
application._superclassnames = []
application._privpropdict = {
'name' : name,
'version' : version,
'frontmost' : frontmost,
}
application._elemdict = {
application._privelemdict = {
'window' : window,
}
window._propdict = {
window._superclassnames = []
window._privpropdict = {
'name' : name,
'index' : index,
'visible' : visible,
'bounds' : bounds,
'has_close_box' : has_close_box,
'has_title_bar' : has_title_bar,
'floating' : floating,
'modal' : modal,
'resizable' : resizable,
'zoomable' : zoomable,
'zoomed' : zoomed,
'miniaturizable' : miniaturizable,
'miniaturized' : miniaturized,
'modal' : modal,
'resizable' : resizable,
'visible' : visible,
'zoomable' : zoomable,
'zoomed' : zoomed,
'position' : position,
'bounds' : bounds,
'origin' : origin,
'size' : size,
'frame' : frame,
'title_displays_device_name' : title_displays_device_name,
'title_displays_shell_path' : title_displays_shell_path,
'title_displays_window_size' : title_displays_window_size,
@ -265,8 +293,11 @@ window._propdict = {
'background_color' : background_color,
'normal_text_color' : normal_text_color,
'bold_text_color' : bold_text_color,
'busy' : busy,
'processes' : processes,
'frontmost' : frontmost,
}
window._elemdict = {
window._privelemdict = {
}
#
@ -278,35 +309,40 @@ _classdeclarations = {
}
_propdeclarations = {
'tdfn' : title_displays_file_name,
'mini' : miniaturizable,
'vers' : version,
'pidx' : index,
'pori' : origin,
'prsz' : resizable,
'vers' : version,
'prcs' : processes,
'pbtc' : bold_text_color,
'pbnd' : bounds,
'mina' : miniaturized,
'pbcl' : background_color,
'crow' : number_of_rows,
'pcnt' : contents,
'tddn' : title_displays_device_name,
'iszm' : zoomable,
'hclb' : has_close_box,
'isfl' : floating,
'pcnt' : contents,
'busy' : busy,
'pfra' : frame,
'ppos' : position,
'ptxc' : normal_text_color,
'tdfn' : title_displays_file_name,
'pcuc' : cursor_color,
'tdsp' : title_displays_shell_path,
'pvis' : visible,
'tdct' : title_displays_custom_title,
'pidx' : index,
'pmod' : modal,
'titl' : custom_title,
'pisf' : frontmost,
'pmnd' : miniaturized,
'tdct' : title_displays_custom_title,
'hist' : history,
'pzum' : zoomed,
'crow' : number_of_rows,
'ismn' : miniaturizable,
'pbcl' : background_color,
'pnam' : name,
'ccol' : number_of_columns,
'tdws' : title_displays_window_size,
'pbtc' : bold_text_color,
'psiz' : size,
'ptit' : has_title_bar,
}

View File

@ -2,27 +2,142 @@
Package generated from /Applications/Utilities/Terminal.app/Contents/Resources/Terminal.rsrc
Resource aete resid 0 Terminal Terminology
"""
# Note: hand-edited _signature to 'trmx'.
import aetools
Error = aetools.Error
import Terminal_Suite
import Invisible_Suite
_code_to_module = {
'trmx' : Terminal_Suite,
'tpnm' : Invisible_Suite,
}
_code_to_fullname = {
'trmx' : ('Terminal.Terminal_Suite', 'Terminal_Suite'),
'tpnm' : ('Terminal.Invisible_Suite', 'Invisible_Suite'),
}
from Terminal_Suite import *
from Invisible_Suite import *
def getbaseclasses(v):
if not getattr(v, '_propdict', None):
v._propdict = {}
v._elemdict = {}
for superclassname in getattr(v, '_superclassnames', []):
superclass = eval(superclassname)
getbaseclasses(superclass)
v._propdict.update(getattr(superclass, '_propdict', {}))
v._elemdict.update(getattr(superclass, '_elemdict', {}))
v._propdict.update(getattr(v, '_privpropdict', {}))
v._elemdict.update(getattr(v, '_privelemdict', {}))
import StdSuites
#
# Set property and element dictionaries now that all classes have been defined
#
getbaseclasses(window)
getbaseclasses(application)
getbaseclasses(application)
getbaseclasses(StdSuites.Type_Names_Suite.small_integer)
getbaseclasses(StdSuites.Type_Names_Suite.RGB16_color)
getbaseclasses(StdSuites.Type_Names_Suite.system_dictionary)
getbaseclasses(StdSuites.Type_Names_Suite.color_table)
getbaseclasses(StdSuites.Type_Names_Suite.fixed_point)
getbaseclasses(StdSuites.Type_Names_Suite.plain_text)
getbaseclasses(StdSuites.Type_Names_Suite.type_element_info)
getbaseclasses(StdSuites.Type_Names_Suite.location_reference)
getbaseclasses(StdSuites.Type_Names_Suite.version)
getbaseclasses(StdSuites.Type_Names_Suite.PostScript_picture)
getbaseclasses(StdSuites.Type_Names_Suite.machine_location)
getbaseclasses(StdSuites.Type_Names_Suite.menu_item)
getbaseclasses(StdSuites.Type_Names_Suite.pixel_map_record)
getbaseclasses(StdSuites.Type_Names_Suite.application_dictionary)
getbaseclasses(StdSuites.Type_Names_Suite.unsigned_integer)
getbaseclasses(StdSuites.Type_Names_Suite.menu)
getbaseclasses(StdSuites.Type_Names_Suite.fixed_rectangle)
getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_rectangle)
getbaseclasses(StdSuites.Type_Names_Suite.type_event_info)
getbaseclasses(StdSuites.Type_Names_Suite.small_real)
getbaseclasses(StdSuites.Type_Names_Suite.type_suite_info)
getbaseclasses(StdSuites.Type_Names_Suite.rotation)
getbaseclasses(StdSuites.Type_Names_Suite.fixed)
getbaseclasses(StdSuites.Type_Names_Suite.scrap_styles)
getbaseclasses(StdSuites.Type_Names_Suite.long_point)
getbaseclasses(StdSuites.Type_Names_Suite.type_class_info)
getbaseclasses(StdSuites.Type_Names_Suite.TIFF_picture)
getbaseclasses(StdSuites.Type_Names_Suite.RGB96_color)
getbaseclasses(StdSuites.Type_Names_Suite.dash_style)
getbaseclasses(StdSuites.Type_Names_Suite.type_property_info)
getbaseclasses(StdSuites.Type_Names_Suite.type_parameter_info)
getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_point)
getbaseclasses(StdSuites.Type_Names_Suite.long_rectangle)
getbaseclasses(StdSuites.Type_Names_Suite.extended_real)
getbaseclasses(StdSuites.Type_Names_Suite.double_integer)
getbaseclasses(StdSuites.Type_Names_Suite.long_fixed)
getbaseclasses(StdSuites.Type_Names_Suite.null)
getbaseclasses(StdSuites.Type_Names_Suite.target_id)
getbaseclasses(StdSuites.Type_Names_Suite.point)
getbaseclasses(StdSuites.Type_Names_Suite.bounding_rectangle)
#
# Indices of types declared in this module
#
_classdeclarations = {
'cwin' : window,
'capp' : application,
'capp' : application,
'shor' : StdSuites.Type_Names_Suite.small_integer,
'tr16' : StdSuites.Type_Names_Suite.RGB16_color,
'aeut' : StdSuites.Type_Names_Suite.system_dictionary,
'clrt' : StdSuites.Type_Names_Suite.color_table,
'fpnt' : StdSuites.Type_Names_Suite.fixed_point,
'TEXT' : StdSuites.Type_Names_Suite.plain_text,
'elin' : StdSuites.Type_Names_Suite.type_element_info,
'insl' : StdSuites.Type_Names_Suite.location_reference,
'vers' : StdSuites.Type_Names_Suite.version,
'EPS ' : StdSuites.Type_Names_Suite.PostScript_picture,
'mLoc' : StdSuites.Type_Names_Suite.machine_location,
'cmen' : StdSuites.Type_Names_Suite.menu_item,
'tpmm' : StdSuites.Type_Names_Suite.pixel_map_record,
'aete' : StdSuites.Type_Names_Suite.application_dictionary,
'magn' : StdSuites.Type_Names_Suite.unsigned_integer,
'cmnu' : StdSuites.Type_Names_Suite.menu,
'frct' : StdSuites.Type_Names_Suite.fixed_rectangle,
'lfrc' : StdSuites.Type_Names_Suite.long_fixed_rectangle,
'evin' : StdSuites.Type_Names_Suite.type_event_info,
'sing' : StdSuites.Type_Names_Suite.small_real,
'suin' : StdSuites.Type_Names_Suite.type_suite_info,
'trot' : StdSuites.Type_Names_Suite.rotation,
'fixd' : StdSuites.Type_Names_Suite.fixed,
'styl' : StdSuites.Type_Names_Suite.scrap_styles,
'lpnt' : StdSuites.Type_Names_Suite.long_point,
'gcli' : StdSuites.Type_Names_Suite.type_class_info,
'TIFF' : StdSuites.Type_Names_Suite.TIFF_picture,
'tr96' : StdSuites.Type_Names_Suite.RGB96_color,
'tdas' : StdSuites.Type_Names_Suite.dash_style,
'pinf' : StdSuites.Type_Names_Suite.type_property_info,
'pmin' : StdSuites.Type_Names_Suite.type_parameter_info,
'lfpt' : StdSuites.Type_Names_Suite.long_fixed_point,
'lrct' : StdSuites.Type_Names_Suite.long_rectangle,
'exte' : StdSuites.Type_Names_Suite.extended_real,
'comp' : StdSuites.Type_Names_Suite.double_integer,
'lfxd' : StdSuites.Type_Names_Suite.long_fixed,
'null' : StdSuites.Type_Names_Suite.null,
'targ' : StdSuites.Type_Names_Suite.target_id,
'QDpt' : StdSuites.Type_Names_Suite.point,
'qdrt' : StdSuites.Type_Names_Suite.bounding_rectangle,
}
class Terminal(Terminal_Suite_Events,
Invisible_Suite_Events,
aetools.TalkTo):
_signature = 'trmx'
_moduleName = 'Terminal'