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 """Suite CodeWarrior suite: Terms for scripting the CodeWarrior IDE
Level 0, version 0 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 AETE/AEUT resource version 1/0, language 0, script 0
""" """
......
"""Suite Metrowerks Shell Suite: Events supported by the Metrowerks Project Shell """Suite Metrowerks Shell Suite: Events supported by the Metrowerks Project Shell
Level 1, version 1 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 AETE/AEUT resource version 1/0, language 0, script 0
""" """
......
"""Suite Required: Terms that every application should support """Suite Required: Terms that every application should support
Level 1, version 1 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 AETE/AEUT resource version 1/0, language 0, script 0
""" """
......
"""Suite Standard Suite: Common terms for most applications """Suite Standard Suite: Common terms for most applications
Level 1, version 1 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 AETE/AEUT resource version 1/0, language 0, script 0
""" """
...@@ -179,6 +179,7 @@ class _Prop_user_interaction(aetools.NProperty): ...@@ -179,6 +179,7 @@ class _Prop_user_interaction(aetools.NProperty):
"""user interaction - user interaction level """ """user interaction - user interaction level """
which = 'inte' which = 'inte'
want = 'Inte' want = 'Inte'
user_interaction = _Prop_user_interaction()
# element 'cwin' as ['indx', 'name', 'rang'] # element 'cwin' as ['indx', 'name', 'rang']
# element 'docu' 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 import aetools
Error = aetools.Error Error = aetools.Error
...@@ -48,14 +48,14 @@ import StdSuites ...@@ -48,14 +48,14 @@ import StdSuites
# Set property and element dictionaries now that all classes have been defined # Set property and element dictionaries now that all classes have been defined
# #
getbaseclasses(character) getbaseclasses(character)
getbaseclasses(selection_2d_object)
getbaseclasses(application)
getbaseclasses(document)
getbaseclasses(text) getbaseclasses(text)
getbaseclasses(window) getbaseclasses(window)
getbaseclasses(file) getbaseclasses(file)
getbaseclasses(line) getbaseclasses(line)
getbaseclasses(selection_2d_object)
getbaseclasses(application)
getbaseclasses(insertion_point) getbaseclasses(insertion_point)
getbaseclasses(document)
getbaseclasses(single_class_browser) getbaseclasses(single_class_browser)
getbaseclasses(project_document) getbaseclasses(project_document)
getbaseclasses(symbol_browser) getbaseclasses(symbol_browser)
...@@ -77,52 +77,52 @@ getbaseclasses(File_Mapping) ...@@ -77,52 +77,52 @@ getbaseclasses(File_Mapping)
getbaseclasses(browser_catalog) getbaseclasses(browser_catalog)
getbaseclasses(Build_Settings) getbaseclasses(Build_Settings)
getbaseclasses(ProjectFile) getbaseclasses(ProjectFile)
getbaseclasses(Browser_Coloring)
getbaseclasses(Error_Information)
getbaseclasses(VCS_Setup) getbaseclasses(VCS_Setup)
getbaseclasses(Editor) getbaseclasses(data_member)
getbaseclasses(Shielded_Folders)
getbaseclasses(Shielded_Folder) getbaseclasses(Shielded_Folder)
getbaseclasses(Custom_Keywords) getbaseclasses(Custom_Keywords)
getbaseclasses(Path_Information) getbaseclasses(Path_Information)
getbaseclasses(File_Mappings)
getbaseclasses(Segment) getbaseclasses(Segment)
getbaseclasses(Debugger_Target) getbaseclasses(Source_Tree)
getbaseclasses(Function_Information)
getbaseclasses(Access_Paths) getbaseclasses(Access_Paths)
getbaseclasses(Extras)
getbaseclasses(Debugger_Windowing) getbaseclasses(Debugger_Windowing)
getbaseclasses(Global_Source_Trees)
getbaseclasses(Syntax_Coloring)
getbaseclasses(base_class)
getbaseclasses(Relative_Path) getbaseclasses(Relative_Path)
getbaseclasses(Target_Settings)
getbaseclasses(Environment_Variable) 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(Debugger_Global)
getbaseclasses(member_function) getbaseclasses(member_function)
getbaseclasses(Runtime_Settings) getbaseclasses(Runtime_Settings)
getbaseclasses(Plugin_Settings) getbaseclasses(Plugin_Settings)
getbaseclasses(data_member) getbaseclasses(Browser_Coloring)
getbaseclasses(Build_Extras)
getbaseclasses(Font) getbaseclasses(Font)
getbaseclasses(Target_Source_Trees) getbaseclasses(Target_Source_Trees)
getbaseclasses(Debugger_Display)
getbaseclasses(class_)
# #
# Indices of types declared in this module # Indices of types declared in this module
# #
_classdeclarations = { _classdeclarations = {
'cha ' : character, 'cha ' : character,
'csel' : selection_2d_object,
'capp' : application,
'docu' : document,
'ctxt' : text, 'ctxt' : text,
'cwin' : window, 'cwin' : window,
'file' : file, 'file' : file,
'clin' : line, 'clin' : line,
'csel' : selection_2d_object,
'capp' : application,
'cins' : insertion_point, 'cins' : insertion_point,
'docu' : document,
'1BRW' : single_class_browser, '1BRW' : single_class_browser,
'PRJD' : project_document, 'PRJD' : project_document,
'SYMB' : symbol_browser, 'SYMB' : symbol_browser,
...@@ -144,38 +144,38 @@ _classdeclarations = { ...@@ -144,38 +144,38 @@ _classdeclarations = {
'Cata' : browser_catalog, 'Cata' : browser_catalog,
'BSTG' : Build_Settings, 'BSTG' : Build_Settings,
'SrcF' : ProjectFile, 'SrcF' : ProjectFile,
'BRKW' : Browser_Coloring,
'ErrM' : Error_Information,
'VCSs' : VCS_Setup, 'VCSs' : VCS_Setup,
'EDTR' : Editor, 'DtMb' : data_member,
'SHFL' : Shielded_Folders,
'SFit' : Shielded_Folder, 'SFit' : Shielded_Folder,
'CUKW' : Custom_Keywords, 'CUKW' : Custom_Keywords,
'PInf' : Path_Information, 'PInf' : Path_Information,
'FLMP' : File_Mappings,
'Seg ' : Segment, 'Seg ' : Segment,
'DbTG' : Debugger_Target, 'SrcT' : Source_Tree,
'FDef' : Function_Information,
'PATH' : Access_Paths, 'PATH' : Access_Paths,
'GXTR' : Extras,
'DbWN' : Debugger_Windowing, 'DbWN' : Debugger_Windowing,
'GSTs' : Global_Source_Trees,
'SNTX' : Syntax_Coloring,
'BsCl' : base_class,
'RlPt' : Relative_Path, 'RlPt' : Relative_Path,
'TARG' : Target_Settings,
'EnvV' : Environment_Variable, '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, 'DbGL' : Debugger_Global,
'MbFn' : member_function, 'MbFn' : member_function,
'RSTG' : Runtime_Settings, 'RSTG' : Runtime_Settings,
'PSTG' : Plugin_Settings, 'PSTG' : Plugin_Settings,
'DtMb' : data_member, 'BRKW' : Browser_Coloring,
'LXTR' : Build_Extras,
'mFNT' : Font, 'mFNT' : Font,
'TSTs' : Target_Source_Trees, 'TSTs' : Target_Source_Trees,
'DbDS' : Debugger_Display,
'Clas' : class_,
} }
......
...@@ -46,6 +46,7 @@ class _Prop_selected_text(aetools.NProperty): ...@@ -46,6 +46,7 @@ class _Prop_selected_text(aetools.NProperty):
"""selected text - the selected text """ """selected text - the selected text """
which = 'stxt' which = 'stxt'
want = 'TEXT' want = 'TEXT'
selected_text = _Prop_selected_text()
application._superclassnames = [] application._superclassnames = []
application._privpropdict = { application._privpropdict = {
'selected_text' : _Prop_selected_text, 'selected_text' : _Prop_selected_text,
......
...@@ -76,3 +76,5 @@ class Explorer(Standard_Suite_Events, ...@@ -76,3 +76,5 @@ class Explorer(Standard_Suite_Events,
_moduleName = 'Explorer' _moduleName = 'Explorer'
_elemdict = application._elemdict
_propdict = application._propdict
...@@ -65,54 +65,67 @@ class _Prop_Finder_preferences(aetools.NProperty): ...@@ -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 """ """Finder preferences - (NOT AVAILABLE YET) Various preferences that apply to the Finder as a whole """
which = 'pfrp' which = 'pfrp'
want = 'cprf' want = 'cprf'
Finder_preferences = _Prop_Finder_preferences()
class _Prop_clipboard(aetools.NProperty): class _Prop_clipboard(aetools.NProperty):
"""clipboard - (NOT AVAILABLE YET) the Finder\xd5s clipboard window """ """clipboard - (NOT AVAILABLE YET) the Finder\xd5s clipboard window """
which = 'pcli' which = 'pcli'
want = 'obj ' want = 'obj '
clipboard = _Prop_clipboard()
class _Prop_desktop(aetools.NProperty): class _Prop_desktop(aetools.NProperty):
"""desktop - the desktop """ """desktop - the desktop """
which = 'desk' which = 'desk'
want = 'cdsk' want = 'cdsk'
desktop = _Prop_desktop()
class _Prop_frontmost(aetools.NProperty): class _Prop_frontmost(aetools.NProperty):
"""frontmost - Is the Finder the frontmost process? """ """frontmost - Is the Finder the frontmost process? """
which = 'pisf' which = 'pisf'
want = 'bool' want = 'bool'
frontmost = _Prop_frontmost()
class _Prop_home(aetools.NProperty): class _Prop_home(aetools.NProperty):
"""home - the home directory """ """home - the home directory """
which = 'home' which = 'home'
want = 'cfol' want = 'cfol'
home = _Prop_home()
class _Prop_insertion_location(aetools.NProperty): class _Prop_insertion_location(aetools.NProperty):
"""insertion location - the container in which a new folder would appear if \xd2New Folder\xd3 was selected """ """insertion location - the container in which a new folder would appear if \xd2New Folder\xd3 was selected """
which = 'pins' which = 'pins'
want = 'obj ' want = 'obj '
insertion_location = _Prop_insertion_location()
class _Prop_name(aetools.NProperty): class _Prop_name(aetools.NProperty):
"""name - the Finder\xd5s name """ """name - the Finder\xd5s name """
which = 'pnam' which = 'pnam'
want = 'itxt' want = 'itxt'
name = _Prop_name()
class _Prop_product_version(aetools.NProperty): class _Prop_product_version(aetools.NProperty):
"""product version - the version of the System software running on this computer """ """product version - the version of the System software running on this computer """
which = 'ver2' which = 'ver2'
want = 'utxt' want = 'utxt'
product_version = _Prop_product_version()
class _Prop_selection(aetools.NProperty): class _Prop_selection(aetools.NProperty):
"""selection - the selection in the frontmost Finder window """ """selection - the selection in the frontmost Finder window """
which = 'sele' which = 'sele'
want = 'obj ' want = 'obj '
selection = _Prop_selection()
class _Prop_startup_disk(aetools.NProperty): class _Prop_startup_disk(aetools.NProperty):
"""startup disk - the startup disk """ """startup disk - the startup disk """
which = 'sdsk' which = 'sdsk'
want = 'cdis' want = 'cdis'
startup_disk = _Prop_startup_disk()
class _Prop_trash(aetools.NProperty): class _Prop_trash(aetools.NProperty):
"""trash - the trash """ """trash - the trash """
which = 'trsh' which = 'trsh'
want = 'ctrs' want = 'ctrs'
trash = _Prop_trash()
class _Prop_version(aetools.NProperty): class _Prop_version(aetools.NProperty):
"""version - the version of the Finder """ """version - the version of the Finder """
which = 'vers' which = 'vers'
want = 'utxt' want = 'utxt'
version = _Prop_version()
class _Prop_visible(aetools.NProperty): class _Prop_visible(aetools.NProperty):
"""visible - Is the Finder\xd5s layer visible? """ """visible - Is the Finder\xd5s layer visible? """
which = 'pvis' which = 'pvis'
want = 'bool' want = 'bool'
visible = _Prop_visible()
# element 'alia' as ['indx', 'name'] # element 'alia' as ['indx', 'name']
# element 'appf' as ['indx', 'name', 'ID '] # element 'appf' as ['indx', 'name', 'ID ']
# element 'brow' as ['indx', 'ID '] # element 'brow' as ['indx', 'ID ']
......
...@@ -77,6 +77,7 @@ class _Prop_desktop_picture(aetools.NProperty): ...@@ -77,6 +77,7 @@ class _Prop_desktop_picture(aetools.NProperty):
"""desktop picture - the desktop picture of the main monitor """ """desktop picture - the desktop picture of the main monitor """
which = 'dpic' which = 'dpic'
want = 'file' want = 'file'
desktop_picture = _Prop_desktop_picture()
class application_process(aetools.ComponentItem): class application_process(aetools.ComponentItem):
"""application process - A process launched from an application file """ """application process - A process launched from an application file """
......
"""Suite Mozilla suite: Experimental Mozilla suite """Suite Mozilla suite: Experimental Mozilla suite
Level 1, version 1 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 AETE/AEUT resource version 1/0, language 0, script 0
""" """
......
"""Suite PowerPlant: """Suite PowerPlant:
Level 0, version 0 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 AETE/AEUT resource version 1/0, language 0, script 0
""" """
......
"""Suite Required suite: """Suite Required suite:
Level 0, version 0 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 AETE/AEUT resource version 1/0, language 0, script 0
""" """
......
"""Suite Standard Suite: Common terms for most applications """Suite Standard Suite: Common terms for most applications
Level 1, version 1 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 AETE/AEUT resource version 1/0, language 0, script 0
""" """
...@@ -108,10 +108,12 @@ class _Prop_alert_application(aetools.NProperty): ...@@ -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. """ """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' which = 'ALAP'
want = 'type' want = 'type'
alert_application = _Prop_alert_application()
class _Prop_kiosk_mode(aetools.NProperty): class _Prop_kiosk_mode(aetools.NProperty):
"""kiosk mode - Kiosk mode leaves very few menus enabled """ """kiosk mode - Kiosk mode leaves very few menus enabled """
which = 'KOSK' which = 'KOSK'
want = 'long' want = 'long'
kiosk_mode = _Prop_kiosk_mode()
# element 'cwin' as ['indx', 'name', 'ID '] # element 'cwin' as ['indx', 'name', 'ID ']
class window(aetools.ComponentItem): class window(aetools.ComponentItem):
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
Level 1, version 1 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 AETE/AEUT resource version 1/0, language 0, script 0
""" """
......
"""Suite Text: """Suite Text:
Level 0, version 0 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 AETE/AEUT resource version 1/0, language 0, script 0
""" """
......
"""Suite WorldWideWeb suite, as defined in Spyglass spec.: """Suite WorldWideWeb suite, as defined in Spyglass spec.:
Level 1, version 1 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 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 import aetools
Error = aetools.Error Error = aetools.Error
...@@ -59,33 +59,33 @@ import StdSuites ...@@ -59,33 +59,33 @@ import StdSuites
# #
# Set property and element dictionaries now that all classes have been defined # Set property and element dictionaries now that all classes have been defined
# #
getbaseclasses(window) getbaseclasses(text)
getbaseclasses(application) getbaseclasses(styleset)
getbaseclasses(StdSuites.Text_Suite.text_flow)
getbaseclasses(StdSuites.Text_Suite.character) getbaseclasses(StdSuites.Text_Suite.character)
getbaseclasses(StdSuites.Text_Suite.text_style_info) getbaseclasses(StdSuites.Text_Suite.text_flow)
getbaseclasses(StdSuites.Text_Suite.line)
getbaseclasses(StdSuites.Text_Suite.word) getbaseclasses(StdSuites.Text_Suite.word)
getbaseclasses(StdSuites.Text_Suite.paragraph) getbaseclasses(StdSuites.Text_Suite.paragraph)
getbaseclasses(StdSuites.Text_Suite.text_style_info)
getbaseclasses(StdSuites.Text_Suite.line)
getbaseclasses(StdSuites.Text_Suite.text) getbaseclasses(StdSuites.Text_Suite.text)
getbaseclasses(text) getbaseclasses(window)
getbaseclasses(styleset) getbaseclasses(application)
# #
# Indices of types declared in this module # Indices of types declared in this module
# #
_classdeclarations = { _classdeclarations = {
'cwin' : window, 'ctxt' : text,
'capp' : application, 'stys' : styleset,
'cflo' : StdSuites.Text_Suite.text_flow,
'cha ' : StdSuites.Text_Suite.character, 'cha ' : StdSuites.Text_Suite.character,
'tsty' : StdSuites.Text_Suite.text_style_info, 'cflo' : StdSuites.Text_Suite.text_flow,
'clin' : StdSuites.Text_Suite.line,
'cwor' : StdSuites.Text_Suite.word, 'cwor' : StdSuites.Text_Suite.word,
'cpar' : StdSuites.Text_Suite.paragraph, 'cpar' : StdSuites.Text_Suite.paragraph,
'tsty' : StdSuites.Text_Suite.text_style_info,
'clin' : StdSuites.Text_Suite.line,
'ctxt' : StdSuites.Text_Suite.text, 'ctxt' : StdSuites.Text_Suite.text,
'ctxt' : text, 'cwin' : window,
'stys' : styleset, 'capp' : application,
} }
...@@ -101,3 +101,5 @@ class Netscape(Standard_Suite_Events, ...@@ -101,3 +101,5 @@ class Netscape(Standard_Suite_Events,
_moduleName = 'Netscape' _moduleName = 'Netscape'
_elemdict = application._elemdict
_propdict = application._propdict
"""Suite AppleScript Suite: Standard terms for AppleScript """Suite AppleScript Suite: Standard terms for AppleScript
Level 1, version 1 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 AETE/AEUT resource version 1/0, language 0, script 0
""" """
...@@ -762,11 +762,15 @@ class strings(aetools.ComponentItem): ...@@ -762,11 +762,15 @@ class strings(aetools.ComponentItem):
string = strings string = strings
class aliases(aetools.ComponentItem): class alias(aetools.ComponentItem):
"""aliases - """ """alias - a file on a disk or server. The file must exist when you check the syntax of your script. """
want = 'alis' 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): class April(aetools.ComponentItem):
"""April - the month of April """ """April - the month of April """
...@@ -795,54 +799,67 @@ class _Prop_AppleScript(aetools.NProperty): ...@@ -795,54 +799,67 @@ class _Prop_AppleScript(aetools.NProperty):
"""AppleScript - the top-level script object """ """AppleScript - the top-level script object """
which = 'ascr' which = 'ascr'
want = 'scpt' want = 'scpt'
AppleScript = _Prop_AppleScript()
class _Prop_days(aetools.NProperty): class _Prop_days(aetools.NProperty):
"""days - the number of seconds in a day """ """days - the number of seconds in a day """
which = 'days' which = 'days'
want = 'long' want = 'long'
days = _Prop_days()
class _Prop_hours(aetools.NProperty): class _Prop_hours(aetools.NProperty):
"""hours - the number of seconds in an hour """ """hours - the number of seconds in an hour """
which = 'hour' which = 'hour'
want = 'long' want = 'long'
hours = _Prop_hours()
class _Prop_minutes(aetools.NProperty): class _Prop_minutes(aetools.NProperty):
"""minutes - the number of seconds in a minute """ """minutes - the number of seconds in a minute """
which = 'min ' which = 'min '
want = 'long' want = 'long'
minutes = _Prop_minutes()
class _Prop_pi(aetools.NProperty): class _Prop_pi(aetools.NProperty):
"""pi - the constant pi """ """pi - the constant pi """
which = 'pi ' which = 'pi '
want = 'doub' want = 'doub'
pi = _Prop_pi()
class _Prop_print_depth(aetools.NProperty): class _Prop_print_depth(aetools.NProperty):
"""print depth - the maximum depth to print """ """print depth - the maximum depth to print """
which = 'prdp' which = 'prdp'
want = 'long' want = 'long'
print_depth = _Prop_print_depth()
class _Prop_print_length(aetools.NProperty): class _Prop_print_length(aetools.NProperty):
"""print length - the maximum length to print """ """print length - the maximum length to print """
which = 'prln' which = 'prln'
want = 'long' want = 'long'
print_length = _Prop_print_length()
class _Prop_result(aetools.NProperty): class _Prop_result(aetools.NProperty):
"""result - the last result of evaluation """ """result - the last result of evaluation """
which = 'rslt' which = 'rslt'
want = '****' want = '****'
result = _Prop_result()
class _Prop_return_(aetools.NProperty): class _Prop_return_(aetools.NProperty):
"""return - a return character """ """return - a return character """
which = 'ret ' which = 'ret '
want = 'cha ' want = 'cha '
return_ = _Prop_return_()
class _Prop_space(aetools.NProperty): class _Prop_space(aetools.NProperty):
"""space - a space character """ """space - a space character """
which = 'spac' which = 'spac'
want = 'cha ' want = 'cha '
space = _Prop_space()
class _Prop_tab(aetools.NProperty): class _Prop_tab(aetools.NProperty):
"""tab - a tab character """ """tab - a tab character """
which = 'tab ' which = 'tab '
want = 'cha ' want = 'cha '
tab = _Prop_tab()
class _Prop_text_item_delimiters(aetools.NProperty): class _Prop_text_item_delimiters(aetools.NProperty):
"""text item delimiters - the text item delimiters of a string """ """text item delimiters - the text item delimiters of a string """
which = 'txdl' which = 'txdl'
want = 'list' want = 'list'
text_item_delimiters = _Prop_text_item_delimiters()
class _Prop_weeks(aetools.NProperty): class _Prop_weeks(aetools.NProperty):
"""weeks - the number of seconds in a week """ """weeks - the number of seconds in a week """
which = 'week' which = 'week'
want = 'long' want = 'long'
weeks = _Prop_weeks()
applications = application applications = application
...@@ -980,11 +997,11 @@ class Friday(aetools.ComponentItem): ...@@ -980,11 +997,11 @@ class Friday(aetools.ComponentItem):
"""Friday - Friday """ """Friday - Friday """
want = 'fri ' want = 'fri '
class file_specifications(aetools.ComponentItem): class file_specification(aetools.ComponentItem):
"""file specifications - """ """file specification - a file specification as used by the operating system """
want = 'fss ' want = 'fss '
file_specification = file_specifications file_specifications = file_specification
class gallons(aetools.ComponentItem): class gallons(aetools.ComponentItem):
"""gallons - a volume measurement in Imperial gallons """ """gallons - a volume measurement in Imperial gallons """
...@@ -1416,10 +1433,11 @@ strings._privpropdict = { ...@@ -1416,10 +1433,11 @@ strings._privpropdict = {
} }
strings._privelemdict = { strings._privelemdict = {
} }
aliases._superclassnames = [] alias._superclassnames = []
aliases._privpropdict = { alias._privpropdict = {
'POSIX_path' : _Prop_POSIX_path,
} }
aliases._privelemdict = { alias._privelemdict = {
} }
April._superclassnames = [] April._superclassnames = []
April._privpropdict = { April._privpropdict = {
...@@ -1582,10 +1600,11 @@ Friday._privpropdict = { ...@@ -1582,10 +1600,11 @@ Friday._privpropdict = {
} }
Friday._privelemdict = { Friday._privelemdict = {
} }
file_specifications._superclassnames = [] file_specification._superclassnames = []
file_specifications._privpropdict = { file_specification._privpropdict = {
'POSIX_path' : _Prop_POSIX_path,
} }
file_specifications._privelemdict = { file_specification._privelemdict = {
} }
gallons._superclassnames = [] gallons._superclassnames = []
gallons._privpropdict = { gallons._privpropdict = {
...@@ -2045,7 +2064,7 @@ _classdeclarations = { ...@@ -2045,7 +2064,7 @@ _classdeclarations = {
'PICT' : pictures, 'PICT' : pictures,
'STXT' : styled_text, 'STXT' : styled_text,
'TEXT' : strings, 'TEXT' : strings,
'alis' : aliases, 'alis' : alias,
'apr ' : April, 'apr ' : April,
'aug ' : August, 'aug ' : August,
'bool' : booleans, 'bool' : booleans,
...@@ -2075,7 +2094,7 @@ _classdeclarations = { ...@@ -2075,7 +2094,7 @@ _classdeclarations = {
'feb ' : February, 'feb ' : February,
'feet' : feet, 'feet' : feet,
'fri ' : Friday, 'fri ' : Friday,
'fss ' : file_specifications, 'fss ' : file_specification,
'galn' : gallons, 'galn' : gallons,
'gram' : grams, 'gram' : grams,
'hand' : handlers, 'hand' : handlers,
...@@ -2169,6 +2188,7 @@ _propdeclarations = { ...@@ -2169,6 +2188,7 @@ _propdeclarations = {
'prdp' : _Prop_print_depth, 'prdp' : _Prop_print_depth,
'prln' : _Prop_print_length, 'prln' : _Prop_print_length,
'pscd' : _Prop_script_code, 'pscd' : _Prop_script_code,
'psxp' : _Prop_POSIX_path,
'rest' : _Prop_rest, 'rest' : _Prop_rest,
'ret ' : _Prop_return_, 'ret ' : _Prop_return_,
'rslt' : _Prop_result, 'rslt' : _Prop_result,
......
"""Suite Macintosh Connectivity Classes: Classes relating to Apple Macintosh personal computer connectivity """Suite Macintosh Connectivity Classes: Classes relating to Apple Macintosh personal computer connectivity
Level 1, version 1 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 AETE/AEUT resource version 1/0, language 0, script 0
""" """
......
"""Suite QuickDraw Graphics Suite: A set of basic classes for graphics """Suite QuickDraw Graphics Suite: A set of basic classes for graphics
Level 1, version 1 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 AETE/AEUT resource version 1/0, language 0, script 0
""" """
......
"""Suite QuickDraw Graphics Supplemental Suite: Defines transformations of graphic objects """Suite QuickDraw Graphics Supplemental Suite: Defines transformations of graphic objects
Level 1, version 1 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 AETE/AEUT resource version 1/0, language 0, script 0
""" """
......
"""Suite Required Suite: Every application supports open, print, run, and quit """Suite Required Suite: Every application supports open, print, run, and quit
Level 1, version 1 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 AETE/AEUT resource version 1/0, language 0, script 0
""" """
......
"""Suite Standard Suite: Common terms for most applications """Suite Standard Suite: Common terms for most applications
Level 1, version 1 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 AETE/AEUT resource version 1/0, language 0, script 0
""" """
...@@ -206,6 +206,27 @@ class Standard_Suite_Events(builtin_Suite_Events): ...@@ -206,6 +206,27 @@ class Standard_Suite_Events(builtin_Suite_Events):
_arguments['----'] = _object _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, _reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes) _arguments, _attributes)
if _arguments.get('errn', 0): if _arguments.get('errn', 0):
...@@ -448,11 +469,15 @@ class Standard_Suite_Events(builtin_Suite_Events): ...@@ -448,11 +469,15 @@ class Standard_Suite_Events(builtin_Suite_Events):
return _arguments['----'] return _arguments['----']
class aliases(aetools.ComponentItem): class alias(aetools.ComponentItem):
"""aliases - """ """alias - a file on a disk or server. The file must exist when you check the syntax of your script. """
want = 'alis' 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): class application(aetools.ComponentItem):
"""application - An application program """ """application - An application program """
...@@ -461,22 +486,27 @@ class _Prop_clipboard(aetools.NProperty): ...@@ -461,22 +486,27 @@ class _Prop_clipboard(aetools.NProperty):
"""clipboard - the contents of the clipboard for this application """ """clipboard - the contents of the clipboard for this application """
which = 'pcli' which = 'pcli'
want = '****' want = '****'
clipboard = _Prop_clipboard()
class _Prop_frontmost(aetools.NProperty): class _Prop_frontmost(aetools.NProperty):
"""frontmost - Is this the frontmost application? """ """frontmost - Is this the frontmost application? """
which = 'pisf' which = 'pisf'
want = 'bool' want = 'bool'
frontmost = _Prop_frontmost()
class _Prop_name(aetools.NProperty): class _Prop_name(aetools.NProperty):
"""name - the name of the application """ """name - the name of the application """
which = 'pnam' which = 'pnam'
want = 'itxt' want = 'itxt'
name = _Prop_name()
class _Prop_selection(aetools.NProperty): 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. """ """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' which = 'sele'
want = 'csel' want = 'csel'
selection = _Prop_selection()
class _Prop_version(aetools.NProperty): class _Prop_version(aetools.NProperty):
"""version - the version of the application """ """version - the version of the application """
which = 'vers' which = 'vers'
want = 'vers' want = 'vers'
version = _Prop_version()
applications = application applications = application
...@@ -553,16 +583,13 @@ documents = document ...@@ -553,16 +583,13 @@ documents = document
class file(aetools.ComponentItem): class file(aetools.ComponentItem):
"""file - a file on a disk or server """ """file - a file on a disk or server """
want = 'file' want = 'file'
class _Prop_stationery(aetools.NProperty):
"""stationery - Is the file a stationery file? """
which = 'pspd'
want = 'bool'
files = file files = file
aliases._superclassnames = [] alias._superclassnames = []
aliases._privpropdict = { alias._privpropdict = {
'POSIX_path' : _Prop_POSIX_path,
} }
aliases._privelemdict = { alias._privelemdict = {
} }
application._superclassnames = [] application._superclassnames = []
application._privpropdict = { application._privpropdict = {
...@@ -608,7 +635,7 @@ document._privelemdict = { ...@@ -608,7 +635,7 @@ document._privelemdict = {
} }
file._superclassnames = [] file._superclassnames = []
file._privpropdict = { file._privpropdict = {
'stationery' : _Prop_stationery, 'POSIX_path' : _Prop_POSIX_path,
} }
file._privelemdict = { file._privelemdict = {
} }
...@@ -663,7 +690,7 @@ _Enum_styl = { ...@@ -663,7 +690,7 @@ _Enum_styl = {
# Indices of types declared in this module # Indices of types declared in this module
# #
_classdeclarations = { _classdeclarations = {
'alis' : aliases, 'alis' : alias,
'capp' : application, 'capp' : application,
'cins' : insertion_points, 'cins' : insertion_points,
'csel' : selection_2d_object, 'csel' : selection_2d_object,
...@@ -685,7 +712,7 @@ _propdeclarations = { ...@@ -685,7 +712,7 @@ _propdeclarations = {
'pmod' : _Prop_modal, 'pmod' : _Prop_modal,
'pnam' : _Prop_name, 'pnam' : _Prop_name,
'prsz' : _Prop_resizable, 'prsz' : _Prop_resizable,
'pspd' : _Prop_stationery, 'psxp' : _Prop_POSIX_path,
'ptit' : _Prop_titled, 'ptit' : _Prop_titled,
'pvis' : _Prop_visible, 'pvis' : _Prop_visible,
'pzum' : _Prop_zoomed, 'pzum' : _Prop_zoomed,
......
"""Suite Table Suite: Classes for manipulating tables """Suite Table Suite: Classes for manipulating tables
Level 1, version 1 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 AETE/AEUT resource version 1/0, language 0, script 0
""" """
......
"""Suite Text Suite: A set of basic classes for text processing """Suite Text Suite: A set of basic classes for text processing
Level 1, version 1 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 AETE/AEUT resource version 1/0, language 0, script 0
""" """
...@@ -60,6 +60,10 @@ class _Prop_font(aetools.NProperty): ...@@ -60,6 +60,10 @@ class _Prop_font(aetools.NProperty):
"""font - the name of the font of the first character """ """font - the name of the font of the first character """
which = 'font' which = 'font'
want = 'ctxt' want = 'ctxt'
class _Prop_quoted_form(aetools.NProperty):
"""quoted form - the text in quoted form """
which = 'strq'
want = 'ctxt'
class _Prop_size(aetools.NProperty): class _Prop_size(aetools.NProperty):
"""size - the size in points of the first character """ """size - the size in points of the first character """
which = 'ptsz' which = 'ptsz'
...@@ -131,6 +135,7 @@ text._superclassnames = [] ...@@ -131,6 +135,7 @@ text._superclassnames = []
text._privpropdict = { text._privpropdict = {
'color' : _Prop_color, 'color' : _Prop_color,
'font' : _Prop_font, 'font' : _Prop_font,
'quoted_form' : _Prop_quoted_form,
'size' : _Prop_size, 'size' : _Prop_size,
'style' : _Prop_style, 'style' : _Prop_style,
'uniform_styles' : _Prop_uniform_styles, 'uniform_styles' : _Prop_uniform_styles,
...@@ -205,6 +210,7 @@ _propdeclarations = { ...@@ -205,6 +210,7 @@ _propdeclarations = {
'pnam' : _Prop_name, 'pnam' : _Prop_name,
'psct' : _Prop_writing_code, 'psct' : _Prop_writing_code,
'ptsz' : _Prop_size, 'ptsz' : _Prop_size,
'strq' : _Prop_quoted_form,
'txst' : _Prop_style, 'txst' : _Prop_style,
'ustl' : _Prop_uniform_styles, 'ustl' : _Prop_uniform_styles,
} }
......
"""Suite Type Names Suite: Terminology for Registry data types """Suite Type Names Suite: Terminology for Registry data types
Level 1, version 1 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 AETE/AEUT resource version 1/0, language 0, script 0
""" """
......
...@@ -147,17 +147,41 @@ class Folder_Actions_Suite_Events: ...@@ -147,17 +147,41 @@ class Folder_Actions_Suite_Events:
return _arguments['----'] return _arguments['----']
class folder_action(aetools.ComponentItem): class application(aetools.ComponentItem):
"""folder action - An action attached to a folder in the file system """ """application - The Folder Actions Suite host program """
want = 'foac' want = 'capp'
class _Prop__3c_Inheritance_3e_(aetools.NProperty): class _Prop__3c_Inheritance_3e_(aetools.NProperty):
"""<Inheritance> - All of the properties of the superclass. """ """<Inheritance> - All of the properties of the superclass. """
which = 'c@#^' which = 'c@#^'
want = 'cobj' want = 'capp'
class _Prop_enabled(aetools.NProperty): _3c_Inheritance_3e_ = _Prop__3c_Inheritance_3e_()
"""enabled - Is the folder action enabled? """ class _Prop_folder_actions_enabled(aetools.NProperty):
which = 'enaB' """folder actions enabled - Are Folder Actions currently being processed? """
which = 'faen'
want = 'bool' 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): class _Prop_name(aetools.NProperty):
"""name - the name of the folder action, which is also the name of the folder """ """name - the name of the folder action, which is also the name of the folder """
which = 'pnam' which = 'pnam'
...@@ -166,10 +190,6 @@ class _Prop_path(aetools.NProperty): ...@@ -166,10 +190,6 @@ class _Prop_path(aetools.NProperty):
"""path - the path to the folder to which the folder action applies """ """path - the path to the folder to which the folder action applies """
which = 'ppth' which = 'ppth'
want = '****' want = '****'
class _Prop_properties(aetools.NProperty):
"""properties - every property of the folder action """
which = 'pALL'
want = '****'
class _Prop_volume(aetools.NProperty): class _Prop_volume(aetools.NProperty):
"""volume - the volume on which the folder action resides """ """volume - the volume on which the folder action resides """
which = 'volu' which = 'volu'
...@@ -187,11 +207,32 @@ class _Prop_POSIX_path(aetools.NProperty): ...@@ -187,11 +207,32 @@ class _Prop_POSIX_path(aetools.NProperty):
want = 'utxt' want = 'utxt'
scripts = script scripts = script
application._superclassnames = []
import Disk_Folder_File_Suite
import Standard_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._superclassnames = ['item']
folder_action._privpropdict = { folder_action._privpropdict = {
'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
'enabled' : _Prop_enabled,
'name' : _Prop_name, 'name' : _Prop_name,
'path' : _Prop_path, 'path' : _Prop_path,
'properties' : _Prop_properties, 'properties' : _Prop_properties,
...@@ -223,13 +264,14 @@ _Enum_actn = { ...@@ -223,13 +264,14 @@ _Enum_actn = {
# Indices of types declared in this module # Indices of types declared in this module
# #
_classdeclarations = { _classdeclarations = {
'capp' : application,
'foac' : folder_action, 'foac' : folder_action,
'scpt' : script, 'scpt' : script,
} }
_propdeclarations = { _propdeclarations = {
'c@#^' : _Prop__3c_Inheritance_3e_, 'c@#^' : _Prop__3c_Inheritance_3e_,
'enaB' : _Prop_enabled, 'faen' : _Prop_folder_actions_enabled,
'pALL' : _Prop_properties, 'pALL' : _Prop_properties,
'pnam' : _Prop_name, 'pnam' : _Prop_name,
'posx' : _Prop_POSIX_path, 'posx' : _Prop_POSIX_path,
......
...@@ -73,13 +73,73 @@ class Power_Suite_Events: ...@@ -73,13 +73,73 @@ class Power_Suite_Events:
return _arguments['----'] 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 # Indices of types declared in this module
# #
_classdeclarations = { _classdeclarations = {
'capp' : application,
} }
_propdeclarations = { _propdeclarations = {
'c@#^' : _Prop__3c_Inheritance_3e_,
'faen' : _Prop_folder_actions_enabled,
'pALL' : _Prop_properties,
} }
_compdeclarations = { _compdeclarations = {
......
...@@ -337,19 +337,23 @@ class _Prop__3c_Inheritance_3e_(aetools.NProperty): ...@@ -337,19 +337,23 @@ class _Prop__3c_Inheritance_3e_(aetools.NProperty):
"""<Inheritance> - All of the properties of the superclass. """ """<Inheritance> - All of the properties of the superclass. """
which = 'c@#^' which = 'c@#^'
want = 'cobj' want = 'cobj'
_3c_Inheritance_3e_ = _Prop__3c_Inheritance_3e_()
class _Prop_frontmost(aetools.NProperty): class _Prop_frontmost(aetools.NProperty):
"""frontmost - Is this the frontmost (active) application? """ """frontmost - Is this the frontmost (active) application? """
which = 'pisf' which = 'pisf'
want = 'bool' want = 'bool'
frontmost = _Prop_frontmost()
class _Prop_name(aetools.NProperty): class _Prop_name(aetools.NProperty):
"""name - The name of the application. """ """name - The name of the application. """
which = 'pnam' which = 'pnam'
want = 'utxt' want = 'utxt'
name = _Prop_name()
class _Prop_version(aetools.NProperty): class _Prop_version(aetools.NProperty):
"""version - The version of the application. """ """version - The version of the application. """
which = 'vers' which = 'vers'
want = 'utxt' 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'] # element 'docu' as ['name', 'indx', 'rele', 'rang', 'test']
applications = application applications = application
......
...@@ -12,7 +12,25 @@ _code = 'sevs' ...@@ -12,7 +12,25 @@ _code = 'sevs'
class System_Events_Suite_Events: 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): class application(aetools.ComponentItem):
...@@ -22,23 +40,21 @@ class _Prop__3c_Inheritance_3e_(aetools.NProperty): ...@@ -22,23 +40,21 @@ class _Prop__3c_Inheritance_3e_(aetools.NProperty):
"""<Inheritance> - All of the properties of the superclass. """ """<Inheritance> - All of the properties of the superclass. """
which = 'c@#^' which = 'c@#^'
want = 'capp' want = 'capp'
_3c_Inheritance_3e_ = _Prop__3c_Inheritance_3e_()
class _Prop_folder_actions_enabled(aetools.NProperty): class _Prop_folder_actions_enabled(aetools.NProperty):
"""folder actions enabled - Are Folder Actions currently being processed? """ """folder actions enabled - Are Folder Actions currently being processed? """
which = 'faen' which = 'faen'
want = 'bool' want = 'bool'
folder_actions_enabled = _Prop_folder_actions_enabled()
class _Prop_properties(aetools.NProperty): class _Prop_properties(aetools.NProperty):
"""properties - every property of the System Events application """ """properties - every property of the System Events application """
which = 'pALL' which = 'pALL'
want = '****' want = '****'
class _Prop_system_wide_UI_element(aetools.NProperty): properties = _Prop_properties()
"""system wide UI element - the UI element for the entire system """
which = 'swui'
want = 'uiel'
# element 'alis' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cdis' as ['name', 'indx', 'rele', 'rang', 'test'] # element 'cdis' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test'] # element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cobj' 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 'docu' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'file' as ['name', 'indx', 'rele', 'rang', 'test'] # element 'file' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'foac' 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): ...@@ -46,7 +62,6 @@ class _Prop_system_wide_UI_element(aetools.NProperty):
# element 'pcap' as ['name', 'indx', 'rele', 'rang', 'test'] # element 'pcap' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'pcda' as ['name', 'indx', 'rele', 'rang', 'test'] # element 'pcda' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'prcs' as ['name', 'indx', 'rele', 'rang', 'test'] # element 'prcs' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'uiel' as ['name', 'indx', 'rele', 'rang', 'test']
applications = application applications = application
application._superclassnames = [] application._superclassnames = []
...@@ -59,11 +74,8 @@ application._privpropdict = { ...@@ -59,11 +74,8 @@ application._privpropdict = {
'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
'folder_actions_enabled' : _Prop_folder_actions_enabled, 'folder_actions_enabled' : _Prop_folder_actions_enabled,
'properties' : _Prop_properties, 'properties' : _Prop_properties,
'system_wide_UI_element' : _Prop_system_wide_UI_element,
} }
application._privelemdict = { application._privelemdict = {
'UI_element' : Processes_Suite.UI_element,
'alias' : Disk_Folder_File_Suite.alias,
'application_process' : Processes_Suite.application_process, 'application_process' : Processes_Suite.application_process,
'desk_accessory_process' : Processes_Suite.desk_accessory_process, 'desk_accessory_process' : Processes_Suite.desk_accessory_process,
'disk' : Disk_Folder_File_Suite.disk, 'disk' : Disk_Folder_File_Suite.disk,
...@@ -88,7 +100,6 @@ _propdeclarations = { ...@@ -88,7 +100,6 @@ _propdeclarations = {
'c@#^' : _Prop__3c_Inheritance_3e_, 'c@#^' : _Prop__3c_Inheritance_3e_,
'faen' : _Prop_folder_actions_enabled, 'faen' : _Prop_folder_actions_enabled,
'pALL' : _Prop_properties, 'pALL' : _Prop_properties,
'swui' : _Prop_system_wide_UI_element,
} }
_compdeclarations = { _compdeclarations = {
......
...@@ -11,7 +11,6 @@ import Login_Items_Suite ...@@ -11,7 +11,6 @@ import Login_Items_Suite
import Power_Suite import Power_Suite
import Processes_Suite import Processes_Suite
import System_Events_Suite import System_Events_Suite
import Hidden_Suite
_code_to_module = { _code_to_module = {
...@@ -23,7 +22,6 @@ _code_to_module = { ...@@ -23,7 +22,6 @@ _code_to_module = {
'powr' : Power_Suite, 'powr' : Power_Suite,
'prcs' : Processes_Suite, 'prcs' : Processes_Suite,
'sevs' : System_Events_Suite, 'sevs' : System_Events_Suite,
'tpnm' : Hidden_Suite,
} }
...@@ -37,7 +35,6 @@ _code_to_fullname = { ...@@ -37,7 +35,6 @@ _code_to_fullname = {
'powr' : ('SystemEvents.Power_Suite', 'Power_Suite'), 'powr' : ('SystemEvents.Power_Suite', 'Power_Suite'),
'prcs' : ('SystemEvents.Processes_Suite', 'Processes_Suite'), 'prcs' : ('SystemEvents.Processes_Suite', 'Processes_Suite'),
'sevs' : ('SystemEvents.System_Events_Suite', 'System_Events_Suite'), 'sevs' : ('SystemEvents.System_Events_Suite', 'System_Events_Suite'),
'tpnm' : ('SystemEvents.Hidden_Suite', 'Hidden_Suite'),
} }
from Standard_Suite import * from Standard_Suite import *
...@@ -48,7 +45,6 @@ from Login_Items_Suite import * ...@@ -48,7 +45,6 @@ from Login_Items_Suite import *
from Power_Suite import * from Power_Suite import *
from Processes_Suite import * from Processes_Suite import *
from System_Events_Suite import * from System_Events_Suite import *
from Hidden_Suite import *
def getbaseclasses(v): def getbaseclasses(v):
if not getattr(v, '_propdict', None): if not getattr(v, '_propdict', None):
...@@ -67,219 +63,63 @@ import StdSuites ...@@ -67,219 +63,63 @@ import StdSuites
# #
# Set property and element dictionaries now that all classes have been defined # 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(character)
getbaseclasses(attachment) getbaseclasses(attachment)
getbaseclasses(paragraph) getbaseclasses(paragraph)
getbaseclasses(word) getbaseclasses(word)
getbaseclasses(attribute_run) getbaseclasses(attribute_run)
getbaseclasses(text) getbaseclasses(text)
getbaseclasses(color)
getbaseclasses(window)
getbaseclasses(application)
getbaseclasses(item)
getbaseclasses(document)
getbaseclasses(application)
getbaseclasses(login_item)
getbaseclasses(file) getbaseclasses(file)
getbaseclasses(alias) getbaseclasses(application)
getbaseclasses(item) getbaseclasses(item)
getbaseclasses(folder) getbaseclasses(folder)
getbaseclasses(disk) getbaseclasses(disk)
getbaseclasses(script) getbaseclasses(script)
getbaseclasses(application)
getbaseclasses(folder_action) getbaseclasses(folder_action)
getbaseclasses(StdSuites.Type_Names_Suite.double_integer) getbaseclasses(application)
getbaseclasses(StdSuites.Type_Names_Suite.version) getbaseclasses(application)
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(process) getbaseclasses(process)
getbaseclasses(table) getbaseclasses(application_process)
getbaseclasses(outline) getbaseclasses(desk_accessory_process)
getbaseclasses(UI_element)
getbaseclasses(value_indicator)
getbaseclasses(system_wide_UI_element)
getbaseclasses(button)
getbaseclasses(application) 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 # Indices of types declared in this module
# #
_classdeclarations = { _classdeclarations = {
'logi' : login_item,
'colr' : color,
'cwin' : window,
'capp' : application,
'cobj' : item,
'docu' : document,
'cha ' : character, 'cha ' : character,
'atts' : attachment, 'atts' : attachment,
'cpar' : paragraph, 'cpar' : paragraph,
'cwor' : word, 'cwor' : word,
'catr' : attribute_run, 'catr' : attribute_run,
'ctxt' : text, 'ctxt' : text,
'colr' : color,
'cwin' : window,
'capp' : application,
'cobj' : item,
'docu' : document,
'capp' : application,
'logi' : login_item,
'file' : file, 'file' : file,
'alis' : alias, 'capp' : application,
'cobj' : item, 'cobj' : item,
'cfol' : folder, 'cfol' : folder,
'cdis' : disk, 'cdis' : disk,
'scpt' : script, 'scpt' : script,
'capp' : application,
'foac' : folder_action, 'foac' : folder_action,
'comp' : StdSuites.Type_Names_Suite.double_integer, 'capp' : application,
'vers' : StdSuites.Type_Names_Suite.version, 'capp' : application,
'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,
'prcs' : process, 'prcs' : process,
'tabB' : table, 'pcap' : application_process,
'outl' : outline, 'pcda' : desk_accessory_process,
'uiel' : UI_element,
'vali' : value_indicator,
'sysw' : system_wide_UI_element,
'butT' : button,
'capp' : application, '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, ...@@ -291,9 +131,10 @@ class SystemEvents(Standard_Suite_Events,
Power_Suite_Events, Power_Suite_Events,
Processes_Suite_Events, Processes_Suite_Events,
System_Events_Suite_Events, System_Events_Suite_Events,
Hidden_Suite_Events,
aetools.TalkTo): aetools.TalkTo):
_signature = 'sevs' _signature = 'sevs'
_moduleName = 'SystemEvents' _moduleName = 'SystemEvents'
_elemdict = application._elemdict
_propdict = application._propdict
...@@ -337,18 +337,22 @@ class _Prop__3c_Inheritance_3e_(aetools.NProperty): ...@@ -337,18 +337,22 @@ class _Prop__3c_Inheritance_3e_(aetools.NProperty):
"""<Inheritance> - All of the properties of the superclass. """ """<Inheritance> - All of the properties of the superclass. """
which = 'c@#^' which = 'c@#^'
want = 'cobj' want = 'cobj'
_3c_Inheritance_3e_ = _Prop__3c_Inheritance_3e_()
class _Prop_frontmost(aetools.NProperty): class _Prop_frontmost(aetools.NProperty):
"""frontmost - Is this the frontmost (active) application? """ """frontmost - Is this the frontmost (active) application? """
which = 'pisf' which = 'pisf'
want = 'bool' want = 'bool'
frontmost = _Prop_frontmost()
class _Prop_name(aetools.NProperty): class _Prop_name(aetools.NProperty):
"""name - The name of the application. """ """name - The name of the application. """
which = 'pnam' which = 'pnam'
want = 'utxt' want = 'utxt'
name = _Prop_name()
class _Prop_version(aetools.NProperty): class _Prop_version(aetools.NProperty):
"""version - The version of the application. """ """version - The version of the application. """
which = 'vers' which = 'vers'
want = 'utxt' want = 'utxt'
version = _Prop_version()
# element 'cwin' as ['name', 'indx', 'rele', 'rang', 'test', 'ID '] # element 'cwin' as ['name', 'indx', 'rele', 'rang', 'test', 'ID ']
# element 'docu' as ['name', 'indx', 'rele', 'rang', 'test'] # element 'docu' as ['name', 'indx', 'rele', 'rang', 'test']
......
...@@ -68,10 +68,12 @@ class _Prop__3c_Inheritance_3e_(aetools.NProperty): ...@@ -68,10 +68,12 @@ class _Prop__3c_Inheritance_3e_(aetools.NProperty):
"""<Inheritance> - All of the properties of the superclass. """ """<Inheritance> - All of the properties of the superclass. """
which = 'c@#^' which = 'c@#^'
want = 'capp' want = 'capp'
_3c_Inheritance_3e_ = _Prop__3c_Inheritance_3e_()
class _Prop_properties(aetools.NProperty): class _Prop_properties(aetools.NProperty):
"""properties - every property of the Terminal program """ """properties - every property of the Terminal program """
which = 'pALL' which = 'pALL'
want = '****' want = '****'
properties = _Prop_properties()
# element 'cwin' as ['name', 'indx', 'rele', 'rang', 'test', 'ID '] # element 'cwin' as ['name', 'indx', 'rele', 'rang', 'test', 'ID ']
# element 'docu' as ['name', 'indx', 'rele', 'rang', 'test'] # element 'docu' as ['name', 'indx', 'rele', 'rang', 'test']
......
...@@ -48,14 +48,14 @@ getbaseclasses(window) ...@@ -48,14 +48,14 @@ getbaseclasses(window)
getbaseclasses(application) getbaseclasses(application)
getbaseclasses(item) getbaseclasses(item)
getbaseclasses(document) getbaseclasses(document)
getbaseclasses(window)
getbaseclasses(application)
getbaseclasses(character) getbaseclasses(character)
getbaseclasses(attachment) getbaseclasses(attachment)
getbaseclasses(paragraph) getbaseclasses(paragraph)
getbaseclasses(word) getbaseclasses(word)
getbaseclasses(attribute_run) getbaseclasses(attribute_run)
getbaseclasses(text) getbaseclasses(text)
getbaseclasses(window)
getbaseclasses(application)
# #
# Indices of types declared in this module # Indices of types declared in this module
...@@ -66,14 +66,14 @@ _classdeclarations = { ...@@ -66,14 +66,14 @@ _classdeclarations = {
'capp' : application, 'capp' : application,
'cobj' : item, 'cobj' : item,
'docu' : document, 'docu' : document,
'cwin' : window,
'capp' : application,
'cha ' : character, 'cha ' : character,
'atts' : attachment, 'atts' : attachment,
'cpar' : paragraph, 'cpar' : paragraph,
'cwor' : word, 'cwor' : word,
'catr' : attribute_run, 'catr' : attribute_run,
'ctxt' : text, 'ctxt' : text,
'cwin' : window,
'capp' : application,
} }
...@@ -85,3 +85,5 @@ class Terminal(Standard_Suite_Events, ...@@ -85,3 +85,5 @@ class Terminal(Standard_Suite_Events,
_moduleName = 'Terminal' _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