Commit 16400f69 authored by Jack Jansen's avatar Jack Jansen

Re-gegernated with the new gensuitemodule.

parent 9f41cd4b
"""Suite CodeWarrior suite: Terms for scripting the CodeWarrior IDE
Level 0, version 0
Generated from /Volumes/Moes/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.6
Generated from /Volumes/Sap/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.5
AETE/AEUT resource version 1/0, language 0, script 0
"""
......
"""Suite Metrowerks Shell Suite: Events supported by the Metrowerks Project Shell
Level 1, version 1
Generated from /Volumes/Moes/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.6
Generated from /Volumes/Sap/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.5
AETE/AEUT resource version 1/0, language 0, script 0
"""
......
"""Suite Required: Terms that every application should support
Level 1, version 1
Generated from /Volumes/Moes/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.6
Generated from /Volumes/Sap/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.5
AETE/AEUT resource version 1/0, language 0, script 0
"""
......
"""Suite Standard Suite: Common terms for most applications
Level 1, version 1
Generated from /Volumes/Moes/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.6
Generated from /Volumes/Sap/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.5
AETE/AEUT resource version 1/0, language 0, script 0
"""
......@@ -179,6 +179,7 @@ class _Prop_user_interaction(aetools.NProperty):
"""user interaction - user interaction level """
which = 'inte'
want = 'Inte'
user_interaction = _Prop_user_interaction()
# element 'cwin' as ['indx', 'name', 'rang']
# element 'docu' as ['indx', 'name', 'rang']
......
"""
Package generated from /Volumes/Moes/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.6
Package generated from /Volumes/Sap/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.5
"""
import aetools
Error = aetools.Error
......@@ -48,14 +48,14 @@ import StdSuites
# Set property and element dictionaries now that all classes have been defined
#
getbaseclasses(character)
getbaseclasses(selection_2d_object)
getbaseclasses(application)
getbaseclasses(document)
getbaseclasses(text)
getbaseclasses(window)
getbaseclasses(file)
getbaseclasses(line)
getbaseclasses(selection_2d_object)
getbaseclasses(application)
getbaseclasses(insertion_point)
getbaseclasses(document)
getbaseclasses(single_class_browser)
getbaseclasses(project_document)
getbaseclasses(symbol_browser)
......@@ -77,52 +77,52 @@ getbaseclasses(File_Mapping)
getbaseclasses(browser_catalog)
getbaseclasses(Build_Settings)
getbaseclasses(ProjectFile)
getbaseclasses(Browser_Coloring)
getbaseclasses(Error_Information)
getbaseclasses(VCS_Setup)
getbaseclasses(Editor)
getbaseclasses(Shielded_Folders)
getbaseclasses(data_member)
getbaseclasses(Shielded_Folder)
getbaseclasses(Custom_Keywords)
getbaseclasses(Path_Information)
getbaseclasses(File_Mappings)
getbaseclasses(Segment)
getbaseclasses(Debugger_Target)
getbaseclasses(Function_Information)
getbaseclasses(Source_Tree)
getbaseclasses(Access_Paths)
getbaseclasses(Extras)
getbaseclasses(Debugger_Windowing)
getbaseclasses(Global_Source_Trees)
getbaseclasses(Syntax_Coloring)
getbaseclasses(base_class)
getbaseclasses(Relative_Path)
getbaseclasses(Target_Settings)
getbaseclasses(Environment_Variable)
getbaseclasses(Source_Tree)
getbaseclasses(base_class)
getbaseclasses(Debugger_Display)
getbaseclasses(Build_Extras)
getbaseclasses(Error_Information)
getbaseclasses(Editor)
getbaseclasses(Shielded_Folders)
getbaseclasses(Extras)
getbaseclasses(File_Mappings)
getbaseclasses(Function_Information)
getbaseclasses(Debugger_Target)
getbaseclasses(Syntax_Coloring)
getbaseclasses(class_)
getbaseclasses(Global_Source_Trees)
getbaseclasses(Target_Settings)
getbaseclasses(Debugger_Global)
getbaseclasses(member_function)
getbaseclasses(Runtime_Settings)
getbaseclasses(Plugin_Settings)
getbaseclasses(data_member)
getbaseclasses(Build_Extras)
getbaseclasses(Browser_Coloring)
getbaseclasses(Font)
getbaseclasses(Target_Source_Trees)
getbaseclasses(Debugger_Display)
getbaseclasses(class_)
#
# Indices of types declared in this module
#
_classdeclarations = {
'cha ' : character,
'csel' : selection_2d_object,
'capp' : application,
'docu' : document,
'ctxt' : text,
'cwin' : window,
'file' : file,
'clin' : line,
'csel' : selection_2d_object,
'capp' : application,
'cins' : insertion_point,
'docu' : document,
'1BRW' : single_class_browser,
'PRJD' : project_document,
'SYMB' : symbol_browser,
......@@ -144,38 +144,38 @@ _classdeclarations = {
'Cata' : browser_catalog,
'BSTG' : Build_Settings,
'SrcF' : ProjectFile,
'BRKW' : Browser_Coloring,
'ErrM' : Error_Information,
'VCSs' : VCS_Setup,
'EDTR' : Editor,
'SHFL' : Shielded_Folders,
'DtMb' : data_member,
'SFit' : Shielded_Folder,
'CUKW' : Custom_Keywords,
'PInf' : Path_Information,
'FLMP' : File_Mappings,
'Seg ' : Segment,
'DbTG' : Debugger_Target,
'FDef' : Function_Information,
'SrcT' : Source_Tree,
'PATH' : Access_Paths,
'GXTR' : Extras,
'DbWN' : Debugger_Windowing,
'GSTs' : Global_Source_Trees,
'SNTX' : Syntax_Coloring,
'BsCl' : base_class,
'RlPt' : Relative_Path,
'TARG' : Target_Settings,
'EnvV' : Environment_Variable,
'SrcT' : Source_Tree,
'BsCl' : base_class,
'DbDS' : Debugger_Display,
'LXTR' : Build_Extras,
'ErrM' : Error_Information,
'EDTR' : Editor,
'SHFL' : Shielded_Folders,
'GXTR' : Extras,
'FLMP' : File_Mappings,
'FDef' : Function_Information,
'DbTG' : Debugger_Target,
'SNTX' : Syntax_Coloring,
'Clas' : class_,
'GSTs' : Global_Source_Trees,
'TARG' : Target_Settings,
'DbGL' : Debugger_Global,
'MbFn' : member_function,
'RSTG' : Runtime_Settings,
'PSTG' : Plugin_Settings,
'DtMb' : data_member,
'LXTR' : Build_Extras,
'BRKW' : Browser_Coloring,
'mFNT' : Font,
'TSTs' : Target_Source_Trees,
'DbDS' : Debugger_Display,
'Clas' : class_,
}
......
......@@ -46,6 +46,7 @@ class _Prop_selected_text(aetools.NProperty):
"""selected text - the selected text """
which = 'stxt'
want = 'TEXT'
selected_text = _Prop_selected_text()
application._superclassnames = []
application._privpropdict = {
'selected_text' : _Prop_selected_text,
......
......@@ -76,3 +76,5 @@ class Explorer(Standard_Suite_Events,
_moduleName = 'Explorer'
_elemdict = application._elemdict
_propdict = application._propdict
......@@ -65,54 +65,67 @@ class _Prop_Finder_preferences(aetools.NProperty):
"""Finder preferences - (NOT AVAILABLE YET) Various preferences that apply to the Finder as a whole """
which = 'pfrp'
want = 'cprf'
Finder_preferences = _Prop_Finder_preferences()
class _Prop_clipboard(aetools.NProperty):
"""clipboard - (NOT AVAILABLE YET) the Finder\xd5s clipboard window """
which = 'pcli'
want = 'obj '
clipboard = _Prop_clipboard()
class _Prop_desktop(aetools.NProperty):
"""desktop - the desktop """
which = 'desk'
want = 'cdsk'
desktop = _Prop_desktop()
class _Prop_frontmost(aetools.NProperty):
"""frontmost - Is the Finder the frontmost process? """
which = 'pisf'
want = 'bool'
frontmost = _Prop_frontmost()
class _Prop_home(aetools.NProperty):
"""home - the home directory """
which = 'home'
want = 'cfol'
home = _Prop_home()
class _Prop_insertion_location(aetools.NProperty):
"""insertion location - the container in which a new folder would appear if \xd2New Folder\xd3 was selected """
which = 'pins'
want = 'obj '
insertion_location = _Prop_insertion_location()
class _Prop_name(aetools.NProperty):
"""name - the Finder\xd5s name """
which = 'pnam'
want = 'itxt'
name = _Prop_name()
class _Prop_product_version(aetools.NProperty):
"""product version - the version of the System software running on this computer """
which = 'ver2'
want = 'utxt'
product_version = _Prop_product_version()
class _Prop_selection(aetools.NProperty):
"""selection - the selection in the frontmost Finder window """
which = 'sele'
want = 'obj '
selection = _Prop_selection()
class _Prop_startup_disk(aetools.NProperty):
"""startup disk - the startup disk """
which = 'sdsk'
want = 'cdis'
startup_disk = _Prop_startup_disk()
class _Prop_trash(aetools.NProperty):
"""trash - the trash """
which = 'trsh'
want = 'ctrs'
trash = _Prop_trash()
class _Prop_version(aetools.NProperty):
"""version - the version of the Finder """
which = 'vers'
want = 'utxt'
version = _Prop_version()
class _Prop_visible(aetools.NProperty):
"""visible - Is the Finder\xd5s layer visible? """
which = 'pvis'
want = 'bool'
visible = _Prop_visible()
# element 'alia' as ['indx', 'name']
# element 'appf' as ['indx', 'name', 'ID ']
# element 'brow' as ['indx', 'ID ']
......
......@@ -77,6 +77,7 @@ class _Prop_desktop_picture(aetools.NProperty):
"""desktop picture - the desktop picture of the main monitor """
which = 'dpic'
want = 'file'
desktop_picture = _Prop_desktop_picture()
class application_process(aetools.ComponentItem):
"""application process - A process launched from an application file """
......
"""Suite Mozilla suite: Experimental Mozilla suite
Level 1, version 1
Generated from /Volumes/Moes/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2
Generated from /Volumes/Sap/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
"""
......
"""Suite PowerPlant:
Level 0, version 0
Generated from /Volumes/Moes/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2
Generated from /Volumes/Sap/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
"""
......
"""Suite Required suite:
Level 0, version 0
Generated from /Volumes/Moes/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2
Generated from /Volumes/Sap/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
"""
......
"""Suite Standard Suite: Common terms for most applications
Level 1, version 1
Generated from /Volumes/Moes/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2
Generated from /Volumes/Sap/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
"""
......@@ -108,10 +108,12 @@ class _Prop_alert_application(aetools.NProperty):
"""alert application - Most of the alerts will be sent to this application using yet unspecified AE interface. We need a few alert boxes: alert, confirm and notify. Any ideas on how to design this event? mailto:atotic@netscape.com. I\xd5d like to conform to the standard. """
which = 'ALAP'
want = 'type'
alert_application = _Prop_alert_application()
class _Prop_kiosk_mode(aetools.NProperty):
"""kiosk mode - Kiosk mode leaves very few menus enabled """
which = 'KOSK'
want = 'long'
kiosk_mode = _Prop_kiosk_mode()
# element 'cwin' as ['indx', 'name', 'ID ']
class window(aetools.ComponentItem):
......
......@@ -3,7 +3,7 @@
Level 1, version 1
Generated from /Volumes/Moes/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2
Generated from /Volumes/Sap/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
"""
......
"""Suite Text:
Level 0, version 0
Generated from /Volumes/Moes/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2
Generated from /Volumes/Sap/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
"""
......
"""Suite WorldWideWeb suite, as defined in Spyglass spec.:
Level 1, version 1
Generated from /Volumes/Moes/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2
Generated from /Volumes/Sap/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
"""
......
"""
Package generated from /Volumes/Moes/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2
Package generated from /Volumes/Sap/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2
"""
import aetools
Error = aetools.Error
......@@ -59,33 +59,33 @@ import StdSuites
#
# Set property and element dictionaries now that all classes have been defined
#
getbaseclasses(window)
getbaseclasses(application)
getbaseclasses(StdSuites.Text_Suite.text_flow)
getbaseclasses(text)
getbaseclasses(styleset)
getbaseclasses(StdSuites.Text_Suite.character)
getbaseclasses(StdSuites.Text_Suite.text_style_info)
getbaseclasses(StdSuites.Text_Suite.line)
getbaseclasses(StdSuites.Text_Suite.text_flow)
getbaseclasses(StdSuites.Text_Suite.word)
getbaseclasses(StdSuites.Text_Suite.paragraph)
getbaseclasses(StdSuites.Text_Suite.text_style_info)
getbaseclasses(StdSuites.Text_Suite.line)
getbaseclasses(StdSuites.Text_Suite.text)
getbaseclasses(text)
getbaseclasses(styleset)
getbaseclasses(window)
getbaseclasses(application)
#
# Indices of types declared in this module
#
_classdeclarations = {
'cwin' : window,
'capp' : application,
'cflo' : StdSuites.Text_Suite.text_flow,
'ctxt' : text,
'stys' : styleset,
'cha ' : StdSuites.Text_Suite.character,
'tsty' : StdSuites.Text_Suite.text_style_info,
'clin' : StdSuites.Text_Suite.line,
'cflo' : StdSuites.Text_Suite.text_flow,
'cwor' : StdSuites.Text_Suite.word,
'cpar' : StdSuites.Text_Suite.paragraph,
'tsty' : StdSuites.Text_Suite.text_style_info,
'clin' : StdSuites.Text_Suite.line,
'ctxt' : StdSuites.Text_Suite.text,
'ctxt' : text,
'stys' : styleset,
'cwin' : window,
'capp' : application,
}
......@@ -101,3 +101,5 @@ class Netscape(Standard_Suite_Events,
_moduleName = 'Netscape'
_elemdict = application._elemdict
_propdict = application._propdict
"""Suite AppleScript Suite: Standard terms for AppleScript
Level 1, version 1
Generated from /Volumes/Moes/Systeemmap/Extensies/AppleScript
Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
AETE/AEUT resource version 1/0, language 0, script 0
"""
......@@ -762,11 +762,15 @@ class strings(aetools.ComponentItem):
string = strings
class aliases(aetools.ComponentItem):
"""aliases - """
class alias(aetools.ComponentItem):
"""alias - a file on a disk or server. The file must exist when you check the syntax of your script. """
want = 'alis'
class _Prop_POSIX_path(aetools.NProperty):
"""POSIX path - the POSIX path of the file """
which = 'psxp'
want = 'TEXT'
alias = aliases
aliases = alias
class April(aetools.ComponentItem):
"""April - the month of April """
......@@ -795,54 +799,67 @@ class _Prop_AppleScript(aetools.NProperty):
"""AppleScript - the top-level script object """
which = 'ascr'
want = 'scpt'
AppleScript = _Prop_AppleScript()
class _Prop_days(aetools.NProperty):
"""days - the number of seconds in a day """
which = 'days'
want = 'long'
days = _Prop_days()
class _Prop_hours(aetools.NProperty):
"""hours - the number of seconds in an hour """
which = 'hour'
want = 'long'
hours = _Prop_hours()
class _Prop_minutes(aetools.NProperty):
"""minutes - the number of seconds in a minute """
which = 'min '
want = 'long'
minutes = _Prop_minutes()
class _Prop_pi(aetools.NProperty):
"""pi - the constant pi """
which = 'pi '
want = 'doub'
pi = _Prop_pi()
class _Prop_print_depth(aetools.NProperty):
"""print depth - the maximum depth to print """
which = 'prdp'
want = 'long'
print_depth = _Prop_print_depth()
class _Prop_print_length(aetools.NProperty):
"""print length - the maximum length to print """
which = 'prln'
want = 'long'
print_length = _Prop_print_length()
class _Prop_result(aetools.NProperty):
"""result - the last result of evaluation """
which = 'rslt'
want = '****'
result = _Prop_result()
class _Prop_return_(aetools.NProperty):
"""return - a return character """
which = 'ret '
want = 'cha '
return_ = _Prop_return_()
class _Prop_space(aetools.NProperty):
"""space - a space character """
which = 'spac'
want = 'cha '
space = _Prop_space()
class _Prop_tab(aetools.NProperty):
"""tab - a tab character """
which = 'tab '
want = 'cha '
tab = _Prop_tab()
class _Prop_text_item_delimiters(aetools.NProperty):
"""text item delimiters - the text item delimiters of a string """
which = 'txdl'
want = 'list'
text_item_delimiters = _Prop_text_item_delimiters()
class _Prop_weeks(aetools.NProperty):
"""weeks - the number of seconds in a week """
which = 'week'
want = 'long'
weeks = _Prop_weeks()
applications = application
......@@ -980,11 +997,11 @@ class Friday(aetools.ComponentItem):
"""Friday - Friday """
want = 'fri '
class file_specifications(aetools.ComponentItem):
"""file specifications - """
class file_specification(aetools.ComponentItem):
"""file specification - a file specification as used by the operating system """
want = 'fss '
file_specification = file_specifications
file_specifications = file_specification
class gallons(aetools.ComponentItem):
"""gallons - a volume measurement in Imperial gallons """
......@@ -1416,10 +1433,11 @@ strings._privpropdict = {
}
strings._privelemdict = {
}
aliases._superclassnames = []
aliases._privpropdict = {
alias._superclassnames = []
alias._privpropdict = {
'POSIX_path' : _Prop_POSIX_path,
}
aliases._privelemdict = {
alias._privelemdict = {
}
April._superclassnames = []
April._privpropdict = {
......@@ -1582,10 +1600,11 @@ Friday._privpropdict = {
}
Friday._privelemdict = {
}
file_specifications._superclassnames = []
file_specifications._privpropdict = {
file_specification._superclassnames = []
file_specification._privpropdict = {
'POSIX_path' : _Prop_POSIX_path,
}
file_specifications._privelemdict = {
file_specification._privelemdict = {
}
gallons._superclassnames = []
gallons._privpropdict = {
......@@ -2045,7 +2064,7 @@ _classdeclarations = {
'PICT' : pictures,
'STXT' : styled_text,
'TEXT' : strings,
'alis' : aliases,
'alis' : alias,
'apr ' : April,
'aug ' : August,
'bool' : booleans,
......@@ -2075,7 +2094,7 @@ _classdeclarations = {
'feb ' : February,
'feet' : feet,
'fri ' : Friday,
'fss ' : file_specifications,
'fss ' : file_specification,
'galn' : gallons,
'gram' : grams,
'hand' : handlers,
......@@ -2169,6 +2188,7 @@ _propdeclarations = {
'prdp' : _Prop_print_depth,
'prln' : _Prop_print_length,
'pscd' : _Prop_script_code,
'psxp' : _Prop_POSIX_path,
'rest' : _Prop_rest,
'ret ' : _Prop_return_,
'rslt' : _Prop_result,
......
"""Suite Macintosh Connectivity Classes: Classes relating to Apple Macintosh personal computer connectivity
Level 1, version 1
Generated from /Volumes/Moes/Systeemmap/Extensies/AppleScript
Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
AETE/AEUT resource version 1/0, language 0, script 0
"""
......
"""Suite QuickDraw Graphics Suite: A set of basic classes for graphics
Level 1, version 1
Generated from /Volumes/Moes/Systeemmap/Extensies/AppleScript
Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
AETE/AEUT resource version 1/0, language 0, script 0
"""
......
"""Suite QuickDraw Graphics Supplemental Suite: Defines transformations of graphic objects
Level 1, version 1
Generated from /Volumes/Moes/Systeemmap/Extensies/AppleScript
Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
AETE/AEUT resource version 1/0, language 0, script 0
"""
......
"""Suite Required Suite: Every application supports open, print, run, and quit
Level 1, version 1
Generated from /Volumes/Moes/Systeemmap/Extensies/AppleScript
Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
AETE/AEUT resource version 1/0, language 0, script 0
"""
......
"""Suite Standard Suite: Common terms for most applications
Level 1, version 1
Generated from /Volumes/Moes/Systeemmap/Extensies/AppleScript
Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
AETE/AEUT resource version 1/0, language 0, script 0
"""
......@@ -206,6 +206,27 @@ class Standard_Suite_Events(builtin_Suite_Events):
_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['----']
def handleBreakpoint(self, _object, _attributes={}, **_arguments):
"""handleBreakpoint: return true to stop at a breakpoint
Required argument: the call frame of the breakpoint
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: true to stop, false if not
"""
_code = 'core'
_subcode = 'brak'
if _arguments: raise TypeError, 'No optional args expected'
_arguments['----'] = _object
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
if _arguments.get('errn', 0):
......@@ -448,11 +469,15 @@ class Standard_Suite_Events(builtin_Suite_Events):
return _arguments['----']
class aliases(aetools.ComponentItem):
"""aliases - """
class alias(aetools.ComponentItem):
"""alias - a file on a disk or server. The file must exist when you check the syntax of your script. """
want = 'alis'
class _Prop_POSIX_path(aetools.NProperty):
"""POSIX path - the POSIX path of the file """
which = 'psxp'
want = 'TEXT'
alias = aliases
aliases = alias
class application(aetools.ComponentItem):
"""application - An application program """
......@@ -461,22 +486,27 @@ class _Prop_clipboard(aetools.NProperty):
"""clipboard - the contents of the clipboard for this application """
which = 'pcli'
want = '****'
clipboard = _Prop_clipboard()
class _Prop_frontmost(aetools.NProperty):
"""frontmost - Is this the frontmost application? """
which = 'pisf'
want = 'bool'
frontmost = _Prop_frontmost()
class _Prop_name(aetools.NProperty):
"""name - the name of the application """
which = 'pnam'
want = 'itxt'
name = _Prop_name()
class _Prop_selection(aetools.NProperty):
"""selection - the selection visible to the user. Use the \xd4select\xd5 command to set a new selection; use \xd4contents of selection\xd5 to get or change information in the document. """
which = 'sele'
want = 'csel'
selection = _Prop_selection()
class _Prop_version(aetools.NProperty):
"""version - the version of the application """
which = 'vers'
want = 'vers'
version = _Prop_version()
applications = application
......@@ -553,16 +583,13 @@ documents = document
class file(aetools.ComponentItem):
"""file - a file on a disk or server """
want = 'file'
class _Prop_stationery(aetools.NProperty):
"""stationery - Is the file a stationery file? """
which = 'pspd'
want = 'bool'
files = file
aliases._superclassnames = []
aliases._privpropdict = {
alias._superclassnames = []
alias._privpropdict = {
'POSIX_path' : _Prop_POSIX_path,
}
aliases._privelemdict = {
alias._privelemdict = {
}
application._superclassnames = []
application._privpropdict = {
......@@ -608,7 +635,7 @@ document._privelemdict = {
}
file._superclassnames = []
file._privpropdict = {
'stationery' : _Prop_stationery,
'POSIX_path' : _Prop_POSIX_path,
}
file._privelemdict = {
}
......@@ -663,7 +690,7 @@ _Enum_styl = {
# Indices of types declared in this module
#
_classdeclarations = {
'alis' : aliases,
'alis' : alias,
'capp' : application,
'cins' : insertion_points,
'csel' : selection_2d_object,
......@@ -685,7 +712,7 @@ _propdeclarations = {
'pmod' : _Prop_modal,
'pnam' : _Prop_name,
'prsz' : _Prop_resizable,
'pspd' : _Prop_stationery,
'psxp' : _Prop_POSIX_path,
'ptit' : _Prop_titled,
'pvis' : _Prop_visible,
'pzum' : _Prop_zoomed,
......
"""Suite Table Suite: Classes for manipulating tables
Level 1, version 1
Generated from /Volumes/Moes/Systeemmap/Extensies/AppleScript
Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
AETE/AEUT resource version 1/0, language 0, script 0
"""
......
"""Suite Text Suite: A set of basic classes for text processing
Level 1, version 1
Generated from /Volumes/Moes/Systeemmap/Extensies/AppleScript
Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
AETE/AEUT resource version 1/0, language 0, script 0
"""
......@@ -60,6 +60,10 @@ class _Prop_font(aetools.NProperty):
"""font - the name of the font of the first character """
which = 'font'
want = 'ctxt'
class _Prop_quoted_form(aetools.NProperty):
"""quoted form - the text in quoted form """
which = 'strq'
want = 'ctxt'
class _Prop_size(aetools.NProperty):
"""size - the size in points of the first character """
which = 'ptsz'
......@@ -131,6 +135,7 @@ text._superclassnames = []
text._privpropdict = {
'color' : _Prop_color,
'font' : _Prop_font,
'quoted_form' : _Prop_quoted_form,
'size' : _Prop_size,
'style' : _Prop_style,
'uniform_styles' : _Prop_uniform_styles,
......@@ -205,6 +210,7 @@ _propdeclarations = {
'pnam' : _Prop_name,
'psct' : _Prop_writing_code,
'ptsz' : _Prop_size,
'strq' : _Prop_quoted_form,
'txst' : _Prop_style,
'ustl' : _Prop_uniform_styles,
}
......
"""Suite Type Names Suite: Terminology for Registry data types
Level 1, version 1
Generated from /Volumes/Moes/Systeemmap/Extensies/AppleScript
Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
AETE/AEUT resource version 1/0, language 0, script 0
"""
......
......@@ -147,17 +147,41 @@ class Folder_Actions_Suite_Events:
return _arguments['----']
class folder_action(aetools.ComponentItem):
"""folder action - An action attached to a folder in the file system """
want = 'foac'
class application(aetools.ComponentItem):
"""application - The Folder Actions Suite host program """
want = 'capp'
class _Prop__3c_Inheritance_3e_(aetools.NProperty):
"""<Inheritance> - All of the properties of the superclass. """
which = 'c@#^'
want = 'cobj'
class _Prop_enabled(aetools.NProperty):
"""enabled - Is the folder action enabled? """
which = 'enaB'
want = 'capp'
_3c_Inheritance_3e_ = _Prop__3c_Inheritance_3e_()
class _Prop_folder_actions_enabled(aetools.NProperty):
"""folder actions enabled - Are Folder Actions currently being processed? """
which = 'faen'
want = 'bool'
folder_actions_enabled = _Prop_folder_actions_enabled()
class _Prop_properties(aetools.NProperty):
"""properties - every property of the Folder Actions Suite host program """
which = 'pALL'
want = '****'
properties = _Prop_properties()
# element 'cdis' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cwin' as ['name', 'indx', 'rele', 'rang', 'test', 'ID ']
# element 'docu' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'file' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'foac' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'logi' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'pcap' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'pcda' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'prcs' as ['name', 'indx', 'rele', 'rang', 'test']
applications = application
class folder_action(aetools.ComponentItem):
"""folder action - An action attached to a folder in the file system """
want = 'foac'
class _Prop_name(aetools.NProperty):
"""name - the name of the folder action, which is also the name of the folder """
which = 'pnam'
......@@ -166,10 +190,6 @@ class _Prop_path(aetools.NProperty):
"""path - the path to the folder to which the folder action applies """
which = 'ppth'
want = '****'
class _Prop_properties(aetools.NProperty):
"""properties - every property of the folder action """
which = 'pALL'
want = '****'
class _Prop_volume(aetools.NProperty):
"""volume - the volume on which the folder action resides """
which = 'volu'
......@@ -187,11 +207,32 @@ class _Prop_POSIX_path(aetools.NProperty):
want = 'utxt'
scripts = script
application._superclassnames = []
import Disk_Folder_File_Suite
import Standard_Suite
import Login_Items_Suite
import Processes_Suite
application._privpropdict = {
'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
'folder_actions_enabled' : _Prop_folder_actions_enabled,
'properties' : _Prop_properties,
}
application._privelemdict = {
'application_process' : Processes_Suite.application_process,
'desk_accessory_process' : Processes_Suite.desk_accessory_process,
'disk' : Disk_Folder_File_Suite.disk,
'document' : Standard_Suite.document,
'file' : Disk_Folder_File_Suite.file,
'folder' : Disk_Folder_File_Suite.folder,
'folder_action' : folder_action,
'item' : Disk_Folder_File_Suite.item,
'login_item' : Login_Items_Suite.login_item,
'process' : Processes_Suite.process,
'window' : Standard_Suite.window,
}
folder_action._superclassnames = ['item']
folder_action._privpropdict = {
'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
'enabled' : _Prop_enabled,
'name' : _Prop_name,
'path' : _Prop_path,
'properties' : _Prop_properties,
......@@ -223,13 +264,14 @@ _Enum_actn = {
# Indices of types declared in this module
#
_classdeclarations = {
'capp' : application,
'foac' : folder_action,
'scpt' : script,
}
_propdeclarations = {
'c@#^' : _Prop__3c_Inheritance_3e_,
'enaB' : _Prop_enabled,
'faen' : _Prop_folder_actions_enabled,
'pALL' : _Prop_properties,
'pnam' : _Prop_name,
'posx' : _Prop_POSIX_path,
......
......@@ -73,13 +73,73 @@ class Power_Suite_Events:
return _arguments['----']
class application(aetools.ComponentItem):
"""application - The System Events application """
want = 'capp'
class _Prop__3c_Inheritance_3e_(aetools.NProperty):
"""<Inheritance> - All of the properties of the superclass. """
which = 'c@#^'
want = 'capp'
_3c_Inheritance_3e_ = _Prop__3c_Inheritance_3e_()
class _Prop_folder_actions_enabled(aetools.NProperty):
"""folder actions enabled - Are Folder Actions currently being processed? """
which = 'faen'
want = 'bool'
folder_actions_enabled = _Prop_folder_actions_enabled()
class _Prop_properties(aetools.NProperty):
"""properties - every property of the System Events application """
which = 'pALL'
want = '****'
properties = _Prop_properties()
# element 'cdis' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cwin' as ['name', 'indx', 'rele', 'rang', 'test', 'ID ']
# element 'docu' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'file' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'foac' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'logi' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'pcap' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'pcda' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'prcs' as ['name', 'indx', 'rele', 'rang', 'test']
applications = application
application._superclassnames = []
import Disk_Folder_File_Suite
import Standard_Suite
import Folder_Actions_Suite
import Login_Items_Suite
import Processes_Suite
application._privpropdict = {
'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
'folder_actions_enabled' : _Prop_folder_actions_enabled,
'properties' : _Prop_properties,
}
application._privelemdict = {
'application_process' : Processes_Suite.application_process,
'desk_accessory_process' : Processes_Suite.desk_accessory_process,
'disk' : Disk_Folder_File_Suite.disk,
'document' : Standard_Suite.document,
'file' : Disk_Folder_File_Suite.file,
'folder' : Disk_Folder_File_Suite.folder,
'folder_action' : Folder_Actions_Suite.folder_action,
'item' : Disk_Folder_File_Suite.item,
'login_item' : Login_Items_Suite.login_item,
'process' : Processes_Suite.process,
'window' : Standard_Suite.window,
}
#
# Indices of types declared in this module
#
_classdeclarations = {
'capp' : application,
}
_propdeclarations = {
'c@#^' : _Prop__3c_Inheritance_3e_,
'faen' : _Prop_folder_actions_enabled,
'pALL' : _Prop_properties,
}
_compdeclarations = {
......
......@@ -337,19 +337,23 @@ class _Prop__3c_Inheritance_3e_(aetools.NProperty):
"""<Inheritance> - All of the properties of the superclass. """
which = 'c@#^'
want = 'cobj'
_3c_Inheritance_3e_ = _Prop__3c_Inheritance_3e_()
class _Prop_frontmost(aetools.NProperty):
"""frontmost - Is this the frontmost (active) application? """
which = 'pisf'
want = 'bool'
frontmost = _Prop_frontmost()
class _Prop_name(aetools.NProperty):
"""name - The name of the application. """
which = 'pnam'
want = 'utxt'
name = _Prop_name()
class _Prop_version(aetools.NProperty):
"""version - The version of the application. """
which = 'vers'
want = 'utxt'
# element 'cwin' as ['name', 'indx', 'rele', 'rang', 'test']
version = _Prop_version()
# element 'cwin' as ['name', 'indx', 'rele', 'rang', 'test', 'ID ']
# element 'docu' as ['name', 'indx', 'rele', 'rang', 'test']
applications = application
......
......@@ -12,7 +12,25 @@ _code = 'sevs'
class System_Events_Suite_Events:
pass
def do_script(self, _object, _attributes={}, **_arguments):
"""do script: Execute an OSA script.
Required argument: the object for the command
Keyword argument _attributes: AppleEvent attribute dictionary
"""
_code = 'misc'
_subcode = 'dosc'
if _arguments: raise TypeError, 'No optional args expected'
_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):
......@@ -22,23 +40,21 @@ class _Prop__3c_Inheritance_3e_(aetools.NProperty):
"""<Inheritance> - All of the properties of the superclass. """
which = 'c@#^'
want = 'capp'
_3c_Inheritance_3e_ = _Prop__3c_Inheritance_3e_()
class _Prop_folder_actions_enabled(aetools.NProperty):
"""folder actions enabled - Are Folder Actions currently being processed? """
which = 'faen'
want = 'bool'
folder_actions_enabled = _Prop_folder_actions_enabled()
class _Prop_properties(aetools.NProperty):
"""properties - every property of the System Events application """
which = 'pALL'
want = '****'
class _Prop_system_wide_UI_element(aetools.NProperty):
"""system wide UI element - the UI element for the entire system """
which = 'swui'
want = 'uiel'
# element 'alis' as ['name', 'indx', 'rele', 'rang', 'test']
properties = _Prop_properties()
# element 'cdis' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cwin' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cwin' as ['name', 'indx', 'rele', 'rang', 'test', 'ID ']
# element 'docu' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'file' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'foac' as ['name', 'indx', 'rele', 'rang', 'test']
......@@ -46,7 +62,6 @@ class _Prop_system_wide_UI_element(aetools.NProperty):
# element 'pcap' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'pcda' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'prcs' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'uiel' as ['name', 'indx', 'rele', 'rang', 'test']
applications = application
application._superclassnames = []
......@@ -59,11 +74,8 @@ application._privpropdict = {
'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
'folder_actions_enabled' : _Prop_folder_actions_enabled,
'properties' : _Prop_properties,
'system_wide_UI_element' : _Prop_system_wide_UI_element,
}
application._privelemdict = {
'UI_element' : Processes_Suite.UI_element,
'alias' : Disk_Folder_File_Suite.alias,
'application_process' : Processes_Suite.application_process,
'desk_accessory_process' : Processes_Suite.desk_accessory_process,
'disk' : Disk_Folder_File_Suite.disk,
......@@ -88,7 +100,6 @@ _propdeclarations = {
'c@#^' : _Prop__3c_Inheritance_3e_,
'faen' : _Prop_folder_actions_enabled,
'pALL' : _Prop_properties,
'swui' : _Prop_system_wide_UI_element,
}
_compdeclarations = {
......
......@@ -11,7 +11,6 @@ import Login_Items_Suite
import Power_Suite
import Processes_Suite
import System_Events_Suite
import Hidden_Suite
_code_to_module = {
......@@ -23,7 +22,6 @@ _code_to_module = {
'powr' : Power_Suite,
'prcs' : Processes_Suite,
'sevs' : System_Events_Suite,
'tpnm' : Hidden_Suite,
}
......@@ -37,7 +35,6 @@ _code_to_fullname = {
'powr' : ('SystemEvents.Power_Suite', 'Power_Suite'),
'prcs' : ('SystemEvents.Processes_Suite', 'Processes_Suite'),
'sevs' : ('SystemEvents.System_Events_Suite', 'System_Events_Suite'),
'tpnm' : ('SystemEvents.Hidden_Suite', 'Hidden_Suite'),
}
from Standard_Suite import *
......@@ -48,7 +45,6 @@ from Login_Items_Suite import *
from Power_Suite import *
from Processes_Suite import *
from System_Events_Suite import *
from Hidden_Suite import *
def getbaseclasses(v):
if not getattr(v, '_propdict', None):
......@@ -67,219 +63,63 @@ import StdSuites
#
# Set property and element dictionaries now that all classes have been defined
#
getbaseclasses(login_item)
getbaseclasses(color)
getbaseclasses(window)
getbaseclasses(application)
getbaseclasses(item)
getbaseclasses(document)
getbaseclasses(character)
getbaseclasses(attachment)
getbaseclasses(paragraph)
getbaseclasses(word)
getbaseclasses(attribute_run)
getbaseclasses(text)
getbaseclasses(color)
getbaseclasses(window)
getbaseclasses(application)
getbaseclasses(item)
getbaseclasses(document)
getbaseclasses(application)
getbaseclasses(login_item)
getbaseclasses(file)
getbaseclasses(alias)
getbaseclasses(application)
getbaseclasses(item)
getbaseclasses(folder)
getbaseclasses(disk)
getbaseclasses(script)
getbaseclasses(application)
getbaseclasses(folder_action)
getbaseclasses(StdSuites.Type_Names_Suite.double_integer)
getbaseclasses(StdSuites.Type_Names_Suite.version)
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.TIFF_picture)
getbaseclasses(StdSuites.Type_Names_Suite.type_element_info)
getbaseclasses(StdSuites.Type_Names_Suite.type_event_info)
getbaseclasses(StdSuites.Type_Names_Suite.machine_location)
getbaseclasses(StdSuites.Type_Names_Suite.PostScript_picture)
getbaseclasses(StdSuites.Type_Names_Suite.point)
getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_point)
getbaseclasses(StdSuites.Type_Names_Suite.menu_item)
getbaseclasses(StdSuites.Type_Names_Suite.scrap_styles)
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.type_property_info)
getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_rectangle)
getbaseclasses(StdSuites.Type_Names_Suite.long_fixed)
getbaseclasses(StdSuites.Type_Names_Suite.type_suite_info)
getbaseclasses(StdSuites.Type_Names_Suite.rotation)
getbaseclasses(StdSuites.Type_Names_Suite.small_integer)
getbaseclasses(StdSuites.Type_Names_Suite.fixed)
getbaseclasses(StdSuites.Type_Names_Suite.long_point)
getbaseclasses(StdSuites.Type_Names_Suite.type_class_info)
getbaseclasses(StdSuites.Type_Names_Suite.RGB96_color)
getbaseclasses(StdSuites.Type_Names_Suite.target_id)
getbaseclasses(StdSuites.Type_Names_Suite.pixel_map_record)
getbaseclasses(StdSuites.Type_Names_Suite.type_parameter_info)
getbaseclasses(StdSuites.Type_Names_Suite.extended_real)
getbaseclasses(StdSuites.Type_Names_Suite.long_rectangle)
getbaseclasses(StdSuites.Type_Names_Suite.dash_style)
getbaseclasses(StdSuites.Type_Names_Suite.string)
getbaseclasses(StdSuites.Type_Names_Suite.small_real)
getbaseclasses(StdSuites.Type_Names_Suite.null)
getbaseclasses(StdSuites.Type_Names_Suite.location_reference)
getbaseclasses(StdSuites.Type_Names_Suite.bounding_rectangle)
getbaseclasses(window)
getbaseclasses(radio_button)
getbaseclasses(list)
getbaseclasses(desk_accessory_process)
getbaseclasses(menu_item)
getbaseclasses(progress_indicator)
getbaseclasses(menu)
getbaseclasses(menu_button)
getbaseclasses(pop_up_button)
getbaseclasses(incrementor)
getbaseclasses(sheet)
getbaseclasses(tool_bar)
getbaseclasses(application_process)
getbaseclasses(text_field)
getbaseclasses(text_area)
getbaseclasses(slider)
getbaseclasses(scroll_area)
getbaseclasses(relevance_indicator)
getbaseclasses(busy_indicator)
getbaseclasses(row)
getbaseclasses(application)
getbaseclasses(application)
getbaseclasses(process)
getbaseclasses(table)
getbaseclasses(outline)
getbaseclasses(UI_element)
getbaseclasses(value_indicator)
getbaseclasses(system_wide_UI_element)
getbaseclasses(button)
getbaseclasses(application_process)
getbaseclasses(desk_accessory_process)
getbaseclasses(application)
getbaseclasses(radio_group)
getbaseclasses(image)
getbaseclasses(tab_group)
getbaseclasses(menu_bar)
getbaseclasses(grow_area)
getbaseclasses(check_box)
getbaseclasses(column)
getbaseclasses(static_text)
getbaseclasses(splitter_group)
getbaseclasses(group)
getbaseclasses(splitter)
getbaseclasses(drawer)
getbaseclasses(color_well)
getbaseclasses(scroll_bar)
getbaseclasses(combo_box)
getbaseclasses(browser)
#
# Indices of types declared in this module
#
_classdeclarations = {
'logi' : login_item,
'colr' : color,
'cwin' : window,
'capp' : application,
'cobj' : item,
'docu' : document,
'cha ' : character,
'atts' : attachment,
'cpar' : paragraph,
'cwor' : word,
'catr' : attribute_run,
'ctxt' : text,
'colr' : color,
'cwin' : window,
'capp' : application,
'cobj' : item,
'docu' : document,
'capp' : application,
'logi' : login_item,
'file' : file,
'alis' : alias,
'capp' : application,
'cobj' : item,
'cfol' : folder,
'cdis' : disk,
'scpt' : script,
'capp' : application,
'foac' : folder_action,
'comp' : StdSuites.Type_Names_Suite.double_integer,
'vers' : StdSuites.Type_Names_Suite.version,
'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,
'TIFF' : StdSuites.Type_Names_Suite.TIFF_picture,
'elin' : StdSuites.Type_Names_Suite.type_element_info,
'evin' : StdSuites.Type_Names_Suite.type_event_info,
'mLoc' : StdSuites.Type_Names_Suite.machine_location,
'EPS ' : StdSuites.Type_Names_Suite.PostScript_picture,
'QDpt' : StdSuites.Type_Names_Suite.point,
'lfpt' : StdSuites.Type_Names_Suite.long_fixed_point,
'cmen' : StdSuites.Type_Names_Suite.menu_item,
'styl' : StdSuites.Type_Names_Suite.scrap_styles,
'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,
'pinf' : StdSuites.Type_Names_Suite.type_property_info,
'lfrc' : StdSuites.Type_Names_Suite.long_fixed_rectangle,
'lfxd' : StdSuites.Type_Names_Suite.long_fixed,
'suin' : StdSuites.Type_Names_Suite.type_suite_info,
'trot' : StdSuites.Type_Names_Suite.rotation,
'shor' : StdSuites.Type_Names_Suite.small_integer,
'fixd' : StdSuites.Type_Names_Suite.fixed,
'lpnt' : StdSuites.Type_Names_Suite.long_point,
'gcli' : StdSuites.Type_Names_Suite.type_class_info,
'tr96' : StdSuites.Type_Names_Suite.RGB96_color,
'targ' : StdSuites.Type_Names_Suite.target_id,
'tpmm' : StdSuites.Type_Names_Suite.pixel_map_record,
'pmin' : StdSuites.Type_Names_Suite.type_parameter_info,
'exte' : StdSuites.Type_Names_Suite.extended_real,
'lrct' : StdSuites.Type_Names_Suite.long_rectangle,
'tdas' : StdSuites.Type_Names_Suite.dash_style,
'TEXT' : StdSuites.Type_Names_Suite.string,
'sing' : StdSuites.Type_Names_Suite.small_real,
'null' : StdSuites.Type_Names_Suite.null,
'insl' : StdSuites.Type_Names_Suite.location_reference,
'qdrt' : StdSuites.Type_Names_Suite.bounding_rectangle,
'cwin' : window,
'radB' : radio_button,
'list' : list,
'pcda' : desk_accessory_process,
'menI' : menu_item,
'proI' : progress_indicator,
'menE' : menu,
'menB' : menu_button,
'popB' : pop_up_button,
'incr' : incrementor,
'sheE' : sheet,
'tbar' : tool_bar,
'pcap' : application_process,
'txtf' : text_field,
'txta' : text_area,
'sliI' : slider,
'scra' : scroll_area,
'reli' : relevance_indicator,
'busi' : busy_indicator,
'crow' : row,
'capp' : application,
'capp' : application,
'prcs' : process,
'tabB' : table,
'outl' : outline,
'uiel' : UI_element,
'vali' : value_indicator,
'sysw' : system_wide_UI_element,
'butT' : button,
'pcap' : application_process,
'pcda' : desk_accessory_process,
'capp' : application,
'rgrp' : radio_group,
'imaA' : image,
'tab ' : tab_group,
'mbar' : menu_bar,
'grow' : grow_area,
'chbx' : check_box,
'ccol' : column,
'sttx' : static_text,
'splg' : splitter_group,
'sgrp' : group,
'splr' : splitter,
'draA' : drawer,
'colW' : color_well,
'scrb' : scroll_bar,
'comB' : combo_box,
'broW' : browser,
}
......@@ -291,9 +131,10 @@ class SystemEvents(Standard_Suite_Events,
Power_Suite_Events,
Processes_Suite_Events,
System_Events_Suite_Events,
Hidden_Suite_Events,
aetools.TalkTo):
_signature = 'sevs'
_moduleName = 'SystemEvents'
_elemdict = application._elemdict
_propdict = application._propdict
......@@ -337,18 +337,22 @@ class _Prop__3c_Inheritance_3e_(aetools.NProperty):
"""<Inheritance> - All of the properties of the superclass. """
which = 'c@#^'
want = 'cobj'
_3c_Inheritance_3e_ = _Prop__3c_Inheritance_3e_()
class _Prop_frontmost(aetools.NProperty):
"""frontmost - Is this the frontmost (active) application? """
which = 'pisf'
want = 'bool'
frontmost = _Prop_frontmost()
class _Prop_name(aetools.NProperty):
"""name - The name of the application. """
which = 'pnam'
want = 'utxt'
name = _Prop_name()
class _Prop_version(aetools.NProperty):
"""version - The version of the application. """
which = 'vers'
want = 'utxt'
version = _Prop_version()
# element 'cwin' as ['name', 'indx', 'rele', 'rang', 'test', 'ID ']
# element 'docu' as ['name', 'indx', 'rele', 'rang', 'test']
......
......@@ -68,10 +68,12 @@ class _Prop__3c_Inheritance_3e_(aetools.NProperty):
"""<Inheritance> - All of the properties of the superclass. """
which = 'c@#^'
want = 'capp'
_3c_Inheritance_3e_ = _Prop__3c_Inheritance_3e_()
class _Prop_properties(aetools.NProperty):
"""properties - every property of the Terminal program """
which = 'pALL'
want = '****'
properties = _Prop_properties()
# element 'cwin' as ['name', 'indx', 'rele', 'rang', 'test', 'ID ']
# element 'docu' as ['name', 'indx', 'rele', 'rang', 'test']
......
......@@ -48,14 +48,14 @@ getbaseclasses(window)
getbaseclasses(application)
getbaseclasses(item)
getbaseclasses(document)
getbaseclasses(window)
getbaseclasses(application)
getbaseclasses(character)
getbaseclasses(attachment)
getbaseclasses(paragraph)
getbaseclasses(word)
getbaseclasses(attribute_run)
getbaseclasses(text)
getbaseclasses(window)
getbaseclasses(application)
#
# Indices of types declared in this module
......@@ -66,14 +66,14 @@ _classdeclarations = {
'capp' : application,
'cobj' : item,
'docu' : document,
'cwin' : window,
'capp' : application,
'cha ' : character,
'atts' : attachment,
'cpar' : paragraph,
'cwor' : word,
'catr' : attribute_run,
'ctxt' : text,
'cwin' : window,
'capp' : application,
}
......@@ -85,3 +85,5 @@ class Terminal(Standard_Suite_Events,
_moduleName = 'Terminal'
_elemdict = application._elemdict
_propdict = application._propdict
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment