mirror of
https://github.com/python/cpython.git
synced 2025-08-10 03:49:18 +00:00
Re-gegernated with the new gensuitemodule.
This commit is contained in:
parent
c8882b10c4
commit
8475d0256a
38 changed files with 971 additions and 5389 deletions
|
@ -1,7 +1,7 @@
|
|||
"""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
|
||||
"""
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""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
|
||||
"""
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""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
|
||||
"""
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""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']
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
"""
|
||||
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(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(Access_Paths)
|
||||
getbaseclasses(Debugger_Windowing)
|
||||
getbaseclasses(Relative_Path)
|
||||
getbaseclasses(Environment_Variable)
|
||||
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,
|
||||
'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,
|
||||
'PATH' : Access_Paths,
|
||||
'DbWN' : Debugger_Windowing,
|
||||
'RlPt' : Relative_Path,
|
||||
'EnvV' : Environment_Variable,
|
||||
'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 """
|
||||
|
|
|
@ -67,27 +67,46 @@ import StdSuites
|
|||
#
|
||||
# Set property and element dictionaries now that all classes have been defined
|
||||
#
|
||||
getbaseclasses(icon_view_options)
|
||||
getbaseclasses(label)
|
||||
getbaseclasses(column)
|
||||
getbaseclasses(preferences)
|
||||
getbaseclasses(alias_list)
|
||||
getbaseclasses(icon_family)
|
||||
getbaseclasses(list_view_options)
|
||||
getbaseclasses(item)
|
||||
getbaseclasses(package)
|
||||
getbaseclasses(file)
|
||||
getbaseclasses(application_file)
|
||||
getbaseclasses(alias_file)
|
||||
getbaseclasses(internet_location_file)
|
||||
getbaseclasses(document_file)
|
||||
getbaseclasses(clipping)
|
||||
getbaseclasses(preferences_window)
|
||||
getbaseclasses(Finder_window)
|
||||
getbaseclasses(window)
|
||||
getbaseclasses(clipping_window)
|
||||
getbaseclasses(information_window)
|
||||
getbaseclasses(application)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.small_integer)
|
||||
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.string)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.type_element_info)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.machine_location)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.PostScript_picture)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.type_property_info)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.menu_item)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.scrap_styles)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.fixed_rectangle)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.null)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.type_event_info)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.rotation)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_rectangle)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.long_point)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.target_id)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.type_suite_info)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.type_parameter_info)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_point)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.bounding_rectangle)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.TIFF_picture)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.long_fixed)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.version)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.RGB16_color)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.double_integer)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.location_reference)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.point)
|
||||
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.small_real)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.fixed)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.type_class_info)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.RGB96_color)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.dash_style)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.pixel_map_record)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.extended_real)
|
||||
getbaseclasses(StdSuites.Type_Names_Suite.long_rectangle)
|
||||
getbaseclasses(process)
|
||||
getbaseclasses(application_process)
|
||||
getbaseclasses(desk_accessory_process)
|
||||
|
@ -97,72 +116,72 @@ getbaseclasses(desktop_2d_object)
|
|||
getbaseclasses(container)
|
||||
getbaseclasses(folder)
|
||||
getbaseclasses(disk)
|
||||
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(application)
|
||||
getbaseclasses(alias_file)
|
||||
getbaseclasses(package)
|
||||
getbaseclasses(file)
|
||||
getbaseclasses(application_file)
|
||||
getbaseclasses(internet_location_file)
|
||||
getbaseclasses(document_file)
|
||||
getbaseclasses(clipping)
|
||||
getbaseclasses(preferences_window)
|
||||
getbaseclasses(Finder_window)
|
||||
getbaseclasses(window)
|
||||
getbaseclasses(clipping_window)
|
||||
getbaseclasses(information_window)
|
||||
getbaseclasses(item)
|
||||
getbaseclasses(icon_view_options)
|
||||
getbaseclasses(preferences)
|
||||
getbaseclasses(alias_list)
|
||||
getbaseclasses(icon_family)
|
||||
getbaseclasses(label)
|
||||
getbaseclasses(column)
|
||||
getbaseclasses(list_view_options)
|
||||
|
||||
#
|
||||
# Indices of types declared in this module
|
||||
#
|
||||
_classdeclarations = {
|
||||
'icop' : icon_view_options,
|
||||
'clbl' : label,
|
||||
'lvcl' : column,
|
||||
'cprf' : preferences,
|
||||
'alst' : alias_list,
|
||||
'ifam' : icon_family,
|
||||
'lvop' : list_view_options,
|
||||
'cobj' : item,
|
||||
'pack' : package,
|
||||
'file' : file,
|
||||
'appf' : application_file,
|
||||
'alia' : alias_file,
|
||||
'inlf' : internet_location_file,
|
||||
'docf' : document_file,
|
||||
'clpf' : clipping,
|
||||
'pwnd' : preferences_window,
|
||||
'brow' : Finder_window,
|
||||
'cwin' : window,
|
||||
'lwnd' : clipping_window,
|
||||
'iwnd' : information_window,
|
||||
'capp' : application,
|
||||
'shor' : StdSuites.Type_Names_Suite.small_integer,
|
||||
'aeut' : StdSuites.Type_Names_Suite.system_dictionary,
|
||||
'clrt' : StdSuites.Type_Names_Suite.color_table,
|
||||
'fpnt' : StdSuites.Type_Names_Suite.fixed_point,
|
||||
'TEXT' : StdSuites.Type_Names_Suite.string,
|
||||
'elin' : StdSuites.Type_Names_Suite.type_element_info,
|
||||
'mLoc' : StdSuites.Type_Names_Suite.machine_location,
|
||||
'EPS ' : StdSuites.Type_Names_Suite.PostScript_picture,
|
||||
'pinf' : StdSuites.Type_Names_Suite.type_property_info,
|
||||
'cmen' : StdSuites.Type_Names_Suite.menu_item,
|
||||
'styl' : StdSuites.Type_Names_Suite.scrap_styles,
|
||||
'frct' : StdSuites.Type_Names_Suite.fixed_rectangle,
|
||||
'null' : StdSuites.Type_Names_Suite.null,
|
||||
'evin' : StdSuites.Type_Names_Suite.type_event_info,
|
||||
'trot' : StdSuites.Type_Names_Suite.rotation,
|
||||
'lfrc' : StdSuites.Type_Names_Suite.long_fixed_rectangle,
|
||||
'lpnt' : StdSuites.Type_Names_Suite.long_point,
|
||||
'targ' : StdSuites.Type_Names_Suite.target_id,
|
||||
'suin' : StdSuites.Type_Names_Suite.type_suite_info,
|
||||
'pmin' : StdSuites.Type_Names_Suite.type_parameter_info,
|
||||
'lfpt' : StdSuites.Type_Names_Suite.long_fixed_point,
|
||||
'qdrt' : StdSuites.Type_Names_Suite.bounding_rectangle,
|
||||
'TIFF' : StdSuites.Type_Names_Suite.TIFF_picture,
|
||||
'lfxd' : StdSuites.Type_Names_Suite.long_fixed,
|
||||
'vers' : StdSuites.Type_Names_Suite.version,
|
||||
'tr16' : StdSuites.Type_Names_Suite.RGB16_color,
|
||||
'comp' : StdSuites.Type_Names_Suite.double_integer,
|
||||
'insl' : StdSuites.Type_Names_Suite.location_reference,
|
||||
'QDpt' : StdSuites.Type_Names_Suite.point,
|
||||
'aete' : StdSuites.Type_Names_Suite.application_dictionary,
|
||||
'magn' : StdSuites.Type_Names_Suite.unsigned_integer,
|
||||
'cmnu' : StdSuites.Type_Names_Suite.menu,
|
||||
'sing' : StdSuites.Type_Names_Suite.small_real,
|
||||
'fixd' : StdSuites.Type_Names_Suite.fixed,
|
||||
'gcli' : StdSuites.Type_Names_Suite.type_class_info,
|
||||
'tr96' : StdSuites.Type_Names_Suite.RGB96_color,
|
||||
'tdas' : StdSuites.Type_Names_Suite.dash_style,
|
||||
'tpmm' : StdSuites.Type_Names_Suite.pixel_map_record,
|
||||
'exte' : StdSuites.Type_Names_Suite.extended_real,
|
||||
'lrct' : StdSuites.Type_Names_Suite.long_rectangle,
|
||||
'prcs' : process,
|
||||
'pcap' : application_process,
|
||||
'pcda' : desk_accessory_process,
|
||||
|
@ -172,46 +191,27 @@ _classdeclarations = {
|
|||
'ctnr' : container,
|
||||
'cfol' : folder,
|
||||
'cdis' : disk,
|
||||
'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,
|
||||
'capp' : application,
|
||||
'alia' : alias_file,
|
||||
'pack' : package,
|
||||
'file' : file,
|
||||
'appf' : application_file,
|
||||
'inlf' : internet_location_file,
|
||||
'docf' : document_file,
|
||||
'clpf' : clipping,
|
||||
'pwnd' : preferences_window,
|
||||
'brow' : Finder_window,
|
||||
'cwin' : window,
|
||||
'lwnd' : clipping_window,
|
||||
'iwnd' : information_window,
|
||||
'cobj' : item,
|
||||
'icop' : icon_view_options,
|
||||
'cprf' : preferences,
|
||||
'alst' : alias_list,
|
||||
'ifam' : icon_family,
|
||||
'clbl' : label,
|
||||
'lvcl' : column,
|
||||
'lvop' : list_view_options,
|
||||
}
|
||||
|
||||
|
||||
|
@ -229,3 +229,5 @@ class Finder(Standard_Suite_Events,
|
|||
|
||||
_moduleName = 'Finder'
|
||||
|
||||
_elemdict = application._elemdict
|
||||
_propdict = application._propdict
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""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
|
||||
"""
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""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
|
||||
"""
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""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
|
||||
"""
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""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
|
||||
"""
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""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
|
||||
"""
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""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
|
||||
"""
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
"""
|
||||
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(StdSuites.Text_Suite.character)
|
||||
getbaseclasses(StdSuites.Text_Suite.text_style_info)
|
||||
getbaseclasses(StdSuites.Text_Suite.line)
|
||||
getbaseclasses(StdSuites.Text_Suite.word)
|
||||
getbaseclasses(StdSuites.Text_Suite.paragraph)
|
||||
getbaseclasses(StdSuites.Text_Suite.text)
|
||||
getbaseclasses(text)
|
||||
getbaseclasses(styleset)
|
||||
getbaseclasses(StdSuites.Text_Suite.character)
|
||||
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(window)
|
||||
getbaseclasses(application)
|
||||
|
||||
#
|
||||
# Indices of types declared in this module
|
||||
#
|
||||
_classdeclarations = {
|
||||
'cwin' : window,
|
||||
'capp' : application,
|
||||
'cflo' : StdSuites.Text_Suite.text_flow,
|
||||
'cha ' : StdSuites.Text_Suite.character,
|
||||
'tsty' : StdSuites.Text_Suite.text_style_info,
|
||||
'clin' : StdSuites.Text_Suite.line,
|
||||
'cwor' : StdSuites.Text_Suite.word,
|
||||
'cpar' : StdSuites.Text_Suite.paragraph,
|
||||
'ctxt' : StdSuites.Text_Suite.text,
|
||||
'ctxt' : text,
|
||||
'stys' : styleset,
|
||||
'cha ' : StdSuites.Text_Suite.character,
|
||||
'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,
|
||||
'cwin' : window,
|
||||
'capp' : application,
|
||||
}
|
||||
|
||||
|
||||
|
@ -101,3 +101,5 @@ class Netscape(Standard_Suite_Events,
|
|||
|
||||
_moduleName = 'Netscape'
|
||||
|
||||
_elemdict = application._elemdict
|
||||
_propdict = application._propdict
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""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,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""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
|
||||
"""
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""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
|
||||
"""
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""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
|
||||
"""
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""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
|
||||
"""
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""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,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""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
|
||||
"""
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""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,
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""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
|
||||
"""
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
"""
|
||||
Package generated from /Volumes/Moes/Systeemmap/Extensies/AppleScript
|
||||
Package generated from /Volumes/Sap/System Folder/Extensions/AppleScript
|
||||
Resource aeut resid 0 Standard Event Suites for English
|
||||
"""
|
||||
import aetools
|
||||
|
@ -68,184 +68,33 @@ import StdSuites
|
|||
#
|
||||
# Set property and element dictionaries now that all classes have been defined
|
||||
#
|
||||
getbaseclasses(July)
|
||||
getbaseclasses(May)
|
||||
getbaseclasses(string)
|
||||
getbaseclasses(cubic_metres)
|
||||
getbaseclasses(styled_text)
|
||||
getbaseclasses(number_2c__date_or_text)
|
||||
getbaseclasses(feet)
|
||||
getbaseclasses(February)
|
||||
getbaseclasses(number)
|
||||
getbaseclasses(miles)
|
||||
getbaseclasses(keystroke)
|
||||
getbaseclasses(writing_code)
|
||||
getbaseclasses(degrees_Fahrenheit)
|
||||
getbaseclasses(list_2c__record_or_text)
|
||||
getbaseclasses(date)
|
||||
getbaseclasses(litres)
|
||||
getbaseclasses(number_or_date)
|
||||
getbaseclasses(centimetres)
|
||||
getbaseclasses(event)
|
||||
getbaseclasses(Pascal_string)
|
||||
getbaseclasses(zone)
|
||||
getbaseclasses(picture)
|
||||
getbaseclasses(list_or_string)
|
||||
getbaseclasses(integer)
|
||||
getbaseclasses(alias_or_string)
|
||||
getbaseclasses(writing_code_info)
|
||||
getbaseclasses(text_item)
|
||||
getbaseclasses(machine)
|
||||
getbaseclasses(type_class)
|
||||
getbaseclasses(preposition)
|
||||
getbaseclasses(Tuesday)
|
||||
getbaseclasses(upper_case)
|
||||
getbaseclasses(version)
|
||||
getbaseclasses(Wednesday)
|
||||
getbaseclasses(December)
|
||||
getbaseclasses(square_kilometres)
|
||||
getbaseclasses(reference)
|
||||
getbaseclasses(vector)
|
||||
getbaseclasses(weekday)
|
||||
getbaseclasses(RGB_color)
|
||||
getbaseclasses(Sunday)
|
||||
getbaseclasses(international_text)
|
||||
getbaseclasses(seconds)
|
||||
getbaseclasses(March)
|
||||
getbaseclasses(kilometres)
|
||||
getbaseclasses(square_feet)
|
||||
getbaseclasses(list)
|
||||
getbaseclasses(real)
|
||||
getbaseclasses(November)
|
||||
getbaseclasses(quarts)
|
||||
getbaseclasses(degrees_Celsius)
|
||||
getbaseclasses(missing_value)
|
||||
getbaseclasses(alias)
|
||||
getbaseclasses(January)
|
||||
getbaseclasses(metres)
|
||||
getbaseclasses(month)
|
||||
getbaseclasses(number_or_string)
|
||||
getbaseclasses(June)
|
||||
getbaseclasses(August)
|
||||
getbaseclasses(linked_list)
|
||||
getbaseclasses(styled_Clipboard_text)
|
||||
getbaseclasses(encoded_string)
|
||||
getbaseclasses(gallons)
|
||||
getbaseclasses(cubic_inches)
|
||||
getbaseclasses(Friday)
|
||||
getbaseclasses(styled_Unicode_text)
|
||||
getbaseclasses(list_or_record)
|
||||
getbaseclasses(degrees_Kelvin)
|
||||
getbaseclasses(Monday)
|
||||
getbaseclasses(sound)
|
||||
getbaseclasses(class_)
|
||||
getbaseclasses(kilograms)
|
||||
getbaseclasses(script)
|
||||
getbaseclasses(anything)
|
||||
getbaseclasses(property)
|
||||
getbaseclasses(record)
|
||||
getbaseclasses(boolean)
|
||||
getbaseclasses(October)
|
||||
getbaseclasses(square_metres)
|
||||
getbaseclasses(inches)
|
||||
getbaseclasses(reference_form)
|
||||
getbaseclasses(item)
|
||||
getbaseclasses(grams)
|
||||
getbaseclasses(character)
|
||||
getbaseclasses(April)
|
||||
getbaseclasses(empty_ae_name_)
|
||||
getbaseclasses(app)
|
||||
getbaseclasses(constant)
|
||||
getbaseclasses(handler)
|
||||
getbaseclasses(square_miles)
|
||||
getbaseclasses(data)
|
||||
getbaseclasses(C_string)
|
||||
getbaseclasses(Unicode_text)
|
||||
getbaseclasses(Thursday)
|
||||
getbaseclasses(square_yards)
|
||||
getbaseclasses(yards)
|
||||
getbaseclasses(cubic_yards)
|
||||
getbaseclasses(ounces)
|
||||
getbaseclasses(pounds)
|
||||
getbaseclasses(cubic_feet)
|
||||
getbaseclasses(cubic_centimetres)
|
||||
getbaseclasses(Saturday)
|
||||
getbaseclasses(September)
|
||||
getbaseclasses(file_specification)
|
||||
getbaseclasses(text)
|
||||
getbaseclasses(window)
|
||||
getbaseclasses(file)
|
||||
getbaseclasses(selection_2d_object)
|
||||
getbaseclasses(alias)
|
||||
getbaseclasses(application)
|
||||
getbaseclasses(insertion_point)
|
||||
getbaseclasses(document)
|
||||
getbaseclasses(small_integer)
|
||||
getbaseclasses(RGB16_color)
|
||||
getbaseclasses(version)
|
||||
getbaseclasses(system_dictionary)
|
||||
getbaseclasses(color_table)
|
||||
getbaseclasses(fixed_point)
|
||||
getbaseclasses(plain_text)
|
||||
getbaseclasses(type_element_info)
|
||||
getbaseclasses(location_reference)
|
||||
getbaseclasses(machine_location)
|
||||
getbaseclasses(PostScript_picture)
|
||||
getbaseclasses(point)
|
||||
getbaseclasses(menu_item)
|
||||
getbaseclasses(pixel_map_record)
|
||||
getbaseclasses(application_dictionary)
|
||||
getbaseclasses(unsigned_integer)
|
||||
getbaseclasses(menu)
|
||||
getbaseclasses(fixed_rectangle)
|
||||
getbaseclasses(long_fixed_rectangle)
|
||||
getbaseclasses(type_event_info)
|
||||
getbaseclasses(small_real)
|
||||
getbaseclasses(type_suite_info)
|
||||
getbaseclasses(rotation)
|
||||
getbaseclasses(type_parameter_info)
|
||||
getbaseclasses(fixed)
|
||||
getbaseclasses(scrap_styles)
|
||||
getbaseclasses(long_point)
|
||||
getbaseclasses(type_class_info)
|
||||
getbaseclasses(TIFF_picture)
|
||||
getbaseclasses(RGB96_color)
|
||||
getbaseclasses(dash_style)
|
||||
getbaseclasses(extended_real)
|
||||
getbaseclasses(type_property_info)
|
||||
getbaseclasses(long_fixed_point)
|
||||
getbaseclasses(long_rectangle)
|
||||
getbaseclasses(bounding_rectangle)
|
||||
getbaseclasses(double_integer)
|
||||
getbaseclasses(long_fixed)
|
||||
getbaseclasses(null)
|
||||
getbaseclasses(target_id)
|
||||
getbaseclasses(graphic_group)
|
||||
getbaseclasses(oval)
|
||||
getbaseclasses(graphic_text)
|
||||
getbaseclasses(graphic_shape)
|
||||
getbaseclasses(graphic_line)
|
||||
getbaseclasses(graphic_object)
|
||||
getbaseclasses(drawing_area)
|
||||
getbaseclasses(graphic_line)
|
||||
getbaseclasses(polygon)
|
||||
getbaseclasses(pixel)
|
||||
getbaseclasses(rounded_rectangle)
|
||||
getbaseclasses(graphic_object)
|
||||
getbaseclasses(arc)
|
||||
getbaseclasses(pixel_map)
|
||||
getbaseclasses(rectangle)
|
||||
getbaseclasses(paragraph)
|
||||
getbaseclasses(selection_2d_object)
|
||||
getbaseclasses(application)
|
||||
getbaseclasses(document)
|
||||
getbaseclasses(window)
|
||||
getbaseclasses(file)
|
||||
getbaseclasses(alias)
|
||||
getbaseclasses(insertion_point)
|
||||
getbaseclasses(character)
|
||||
getbaseclasses(paragraph)
|
||||
getbaseclasses(word)
|
||||
getbaseclasses(text_flow)
|
||||
getbaseclasses(text_style_info)
|
||||
getbaseclasses(line)
|
||||
getbaseclasses(word)
|
||||
getbaseclasses(text)
|
||||
getbaseclasses(graphic_group)
|
||||
getbaseclasses(drawing_area)
|
||||
getbaseclasses(cell)
|
||||
getbaseclasses(column)
|
||||
getbaseclasses(table)
|
||||
getbaseclasses(row)
|
||||
getbaseclasses(AppleTalk_address)
|
||||
getbaseclasses(address_specification)
|
||||
getbaseclasses(Token_Ring_address)
|
||||
|
@ -258,189 +107,189 @@ getbaseclasses(device_specification)
|
|||
getbaseclasses(LocalTalk_address)
|
||||
getbaseclasses(IP_address)
|
||||
getbaseclasses(Ethernet_address)
|
||||
getbaseclasses(graphic_group)
|
||||
getbaseclasses(drawing_area)
|
||||
getbaseclasses(cell)
|
||||
getbaseclasses(column)
|
||||
getbaseclasses(table)
|
||||
getbaseclasses(row)
|
||||
getbaseclasses(small_integer)
|
||||
getbaseclasses(system_dictionary)
|
||||
getbaseclasses(color_table)
|
||||
getbaseclasses(fixed_point)
|
||||
getbaseclasses(plain_text)
|
||||
getbaseclasses(type_element_info)
|
||||
getbaseclasses(machine_location)
|
||||
getbaseclasses(PostScript_picture)
|
||||
getbaseclasses(type_suite_info)
|
||||
getbaseclasses(menu_item)
|
||||
getbaseclasses(pixel_map_record)
|
||||
getbaseclasses(small_real)
|
||||
getbaseclasses(null)
|
||||
getbaseclasses(rotation)
|
||||
getbaseclasses(fixed)
|
||||
getbaseclasses(long_point)
|
||||
getbaseclasses(target_id)
|
||||
getbaseclasses(type_property_info)
|
||||
getbaseclasses(type_parameter_info)
|
||||
getbaseclasses(long_fixed_point)
|
||||
getbaseclasses(bounding_rectangle)
|
||||
getbaseclasses(TIFF_picture)
|
||||
getbaseclasses(long_fixed)
|
||||
getbaseclasses(location_reference)
|
||||
getbaseclasses(version)
|
||||
getbaseclasses(RGB16_color)
|
||||
getbaseclasses(double_integer)
|
||||
getbaseclasses(type_event_info)
|
||||
getbaseclasses(point)
|
||||
getbaseclasses(application_dictionary)
|
||||
getbaseclasses(unsigned_integer)
|
||||
getbaseclasses(menu)
|
||||
getbaseclasses(fixed_rectangle)
|
||||
getbaseclasses(long_fixed_rectangle)
|
||||
getbaseclasses(type_class_info)
|
||||
getbaseclasses(RGB96_color)
|
||||
getbaseclasses(dash_style)
|
||||
getbaseclasses(scrap_styles)
|
||||
getbaseclasses(extended_real)
|
||||
getbaseclasses(long_rectangle)
|
||||
getbaseclasses(May)
|
||||
getbaseclasses(string)
|
||||
getbaseclasses(miles)
|
||||
getbaseclasses(number_or_date)
|
||||
getbaseclasses(October)
|
||||
getbaseclasses(event)
|
||||
getbaseclasses(Pascal_string)
|
||||
getbaseclasses(zone)
|
||||
getbaseclasses(picture)
|
||||
getbaseclasses(list_or_string)
|
||||
getbaseclasses(number)
|
||||
getbaseclasses(Tuesday)
|
||||
getbaseclasses(version)
|
||||
getbaseclasses(December)
|
||||
getbaseclasses(square_kilometres)
|
||||
getbaseclasses(reference)
|
||||
getbaseclasses(vector)
|
||||
getbaseclasses(weekday)
|
||||
getbaseclasses(Sunday)
|
||||
getbaseclasses(international_text)
|
||||
getbaseclasses(seconds)
|
||||
getbaseclasses(RGB_color)
|
||||
getbaseclasses(kilometres)
|
||||
getbaseclasses(styled_Unicode_text)
|
||||
getbaseclasses(missing_value)
|
||||
getbaseclasses(metres)
|
||||
getbaseclasses(number_or_string)
|
||||
getbaseclasses(list)
|
||||
getbaseclasses(linked_list)
|
||||
getbaseclasses(real)
|
||||
getbaseclasses(encoded_string)
|
||||
getbaseclasses(list_or_record)
|
||||
getbaseclasses(Monday)
|
||||
getbaseclasses(September)
|
||||
getbaseclasses(anything)
|
||||
getbaseclasses(property)
|
||||
getbaseclasses(reference_form)
|
||||
getbaseclasses(item)
|
||||
getbaseclasses(grams)
|
||||
getbaseclasses(record)
|
||||
getbaseclasses(empty_ae_name_)
|
||||
getbaseclasses(constant)
|
||||
getbaseclasses(square_miles)
|
||||
getbaseclasses(data)
|
||||
getbaseclasses(Unicode_text)
|
||||
getbaseclasses(yards)
|
||||
getbaseclasses(cubic_yards)
|
||||
getbaseclasses(pounds)
|
||||
getbaseclasses(cubic_centimetres)
|
||||
getbaseclasses(text)
|
||||
getbaseclasses(July)
|
||||
getbaseclasses(cubic_metres)
|
||||
getbaseclasses(styled_text)
|
||||
getbaseclasses(number_2c__date_or_text)
|
||||
getbaseclasses(feet)
|
||||
getbaseclasses(February)
|
||||
getbaseclasses(degrees_Celsius)
|
||||
getbaseclasses(keystroke)
|
||||
getbaseclasses(integer)
|
||||
getbaseclasses(degrees_Fahrenheit)
|
||||
getbaseclasses(list_2c__record_or_text)
|
||||
getbaseclasses(date)
|
||||
getbaseclasses(degrees_Kelvin)
|
||||
getbaseclasses(centimetres)
|
||||
getbaseclasses(writing_code)
|
||||
getbaseclasses(alias_or_string)
|
||||
getbaseclasses(writing_code_info)
|
||||
getbaseclasses(text_item)
|
||||
getbaseclasses(machine)
|
||||
getbaseclasses(type_class)
|
||||
getbaseclasses(preposition)
|
||||
getbaseclasses(Wednesday)
|
||||
getbaseclasses(upper_case)
|
||||
getbaseclasses(March)
|
||||
getbaseclasses(square_feet)
|
||||
getbaseclasses(November)
|
||||
getbaseclasses(quarts)
|
||||
getbaseclasses(alias)
|
||||
getbaseclasses(January)
|
||||
getbaseclasses(month)
|
||||
getbaseclasses(June)
|
||||
getbaseclasses(August)
|
||||
getbaseclasses(styled_Clipboard_text)
|
||||
getbaseclasses(gallons)
|
||||
getbaseclasses(cubic_inches)
|
||||
getbaseclasses(Friday)
|
||||
getbaseclasses(sound)
|
||||
getbaseclasses(class_)
|
||||
getbaseclasses(kilograms)
|
||||
getbaseclasses(script)
|
||||
getbaseclasses(litres)
|
||||
getbaseclasses(boolean)
|
||||
getbaseclasses(square_metres)
|
||||
getbaseclasses(inches)
|
||||
getbaseclasses(character)
|
||||
getbaseclasses(April)
|
||||
getbaseclasses(ounces)
|
||||
getbaseclasses(app)
|
||||
getbaseclasses(handler)
|
||||
getbaseclasses(C_string)
|
||||
getbaseclasses(Thursday)
|
||||
getbaseclasses(square_yards)
|
||||
getbaseclasses(cubic_feet)
|
||||
getbaseclasses(Saturday)
|
||||
getbaseclasses(file_specification)
|
||||
|
||||
#
|
||||
# Indices of types declared in this module
|
||||
#
|
||||
_classdeclarations = {
|
||||
'jul ' : July,
|
||||
'may ' : May,
|
||||
'TEXT' : string,
|
||||
'cmet' : cubic_metres,
|
||||
'STXT' : styled_text,
|
||||
'nds ' : number_2c__date_or_text,
|
||||
'feet' : feet,
|
||||
'feb ' : February,
|
||||
'nmbr' : number,
|
||||
'mile' : miles,
|
||||
'kprs' : keystroke,
|
||||
'psct' : writing_code,
|
||||
'degf' : degrees_Fahrenheit,
|
||||
'lrs ' : list_2c__record_or_text,
|
||||
'ldt ' : date,
|
||||
'litr' : litres,
|
||||
'nd ' : number_or_date,
|
||||
'cmtr' : centimetres,
|
||||
'evnt' : event,
|
||||
'pstr' : Pascal_string,
|
||||
'zone' : zone,
|
||||
'PICT' : picture,
|
||||
'ls ' : list_or_string,
|
||||
'long' : integer,
|
||||
'sf ' : alias_or_string,
|
||||
'citl' : writing_code_info,
|
||||
'citm' : text_item,
|
||||
'mach' : machine,
|
||||
'type' : type_class,
|
||||
'prep' : preposition,
|
||||
'tue ' : Tuesday,
|
||||
'case' : upper_case,
|
||||
'vers' : version,
|
||||
'wed ' : Wednesday,
|
||||
'dec ' : December,
|
||||
'sqkm' : square_kilometres,
|
||||
'obj ' : reference,
|
||||
'vect' : vector,
|
||||
'wkdy' : weekday,
|
||||
'cRGB' : RGB_color,
|
||||
'sun ' : Sunday,
|
||||
'itxt' : international_text,
|
||||
'scnd' : seconds,
|
||||
'mar ' : March,
|
||||
'kmtr' : kilometres,
|
||||
'sqft' : square_feet,
|
||||
'list' : list,
|
||||
'doub' : real,
|
||||
'nov ' : November,
|
||||
'qrts' : quarts,
|
||||
'degc' : degrees_Celsius,
|
||||
'msng' : missing_value,
|
||||
'alis' : alias,
|
||||
'jan ' : January,
|
||||
'metr' : metres,
|
||||
'mnth' : month,
|
||||
'ns ' : number_or_string,
|
||||
'jun ' : June,
|
||||
'aug ' : August,
|
||||
'llst' : linked_list,
|
||||
'styl' : styled_Clipboard_text,
|
||||
'encs' : encoded_string,
|
||||
'galn' : gallons,
|
||||
'cuin' : cubic_inches,
|
||||
'fri ' : Friday,
|
||||
'sutx' : styled_Unicode_text,
|
||||
'lr ' : list_or_record,
|
||||
'degk' : degrees_Kelvin,
|
||||
'mon ' : Monday,
|
||||
'snd ' : sound,
|
||||
'pcls' : class_,
|
||||
'kgrm' : kilograms,
|
||||
'scpt' : script,
|
||||
'****' : anything,
|
||||
'prop' : property,
|
||||
'reco' : record,
|
||||
'bool' : boolean,
|
||||
'oct ' : October,
|
||||
'sqrm' : square_metres,
|
||||
'inch' : inches,
|
||||
'kfrm' : reference_form,
|
||||
'cobj' : item,
|
||||
'gram' : grams,
|
||||
'cha ' : character,
|
||||
'apr ' : April,
|
||||
'undf' : empty_ae_name_,
|
||||
'capp' : app,
|
||||
'enum' : constant,
|
||||
'hand' : handler,
|
||||
'sqmi' : square_miles,
|
||||
'rdat' : data,
|
||||
'cstr' : C_string,
|
||||
'utxt' : Unicode_text,
|
||||
'thu ' : Thursday,
|
||||
'sqyd' : square_yards,
|
||||
'yard' : yards,
|
||||
'cyrd' : cubic_yards,
|
||||
'ozs ' : ounces,
|
||||
'lbs ' : pounds,
|
||||
'cfet' : cubic_feet,
|
||||
'ccmt' : cubic_centimetres,
|
||||
'sat ' : Saturday,
|
||||
'sep ' : September,
|
||||
'fss ' : file_specification,
|
||||
'ctxt' : text,
|
||||
'cwin' : window,
|
||||
'file' : file,
|
||||
'csel' : selection_2d_object,
|
||||
'alis' : alias,
|
||||
'capp' : application,
|
||||
'cins' : insertion_point,
|
||||
'docu' : document,
|
||||
'shor' : small_integer,
|
||||
'tr16' : RGB16_color,
|
||||
'vers' : version,
|
||||
'aeut' : system_dictionary,
|
||||
'clrt' : color_table,
|
||||
'fpnt' : fixed_point,
|
||||
'TEXT' : plain_text,
|
||||
'elin' : type_element_info,
|
||||
'insl' : location_reference,
|
||||
'mLoc' : machine_location,
|
||||
'EPS ' : PostScript_picture,
|
||||
'QDpt' : point,
|
||||
'cmen' : menu_item,
|
||||
'tpmm' : pixel_map_record,
|
||||
'aete' : application_dictionary,
|
||||
'magn' : unsigned_integer,
|
||||
'cmnu' : menu,
|
||||
'frct' : fixed_rectangle,
|
||||
'lfrc' : long_fixed_rectangle,
|
||||
'evin' : type_event_info,
|
||||
'sing' : small_real,
|
||||
'suin' : type_suite_info,
|
||||
'trot' : rotation,
|
||||
'pmin' : type_parameter_info,
|
||||
'fixd' : fixed,
|
||||
'styl' : scrap_styles,
|
||||
'lpnt' : long_point,
|
||||
'gcli' : type_class_info,
|
||||
'TIFF' : TIFF_picture,
|
||||
'tr96' : RGB96_color,
|
||||
'tdas' : dash_style,
|
||||
'exte' : extended_real,
|
||||
'pinf' : type_property_info,
|
||||
'lfpt' : long_fixed_point,
|
||||
'lrct' : long_rectangle,
|
||||
'qdrt' : bounding_rectangle,
|
||||
'comp' : double_integer,
|
||||
'lfxd' : long_fixed,
|
||||
'null' : null,
|
||||
'targ' : target_id,
|
||||
'cpic' : graphic_group,
|
||||
'covl' : oval,
|
||||
'cgtx' : graphic_text,
|
||||
'cgsh' : graphic_shape,
|
||||
'glin' : graphic_line,
|
||||
'cgob' : graphic_object,
|
||||
'cdrw' : drawing_area,
|
||||
'glin' : graphic_line,
|
||||
'cpgn' : polygon,
|
||||
'cpxl' : pixel,
|
||||
'crrc' : rounded_rectangle,
|
||||
'cgob' : graphic_object,
|
||||
'carc' : arc,
|
||||
'cpix' : pixel_map,
|
||||
'crec' : rectangle,
|
||||
'cpar' : paragraph,
|
||||
'csel' : selection_2d_object,
|
||||
'capp' : application,
|
||||
'docu' : document,
|
||||
'cwin' : window,
|
||||
'file' : file,
|
||||
'alis' : alias,
|
||||
'cins' : insertion_point,
|
||||
'cha ' : character,
|
||||
'cpar' : paragraph,
|
||||
'cwor' : word,
|
||||
'cflo' : text_flow,
|
||||
'tsty' : text_style_info,
|
||||
'clin' : line,
|
||||
'cwor' : word,
|
||||
'ctxt' : text,
|
||||
'cpic' : graphic_group,
|
||||
'cdrw' : drawing_area,
|
||||
'ccel' : cell,
|
||||
'ccol' : column,
|
||||
'ctbl' : table,
|
||||
'crow' : row,
|
||||
'cat ' : AppleTalk_address,
|
||||
'cadr' : address_specification,
|
||||
'ctok' : Token_Ring_address,
|
||||
|
@ -453,6 +302,157 @@ _classdeclarations = {
|
|||
'clt ' : LocalTalk_address,
|
||||
'cip ' : IP_address,
|
||||
'cen ' : Ethernet_address,
|
||||
'cpic' : graphic_group,
|
||||
'cdrw' : drawing_area,
|
||||
'ccel' : cell,
|
||||
'ccol' : column,
|
||||
'ctbl' : table,
|
||||
'crow' : row,
|
||||
'shor' : small_integer,
|
||||
'aeut' : system_dictionary,
|
||||
'clrt' : color_table,
|
||||
'fpnt' : fixed_point,
|
||||
'TEXT' : plain_text,
|
||||
'elin' : type_element_info,
|
||||
'mLoc' : machine_location,
|
||||
'EPS ' : PostScript_picture,
|
||||
'suin' : type_suite_info,
|
||||
'cmen' : menu_item,
|
||||
'tpmm' : pixel_map_record,
|
||||
'sing' : small_real,
|
||||
'null' : null,
|
||||
'trot' : rotation,
|
||||
'fixd' : fixed,
|
||||
'lpnt' : long_point,
|
||||
'targ' : target_id,
|
||||
'pinf' : type_property_info,
|
||||
'pmin' : type_parameter_info,
|
||||
'lfpt' : long_fixed_point,
|
||||
'qdrt' : bounding_rectangle,
|
||||
'TIFF' : TIFF_picture,
|
||||
'lfxd' : long_fixed,
|
||||
'insl' : location_reference,
|
||||
'vers' : version,
|
||||
'tr16' : RGB16_color,
|
||||
'comp' : double_integer,
|
||||
'evin' : type_event_info,
|
||||
'QDpt' : point,
|
||||
'aete' : application_dictionary,
|
||||
'magn' : unsigned_integer,
|
||||
'cmnu' : menu,
|
||||
'frct' : fixed_rectangle,
|
||||
'lfrc' : long_fixed_rectangle,
|
||||
'gcli' : type_class_info,
|
||||
'tr96' : RGB96_color,
|
||||
'tdas' : dash_style,
|
||||
'styl' : scrap_styles,
|
||||
'exte' : extended_real,
|
||||
'lrct' : long_rectangle,
|
||||
'may ' : May,
|
||||
'TEXT' : string,
|
||||
'mile' : miles,
|
||||
'nd ' : number_or_date,
|
||||
'oct ' : October,
|
||||
'evnt' : event,
|
||||
'pstr' : Pascal_string,
|
||||
'zone' : zone,
|
||||
'PICT' : picture,
|
||||
'ls ' : list_or_string,
|
||||
'nmbr' : number,
|
||||
'tue ' : Tuesday,
|
||||
'vers' : version,
|
||||
'dec ' : December,
|
||||
'sqkm' : square_kilometres,
|
||||
'obj ' : reference,
|
||||
'vect' : vector,
|
||||
'wkdy' : weekday,
|
||||
'sun ' : Sunday,
|
||||
'itxt' : international_text,
|
||||
'scnd' : seconds,
|
||||
'cRGB' : RGB_color,
|
||||
'kmtr' : kilometres,
|
||||
'sutx' : styled_Unicode_text,
|
||||
'msng' : missing_value,
|
||||
'metr' : metres,
|
||||
'ns ' : number_or_string,
|
||||
'list' : list,
|
||||
'llst' : linked_list,
|
||||
'doub' : real,
|
||||
'encs' : encoded_string,
|
||||
'lr ' : list_or_record,
|
||||
'mon ' : Monday,
|
||||
'sep ' : September,
|
||||
'****' : anything,
|
||||
'prop' : property,
|
||||
'kfrm' : reference_form,
|
||||
'cobj' : item,
|
||||
'gram' : grams,
|
||||
'reco' : record,
|
||||
'undf' : empty_ae_name_,
|
||||
'enum' : constant,
|
||||
'sqmi' : square_miles,
|
||||
'rdat' : data,
|
||||
'utxt' : Unicode_text,
|
||||
'yard' : yards,
|
||||
'cyrd' : cubic_yards,
|
||||
'lbs ' : pounds,
|
||||
'ccmt' : cubic_centimetres,
|
||||
'ctxt' : text,
|
||||
'jul ' : July,
|
||||
'cmet' : cubic_metres,
|
||||
'STXT' : styled_text,
|
||||
'nds ' : number_2c__date_or_text,
|
||||
'feet' : feet,
|
||||
'feb ' : February,
|
||||
'degc' : degrees_Celsius,
|
||||
'kprs' : keystroke,
|
||||
'long' : integer,
|
||||
'degf' : degrees_Fahrenheit,
|
||||
'lrs ' : list_2c__record_or_text,
|
||||
'ldt ' : date,
|
||||
'degk' : degrees_Kelvin,
|
||||
'cmtr' : centimetres,
|
||||
'psct' : writing_code,
|
||||
'sf ' : alias_or_string,
|
||||
'citl' : writing_code_info,
|
||||
'citm' : text_item,
|
||||
'mach' : machine,
|
||||
'type' : type_class,
|
||||
'prep' : preposition,
|
||||
'wed ' : Wednesday,
|
||||
'case' : upper_case,
|
||||
'mar ' : March,
|
||||
'sqft' : square_feet,
|
||||
'nov ' : November,
|
||||
'qrts' : quarts,
|
||||
'alis' : alias,
|
||||
'jan ' : January,
|
||||
'mnth' : month,
|
||||
'jun ' : June,
|
||||
'aug ' : August,
|
||||
'styl' : styled_Clipboard_text,
|
||||
'galn' : gallons,
|
||||
'cuin' : cubic_inches,
|
||||
'fri ' : Friday,
|
||||
'snd ' : sound,
|
||||
'pcls' : class_,
|
||||
'kgrm' : kilograms,
|
||||
'scpt' : script,
|
||||
'litr' : litres,
|
||||
'bool' : boolean,
|
||||
'sqrm' : square_metres,
|
||||
'inch' : inches,
|
||||
'cha ' : character,
|
||||
'apr ' : April,
|
||||
'ozs ' : ounces,
|
||||
'capp' : app,
|
||||
'hand' : handler,
|
||||
'cstr' : C_string,
|
||||
'thu ' : Thursday,
|
||||
'sqyd' : square_yards,
|
||||
'cfet' : cubic_feet,
|
||||
'sat ' : Saturday,
|
||||
'fss ' : file_specification,
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -39,31 +39,45 @@ class Disk_Folder_File_Suite_Events:
|
|||
return _arguments['----']
|
||||
|
||||
|
||||
class alias(aetools.ComponentItem):
|
||||
"""alias - An alias in the file system """
|
||||
want = 'alis'
|
||||
class application(aetools.ComponentItem):
|
||||
"""application - The Disk-Folder-File Suite host program """
|
||||
want = 'capp'
|
||||
class _Prop__3c_Inheritance_3e_(aetools.NProperty):
|
||||
"""<Inheritance> - All of the properties of the superclass. """
|
||||
which = 'c@#^'
|
||||
want = 'cobj'
|
||||
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 alias """
|
||||
"""properties - every property of the Disk-Folder-File Suite host program """
|
||||
which = 'pALL'
|
||||
want = '****'
|
||||
class _Prop_version(aetools.NProperty):
|
||||
"""version - the version of the application bundle referenced by the alias (visible at the bottom of the "Get Info" window) """
|
||||
which = 'vers'
|
||||
want = 'utxt'
|
||||
# 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', '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']
|
||||
|
||||
aliases = alias
|
||||
applications = application
|
||||
|
||||
class disk(aetools.ComponentItem):
|
||||
"""disk - A disk in the file system """
|
||||
want = 'cdis'
|
||||
class _Prop_POSIX_path(aetools.NProperty):
|
||||
"""POSIX path - the POSIX file system path of the disk """
|
||||
which = 'posx'
|
||||
want = 'utxt'
|
||||
class _Prop_capacity(aetools.NProperty):
|
||||
"""capacity - the total number of bytes (free or used) on the disk """
|
||||
which = 'capa'
|
||||
|
@ -85,14 +99,25 @@ class _Prop_ignore_privileges(aetools.NProperty):
|
|||
which = 'igpr'
|
||||
want = 'bool'
|
||||
class _Prop_local_volume(aetools.NProperty):
|
||||
"""local volume - Is the media a local volume (as opposed to a file server)? """
|
||||
"""local volume - Is the media a local volume (as opposed to a file server? """
|
||||
which = 'isrv'
|
||||
want = 'bool'
|
||||
class _Prop_name(aetools.NProperty):
|
||||
"""name - the name of the disk """
|
||||
which = 'pnam'
|
||||
want = 'utxt'
|
||||
class _Prop_path(aetools.NProperty):
|
||||
"""path - the file system path of the disk """
|
||||
which = 'ppth'
|
||||
want = 'utxt'
|
||||
class _Prop_startup(aetools.NProperty):
|
||||
"""startup - Is this disk the boot disk? """
|
||||
which = 'istd'
|
||||
want = 'bool'
|
||||
# element 'alis' as ['name', 'indx', 'rele', 'rang', 'test']
|
||||
class _Prop_volume(aetools.NProperty):
|
||||
"""volume - the volume on which the folder resides """
|
||||
which = 'volu'
|
||||
want = 'utxt'
|
||||
# element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test']
|
||||
# element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test']
|
||||
# element 'file' as ['name', 'indx', 'rele', 'rang', 'test']
|
||||
|
@ -102,9 +127,11 @@ disks = disk
|
|||
class folder(aetools.ComponentItem):
|
||||
"""folder - A folder in the file system """
|
||||
want = 'cfol'
|
||||
# element 'alis' 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 'file' as ['name', 'indx', 'rele', 'rang', 'test']
|
||||
# element 'file' as ['name', 'indx', 'rele', 'rang', 'test']
|
||||
|
||||
folders = folder
|
||||
|
@ -112,10 +139,6 @@ folders = folder
|
|||
class item(aetools.ComponentItem):
|
||||
"""item - An item in the file system """
|
||||
want = 'cobj'
|
||||
class _Prop_POSIX_path(aetools.NProperty):
|
||||
"""POSIX path - the POSIX file system path of the item """
|
||||
which = 'posx'
|
||||
want = 'utxt'
|
||||
class _Prop_busy_status(aetools.NProperty):
|
||||
"""busy status - Is the item busy? """
|
||||
which = 'busy'
|
||||
|
@ -124,18 +147,10 @@ class _Prop_creation_date(aetools.NProperty):
|
|||
"""creation date - the date on which the item was created """
|
||||
which = 'ascd'
|
||||
want = '****'
|
||||
class _Prop_displayed_name(aetools.NProperty):
|
||||
"""displayed name - the name of the item as displayed in the User Interface """
|
||||
which = 'dnam'
|
||||
want = 'utxt'
|
||||
class _Prop_modification_date(aetools.NProperty):
|
||||
"""modification date - the date on which the item was last modified """
|
||||
which = 'asmo'
|
||||
want = '****'
|
||||
class _Prop_name(aetools.NProperty):
|
||||
"""name - the name of the item """
|
||||
which = 'pnam'
|
||||
want = 'utxt'
|
||||
class _Prop_name_extension(aetools.NProperty):
|
||||
"""name extension - the extension portion of the name """
|
||||
which = 'extn'
|
||||
|
@ -144,22 +159,17 @@ class _Prop_package_folder(aetools.NProperty):
|
|||
"""package folder - Is the item a package? """
|
||||
which = 'pkgf'
|
||||
want = 'bool'
|
||||
class _Prop_path(aetools.NProperty):
|
||||
"""path - the file system path of the item """
|
||||
which = 'ppth'
|
||||
want = 'utxt'
|
||||
class _Prop_url(aetools.NProperty):
|
||||
"""url - the url of the item """
|
||||
which = 'url '
|
||||
want = 'utxt'
|
||||
class _Prop_visible(aetools.NProperty):
|
||||
"""visible - Is the item visible? """
|
||||
which = 'pvis'
|
||||
which = 'visi'
|
||||
want = 'bool'
|
||||
class _Prop_volume(aetools.NProperty):
|
||||
"""volume - the volume on which the item resides """
|
||||
which = 'volu'
|
||||
want = 'utxt'
|
||||
# element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test']
|
||||
# element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test']
|
||||
# element 'file' as ['name', 'indx', 'rele', 'rang', 'test']
|
||||
|
||||
items = item
|
||||
|
||||
|
@ -167,45 +177,64 @@ class file(aetools.ComponentItem):
|
|||
"""file - A file in the file system """
|
||||
want = 'file'
|
||||
class _Prop_creator_type(aetools.NProperty):
|
||||
"""creator type - the OSType identifying the application that created the file """
|
||||
"""creator type - the OSType identifying the application that created the item """
|
||||
which = 'fcrt'
|
||||
want = 'utxt'
|
||||
class _Prop_file_type(aetools.NProperty):
|
||||
"""file type - the OSType identifying the type of data contained in the file """
|
||||
"""file type - the OSType identifying the type of data contained in the item """
|
||||
which = 'asty'
|
||||
want = 'utxt'
|
||||
class _Prop_physical_size(aetools.NProperty):
|
||||
"""physical size - the actual space used by the file on disk """
|
||||
which = 'phys'
|
||||
want = '****'
|
||||
want = 'magn'
|
||||
class _Prop_product_version(aetools.NProperty):
|
||||
"""product version - the version of the product (visible at the top of the "Get Info" window) """
|
||||
"""product version - the version of the product (visible at the top of the ?et Info?window) """
|
||||
which = 'ver2'
|
||||
want = 'utxt'
|
||||
class _Prop_size(aetools.NProperty):
|
||||
"""size - the logical size of the file """
|
||||
which = 'ptsz'
|
||||
want = '****'
|
||||
want = 'magn'
|
||||
class _Prop_stationery(aetools.NProperty):
|
||||
"""stationery - Is the file a stationery pad? """
|
||||
which = 'pspd'
|
||||
want = 'bool'
|
||||
class _Prop_version(aetools.NProperty):
|
||||
"""version - the version of the file (visible at the bottom of the ?et Info?window) """
|
||||
which = 'vers'
|
||||
want = 'utxt'
|
||||
# element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test']
|
||||
# element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test']
|
||||
# element 'file' as ['name', 'indx', 'rele', 'rang', 'test']
|
||||
|
||||
files = file
|
||||
alias._superclassnames = ['item']
|
||||
alias._privpropdict = {
|
||||
application._superclassnames = []
|
||||
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,
|
||||
'version' : _Prop_version,
|
||||
}
|
||||
alias._privelemdict = {
|
||||
'alias' : alias,
|
||||
application._privelemdict = {
|
||||
'application_process' : Processes_Suite.application_process,
|
||||
'desk_accessory_process' : Processes_Suite.desk_accessory_process,
|
||||
'disk' : disk,
|
||||
'document' : Standard_Suite.document,
|
||||
'file' : file,
|
||||
'folder' : folder,
|
||||
'folder_action' : Folder_Actions_Suite.folder_action,
|
||||
'item' : item,
|
||||
'login_item' : Login_Items_Suite.login_item,
|
||||
'process' : Processes_Suite.process,
|
||||
'window' : Standard_Suite.window,
|
||||
}
|
||||
disk._superclassnames = ['item']
|
||||
disk._privpropdict = {
|
||||
'POSIX_path' : _Prop_POSIX_path,
|
||||
'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
|
||||
'capacity' : _Prop_capacity,
|
||||
'ejectable' : _Prop_ejectable,
|
||||
|
@ -213,24 +242,32 @@ disk._privpropdict = {
|
|||
'free_space' : _Prop_free_space,
|
||||
'ignore_privileges' : _Prop_ignore_privileges,
|
||||
'local_volume' : _Prop_local_volume,
|
||||
'name' : _Prop_name,
|
||||
'path' : _Prop_path,
|
||||
'properties' : _Prop_properties,
|
||||
'startup' : _Prop_startup,
|
||||
'volume' : _Prop_volume,
|
||||
}
|
||||
disk._privelemdict = {
|
||||
'alias' : alias,
|
||||
'file' : file,
|
||||
'folder' : folder,
|
||||
'item' : item,
|
||||
}
|
||||
folder._superclassnames = ['item']
|
||||
folder._privpropdict = {
|
||||
'POSIX_path' : _Prop_POSIX_path,
|
||||
'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
|
||||
'name' : _Prop_name,
|
||||
'path' : _Prop_path,
|
||||
'properties' : _Prop_properties,
|
||||
'volume' : _Prop_volume,
|
||||
}
|
||||
folder._privelemdict = {
|
||||
'alias' : alias,
|
||||
'file' : file,
|
||||
'file' : file,
|
||||
'folder' : folder,
|
||||
'folder' : folder,
|
||||
'item' : item,
|
||||
'item' : item,
|
||||
}
|
||||
item._superclassnames = []
|
||||
|
@ -239,7 +276,6 @@ item._privpropdict = {
|
|||
'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
|
||||
'busy_status' : _Prop_busy_status,
|
||||
'creation_date' : _Prop_creation_date,
|
||||
'displayed_name' : _Prop_displayed_name,
|
||||
'modification_date' : _Prop_modification_date,
|
||||
'name' : _Prop_name,
|
||||
'name_extension' : _Prop_name_extension,
|
||||
|
@ -251,20 +287,30 @@ item._privpropdict = {
|
|||
'volume' : _Prop_volume,
|
||||
}
|
||||
item._privelemdict = {
|
||||
'file' : file,
|
||||
'folder' : folder,
|
||||
'item' : item,
|
||||
}
|
||||
file._superclassnames = ['item']
|
||||
file._privpropdict = {
|
||||
'POSIX_path' : _Prop_POSIX_path,
|
||||
'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
|
||||
'creator_type' : _Prop_creator_type,
|
||||
'file_type' : _Prop_file_type,
|
||||
'name' : _Prop_name,
|
||||
'path' : _Prop_path,
|
||||
'physical_size' : _Prop_physical_size,
|
||||
'product_version' : _Prop_product_version,
|
||||
'properties' : _Prop_properties,
|
||||
'size' : _Prop_size,
|
||||
'stationery' : _Prop_stationery,
|
||||
'version' : _Prop_version,
|
||||
'volume' : _Prop_volume,
|
||||
}
|
||||
file._privelemdict = {
|
||||
'file' : file,
|
||||
'folder' : folder,
|
||||
'item' : item,
|
||||
}
|
||||
_Enum_edfm = {
|
||||
'MS_2d_DOS_format' : 'dfms', # MS-DOS format
|
||||
|
@ -289,7 +335,7 @@ _Enum_edfm = {
|
|||
# Indices of types declared in this module
|
||||
#
|
||||
_classdeclarations = {
|
||||
'alis' : alias,
|
||||
'capp' : application,
|
||||
'cdis' : disk,
|
||||
'cfol' : folder,
|
||||
'cobj' : item,
|
||||
|
@ -304,8 +350,8 @@ _propdeclarations = {
|
|||
'c@#^' : _Prop__3c_Inheritance_3e_,
|
||||
'capa' : _Prop_capacity,
|
||||
'dfmt' : _Prop_format,
|
||||
'dnam' : _Prop_displayed_name,
|
||||
'extn' : _Prop_name_extension,
|
||||
'faen' : _Prop_folder_actions_enabled,
|
||||
'fcrt' : _Prop_creator_type,
|
||||
'frsp' : _Prop_free_space,
|
||||
'igpr' : _Prop_ignore_privileges,
|
||||
|
@ -320,10 +366,10 @@ _propdeclarations = {
|
|||
'ppth' : _Prop_path,
|
||||
'pspd' : _Prop_stationery,
|
||||
'ptsz' : _Prop_size,
|
||||
'pvis' : _Prop_visible,
|
||||
'url ' : _Prop_url,
|
||||
'ver2' : _Prop_product_version,
|
||||
'vers' : _Prop_version,
|
||||
'visi' : _Prop_visible,
|
||||
'volu' : _Prop_volume,
|
||||
}
|
||||
|
||||
|
|
|
@ -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 = {
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -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(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(process)
|
||||
getbaseclasses(table)
|
||||
getbaseclasses(outline)
|
||||
getbaseclasses(UI_element)
|
||||
getbaseclasses(value_indicator)
|
||||
getbaseclasses(system_wide_UI_element)
|
||||
getbaseclasses(button)
|
||||
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)
|
||||
getbaseclasses(folder_action)
|
||||
getbaseclasses(application)
|
||||
getbaseclasses(application)
|
||||
getbaseclasses(process)
|
||||
getbaseclasses(application_process)
|
||||
getbaseclasses(desk_accessory_process)
|
||||
getbaseclasses(application)
|
||||
|
||||
#
|
||||
# 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,
|
||||
'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,
|
||||
'prcs' : process,
|
||||
'tabB' : table,
|
||||
'outl' : outline,
|
||||
'uiel' : UI_element,
|
||||
'vali' : value_indicator,
|
||||
'sysw' : system_wide_UI_element,
|
||||
'butT' : button,
|
||||
'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,
|
||||
'foac' : folder_action,
|
||||
'capp' : application,
|
||||
'capp' : application,
|
||||
'prcs' : process,
|
||||
'pcap' : application_process,
|
||||
'pcda' : desk_accessory_process,
|
||||
'capp' : application,
|
||||
}
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue