Commit 694570ef authored by Jack Jansen's avatar Jack Jansen

Regenerated with the new way to get terminology (through AppleEvents),

which sometimes seems to result in different terminology. It does
seem to be mostly compatible, though.
parent 0fc192a9
"""
Package generated from /Volumes/Moes/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.6
Resource aete resid 0 AppleEvent Suites
"""
import aetools
Error = aetools.Error
......@@ -57,23 +56,6 @@ getbaseclasses(selection_2d_object)
getbaseclasses(application)
getbaseclasses(insertion_point)
getbaseclasses(document)
getbaseclasses(single_class_browser)
getbaseclasses(project_document)
getbaseclasses(symbol_browser)
getbaseclasses(editor_document)
getbaseclasses(file_compare_document)
getbaseclasses(class_browser)
getbaseclasses(subtarget)
getbaseclasses(message_document)
getbaseclasses(project_inspector)
getbaseclasses(text_document)
getbaseclasses(catalog_document)
getbaseclasses(class_hierarchy)
getbaseclasses(target)
getbaseclasses(build_progress_document)
getbaseclasses(target_file)
getbaseclasses(ToolServer_worksheet)
getbaseclasses(single_class_hierarchy)
getbaseclasses(File_Mapping)
getbaseclasses(browser_catalog)
getbaseclasses(Build_Settings)
......@@ -110,6 +92,23 @@ getbaseclasses(Font)
getbaseclasses(Target_Source_Trees)
getbaseclasses(Debugger_Display)
getbaseclasses(class_)
getbaseclasses(single_class_browser)
getbaseclasses(project_document)
getbaseclasses(symbol_browser)
getbaseclasses(editor_document)
getbaseclasses(file_compare_document)
getbaseclasses(class_browser)
getbaseclasses(subtarget)
getbaseclasses(message_document)
getbaseclasses(project_inspector)
getbaseclasses(text_document)
getbaseclasses(catalog_document)
getbaseclasses(class_hierarchy)
getbaseclasses(target)
getbaseclasses(build_progress_document)
getbaseclasses(target_file)
getbaseclasses(ToolServer_worksheet)
getbaseclasses(single_class_hierarchy)
#
# Indices of types declared in this module
......@@ -124,23 +123,6 @@ _classdeclarations = {
'capp' : application,
'cins' : insertion_point,
'docu' : document,
'1BRW' : single_class_browser,
'PRJD' : project_document,
'SYMB' : symbol_browser,
'EDIT' : editor_document,
'COMP' : file_compare_document,
'BROW' : class_browser,
'SBTG' : subtarget,
'MSSG' : message_document,
'INSP' : project_inspector,
'TXTD' : text_document,
'CTLG' : catalog_document,
'HIER' : class_hierarchy,
'TRGT' : target,
'PRGS' : build_progress_document,
'SRCF' : target_file,
'TOOL' : ToolServer_worksheet,
'1HIR' : single_class_hierarchy,
'FMap' : File_Mapping,
'Cata' : browser_catalog,
'BSTG' : Build_Settings,
......@@ -177,6 +159,23 @@ _classdeclarations = {
'TSTs' : Target_Source_Trees,
'DbDS' : Debugger_Display,
'Clas' : class_,
'1BRW' : single_class_browser,
'PRJD' : project_document,
'SYMB' : symbol_browser,
'EDIT' : editor_document,
'COMP' : file_compare_document,
'BROW' : class_browser,
'SBTG' : subtarget,
'MSSG' : message_document,
'INSP' : project_inspector,
'TXTD' : text_document,
'CTLG' : catalog_document,
'HIER' : class_hierarchy,
'TRGT' : target,
'PRGS' : build_progress_document,
'SRCF' : target_file,
'TOOL' : ToolServer_worksheet,
'1HIR' : single_class_hierarchy,
}
......
"""Suite Microsoft Internet Explorer Suite: Events defined by Internet Explorer
Level 1, version 1
Generated from /Volumes/Moes/Applications (Mac OS 9)/Internet Explorer 5/Internet Explorer
Generated from /Applications/Internet Explorer.app
AETE/AEUT resource version 1/0, language 0, script 0
"""
......
"""Suite Netscape Suite: Events defined by Netscape
Level 1, version 1
Generated from /Volumes/Moes/Applications (Mac OS 9)/Internet Explorer 5/Internet Explorer
Generated from /Applications/Internet Explorer.app
AETE/AEUT resource version 1/0, language 0, script 0
"""
......
"""Suite Required Suite: Events that every application should support
Level 1, version 1
Generated from /Volumes/Moes/Applications (Mac OS 9)/Internet Explorer 5/Internet Explorer
Generated from /Applications/Internet Explorer.app
AETE/AEUT resource version 1/0, language 0, script 0
"""
......
"""Suite Standard Suite: Common terms for most applications
Level 1, version 1
Generated from /Volumes/Moes/Applications (Mac OS 9)/Internet Explorer 5/Internet Explorer
Generated from /Applications/Internet Explorer.app
AETE/AEUT resource version 1/0, language 0, script 0
"""
......
"""Suite URL Suite: Standard suite for Uniform Resource Locators
Level 1, version 1
Generated from /Volumes/Moes/Applications (Mac OS 9)/Internet Explorer 5/Internet Explorer
Generated from /Applications/Internet Explorer.app
AETE/AEUT resource version 1/0, language 0, script 0
"""
......
"""Suite Web Browser Suite: Class of events supported by Web Browser applications
Level 1, version 1
Generated from /Volumes/Moes/Applications (Mac OS 9)/Internet Explorer 5/Internet Explorer
Generated from /Applications/Internet Explorer.app
AETE/AEUT resource version 1/0, language 0, script 0
"""
......
"""
Package generated from /Volumes/Moes/Applications (Mac OS 9)/Internet Explorer 5/Internet Explorer
Resource aete resid 0
Package generated from /Applications/Internet Explorer.app
"""
import aetools
Error = aetools.Error
......
"""Suite Enumerations: Enumerations for the Finder
Level 1, version 1
Generated from /Volumes/Moes/Systeemmap/Finder
Generated from /System/Library/CoreServices/Finder.app
AETE/AEUT resource version 0/144, language 0, script 0
"""
......@@ -26,32 +26,54 @@ _Enum_earr = {
'arranged_by_label' : 'laba', #
}
_Enum_ese0 = {
'starting_up' : 'ese2', #
'running' : 'ese3', #
'rebuilding_desktop' : 'ese5', #
'copying' : 'ese4', #
'restarting' : 'ese6', #
'quitting' : 'ese7', #
_Enum_ecvw = {
'icon_view' : 'icnv', #
'list_view' : 'lsvw', #
'column_view' : 'clvw', #
}
_Enum_gsen = {
'CPU' : 'proc', #
'FPU' : 'fpu ', #
'MMU' : 'mmu ', #
'hardware' : 'hdwr', #
'operating_system' : 'os ', #
'sound_system' : 'snd ', #
'memory_available' : 'lram', #
'memory_installed' : 'ram ', #
_Enum_edfm = {
'Mac_OS_format' : 'dfhf', #
'Mac_OS_Extended_format' : 'dfh+', #
'UFS_format' : 'dfuf', #
'NFS_format' : 'dfnf', #
'audio_format' : 'dfau', #
'ProDOS_format' : 'dfpr', #
'MS_2d_DOS_format' : 'dfms', #
'ISO_9660_format' : 'df96', #
'High_Sierra_format' : 'dfhs', #
'QuickTake_format' : 'dfqt', #
'Apple_Photo_format' : 'dfph', #
'AppleShare_format' : 'dfas', #
'UDF_format' : 'dfud', #
'WebDAV_format' : 'dfwd', #
'FTP_format' : 'dfft', #
'Packet_2d_written_UDF_format' : 'dfpu', #
'unknown_format' : 'df??', #
}
_Enum_elsv = {
'name_column' : 'elsn', #
'modification_date_column' : 'elsm', #
'creation_date_column' : 'elsc', #
'size_column' : 'elss', #
'kind_column' : 'elsk', #
'label_column' : 'elsl', #
'version_column' : 'elsv', #
'comment_column' : 'elsC', #
}
_Enum_ipnl = {
'General_Information_panel' : 'gpnl', #
'Sharing_panel' : 'spnl', #
'Memory_panel' : 'mpnl', #
'Status_and_Configuration_panel' : 'scnl', #
'Fonts_panel' : 'fpnl', #
'Preview_panel' : 'vpnl', #
'Application_panel' : 'apnl', #
'Languages_panel' : 'pklg', #
'Plugins_panel' : 'pkpg', #
'Name__26__Extension_panel' : 'npnl', #
'Comments_panel' : 'cpnl', #
'Content_Index_panel' : 'cinl', #
}
_Enum_isiz = {
......@@ -60,12 +82,16 @@ _Enum_isiz = {
'large' : 'lgic', #
}
_Enum_pple = {
'General_Preferences_panel' : 'pgnp', #
'Label_Preferences_panel' : 'plbp', #
'Icon_View_Preferences_panel' : 'pivp', #
'Button_View_Preferences_panel' : 'pbvp', #
'List_View_Preferences_panel' : 'plvp', #
_Enum_lvic = {
'small_icon' : 'smic', #
'large_icon' : 'lgic', #
}
_Enum_priv = {
'read_only' : 'read', #
'read_write' : 'rdwr', #
'write_only' : 'writ', #
'none' : 'none', #
}
_Enum_sodr = {
......@@ -107,11 +133,13 @@ _compdeclarations = {
_enumdeclarations = {
'earr' : _Enum_earr,
'ese0' : _Enum_ese0,
'gsen' : _Enum_gsen,
'ecvw' : _Enum_ecvw,
'edfm' : _Enum_edfm,
'elsv' : _Enum_elsv,
'ipnl' : _Enum_ipnl,
'isiz' : _Enum_isiz,
'pple' : _Enum_pple,
'lvic' : _Enum_lvic,
'priv' : _Enum_priv,
'sodr' : _Enum_sodr,
'vwby' : _Enum_vwby,
}
"""Suite Files and suitcases: Classes representing files and suitcases
"""Suite Files: Classes representing files
Level 1, version 1
Generated from /Volumes/Moes/Systeemmap/Finder
Generated from /System/Library/CoreServices/Finder.app
AETE/AEUT resource version 0/144, language 0, script 0
"""
......@@ -10,7 +10,7 @@ import MacOS
_code = 'fndr'
class Files_and_suitcases_Events:
class Files_Events:
pass
......@@ -33,7 +33,7 @@ class application_file(aetools.ComponentItem):
"""application file - An application's file on disk """
want = 'appf'
class accepts_high_level_events(aetools.NProperty):
"""accepts high level events - Is the application high-level event aware? """
"""accepts high level events - Is the application high-level event aware? (OBSOLETE: always returns true) """
which = 'isab'
want = 'bool'
class has_scripting_terminology(aetools.NProperty):
......@@ -44,6 +44,10 @@ class minimum_size(aetools.NProperty):
"""minimum size - the smallest memory size with which the application can be launched """
which = 'mprt'
want = 'long'
class opens_in_Classic(aetools.NProperty):
"""opens in Classic - Should the application launch in the Classic environment? """
which = 'Clsc'
want = 'bool'
class preferred_size(aetools.NProperty):
"""preferred size - the memory size with which the application will be launched """
which = 'appt'
......@@ -58,22 +62,13 @@ application_files = application_file
class clipping(aetools.ComponentItem):
"""clipping - A clipping """
want = 'clpf'
class clipping_window(aetools.NProperty):
"""clipping window - (NOT AVAILABLE YET) the clipping window for this clipping """
which = 'lwnd'
want = 'obj '
clippings = clipping
class desk_accessory_file(aetools.ComponentItem):
"""desk accessory file - A desk accessory file """
want = 'dafi'
desk_accessory_files = desk_accessory_file
class desk_accessory_suitcase(aetools.ComponentItem):
"""desk accessory suitcase - A desk accessory suitcase """
want = 'dsut'
# element 'cobj' as ['indx', 'name']
desk_accessory_suitcases = desk_accessory_suitcase
class document_file(aetools.ComponentItem):
"""document file - A document file """
want = 'docf'
......@@ -91,14 +86,10 @@ class file_type(aetools.NProperty):
"""file type - the OSType identifying the type of data contained in the item """
which = 'asty'
want = 'type'
class locked(aetools.NProperty):
"""locked - Is the file locked? """
which = 'aslk'
want = 'bool'
class product_version(aetools.NProperty):
"""product version - the version of the product (visible at the top of the \xd2Get Info\xd3 window) """
which = 'ver2'
want = 'itxt'
want = 'utxt'
class stationery(aetools.NProperty):
"""stationery - Is the file a stationery pad? """
which = 'pspd'
......@@ -106,30 +97,17 @@ class stationery(aetools.NProperty):
class version(aetools.NProperty):
"""version - the version of the file (visible at the bottom of the \xd2Get Info\xd3 window) """
which = 'vers'
want = 'itxt'
want = 'utxt'
files = file
class font_file(aetools.ComponentItem):
"""font file - A font file """
want = 'fntf'
font_files = font_file
class font_suitcase(aetools.ComponentItem):
"""font suitcase - A font suitcase """
want = 'fsut'
# element 'cobj' as ['indx', 'name']
font_suitcases = font_suitcase
class internet_location_file(aetools.ComponentItem):
"""internet location file - An file containing an internet location """
want = 'inlf'
class location(aetools.NProperty):
"""location - the internet location """
which = 'iloc'
want = 'itxt'
want = 'utxt'
internet_location_files = internet_location_file
......@@ -138,23 +116,6 @@ class package(aetools.ComponentItem):
want = 'pack'
packages = package
class sound_file(aetools.ComponentItem):
"""sound file - A sound file """
want = 'sndf'
class sound(aetools.NProperty):
"""sound - the sound data """
which = 'snd '
want = 'snd '
sound_files = sound_file
class suitcase(aetools.ComponentItem):
"""suitcase - A font or desk accessory suitcase """
want = 'stcs'
# element 'cobj' as ['indx', 'name']
suitcases = suitcase
alias_file._superclassnames = ['file']
alias_file._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
......@@ -168,6 +129,7 @@ application_file._privpropdict = {
'accepts_high_level_events' : accepts_high_level_events,
'has_scripting_terminology' : has_scripting_terminology,
'minimum_size' : minimum_size,
'opens_in_Classic' : opens_in_Classic,
'preferred_size' : preferred_size,
'suggested_size' : suggested_size,
}
......@@ -176,54 +138,28 @@ application_file._privelemdict = {
clipping._superclassnames = ['file']
clipping._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
'clipping_window' : clipping_window,
}
clipping._privelemdict = {
}
desk_accessory_file._superclassnames = ['file']
desk_accessory_file._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
}
desk_accessory_file._privelemdict = {
}
desk_accessory_suitcase._superclassnames = ['suitcase']
import Earlier_terms
desk_accessory_suitcase._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
}
desk_accessory_suitcase._privelemdict = {
'item' : Earlier_terms.item,
}
document_file._superclassnames = ['file']
document_file._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
}
document_file._privelemdict = {
}
import Finder_items
file._superclassnames = ['item']
file._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
'creator_type' : creator_type,
'file_type' : file_type,
'locked' : locked,
'product_version' : product_version,
'stationery' : stationery,
'version' : version,
}
file._privelemdict = {
}
font_file._superclassnames = ['file']
font_file._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
}
font_file._privelemdict = {
}
font_suitcase._superclassnames = ['suitcase']
font_suitcase._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
}
font_suitcase._privelemdict = {
'item' : Earlier_terms.item,
}
internet_location_file._superclassnames = ['file']
internet_location_file._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
......@@ -237,20 +173,6 @@ package._privpropdict = {
}
package._privelemdict = {
}
sound_file._superclassnames = ['file']
sound_file._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
'sound' : sound,
}
sound_file._privelemdict = {
}
suitcase._superclassnames = ['file']
suitcase._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
}
suitcase._privelemdict = {
'item' : Earlier_terms.item,
}
#
# Indices of types declared in this module
......@@ -259,31 +181,25 @@ _classdeclarations = {
'alia' : alias_file,
'appf' : application_file,
'clpf' : clipping,
'dafi' : desk_accessory_file,
'docf' : document_file,
'dsut' : desk_accessory_suitcase,
'file' : file,
'fntf' : font_file,
'fsut' : font_suitcase,
'inlf' : internet_location_file,
'pack' : package,
'sndf' : sound_file,
'stcs' : suitcase,
}
_propdeclarations = {
'Clsc' : opens_in_Classic,
'appt' : preferred_size,
'aslk' : locked,
'asty' : file_type,
'c@#^' : _3c_Inheritance_3e_,
'fcrt' : creator_type,
'hscr' : has_scripting_terminology,
'iloc' : location,
'isab' : accepts_high_level_events,
'lwnd' : clipping_window,
'mprt' : minimum_size,
'orig' : original_item,
'pspd' : stationery,
'snd ' : sound,
'sprt' : suggested_size,
'ver2' : product_version,
'vers' : version,
......
"""Suite Finder items: Commands used with file system items, and basic item definition
Level 1, version 1
Generated from /Volumes/Moes/Systeemmap/Finder
Generated from /System/Library/CoreServices/Finder.app
AETE/AEUT resource version 0/144, language 0, script 0
"""
......@@ -13,7 +13,7 @@ _code = 'fndr'
class Finder_items_Events:
def add_to_favorites(self, _object, _attributes={}, **_arguments):
"""add to favorites: Add the items to the Favorites menu in the Apple Menu and in Open and Save dialogs
"""add to favorites: (NOT AVAILABLE YET) Add the items to the user\xd5s Favorites
Required argument: the items to add to the collection of Favorites
Keyword argument _attributes: AppleEvent attribute dictionary
"""
......@@ -37,7 +37,7 @@ class Finder_items_Events:
}
def clean_up(self, _object, _attributes={}, **_arguments):
"""clean up: Arrange items in window nicely (only applies to open windows in icon or button views that are not kept arranged)
"""clean up: (NOT AVAILABLE YET) Arrange items in window nicely (only applies to open windows in icon view that are not kept arranged)
Required argument: the window to clean up
Keyword argument by: the order in which to clean up the objects (name, index, date, etc.)
Keyword argument _attributes: AppleEvent attribute dictionary
......@@ -58,8 +58,8 @@ class Finder_items_Events:
return _arguments['----']
def eject(self, _object=None, _attributes={}, **_arguments):
"""eject: Eject the specified disk(s), or every ejectable disk if no parameter is specified
Required argument: the items to eject
"""eject: Eject the specified disk(s)
Required argument: the disk(s) to eject
Keyword argument _attributes: AppleEvent attribute dictionary
"""
_code = 'fndr'
......@@ -98,7 +98,7 @@ class Finder_items_Events:
return _arguments['----']
def erase(self, _object, _attributes={}, **_arguments):
"""erase: Erase the specified disk(s)
"""erase: (NOT AVAILABLE) Erase the specified disk(s)
Required argument: the items to erase
Keyword argument _attributes: AppleEvent attribute dictionary
"""
......@@ -109,33 +109,6 @@ class Finder_items_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['----']
_argmap_put_away = {
'asking' : 'fask',
}
def put_away(self, _object, _attributes={}, **_arguments):
"""put away: Put away the specified object(s)
Required argument: the items to put away
Keyword argument asking: Specifies whether or not to present a dialog to confirm putting this item away.
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: the object put away in its put-away location
"""
_code = 'fndr'
_subcode = 'ptwy'
aetools.keysubst(_arguments, self._argmap_put_away)
_arguments['----'] = _object
aetools.enumsubst(_arguments, 'fask', _Enum_bool)
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
if _arguments.get('errn', 0):
......@@ -164,15 +137,22 @@ class Finder_items_Events:
if _arguments.has_key('----'):
return _arguments['----']
_argmap_update = {
'necessity' : 'nec?',
'registering_applications' : 'reg?',
}
def update(self, _object, _attributes={}, **_arguments):
"""update: Update the display of the specified object(s) to match their on-disk representation
Required argument: the item to update
Keyword argument necessity: only update if necessary (i.e. a finder window is open). default is false
Keyword argument registering_applications: register applications. default is true
Keyword argument _attributes: AppleEvent attribute dictionary
"""
_code = 'fndr'
_subcode = 'fupd'
if _arguments: raise TypeError, 'No optional args expected'
aetools.keysubst(_arguments, self._argmap_update)
_arguments['----'] = _object
......@@ -195,15 +175,11 @@ class bounds(aetools.NProperty):
class comment(aetools.NProperty):
"""comment - the comment of the item, displayed in the \xd2Get Info\xd3 window """
which = 'comt'
want = 'itxt'
want = 'utxt'
class container(aetools.NProperty):
"""container - the container of the item """
which = 'ctnr'
want = 'obj '
class content_space(aetools.NProperty):
"""content space - the window that would open if the item was opened """
which = 'dwnd'
want = 'obj '
class creation_date(aetools.NProperty):
"""creation date - the date on which the item was created """
which = 'ascd'
......@@ -211,23 +187,35 @@ class creation_date(aetools.NProperty):
class description(aetools.NProperty):
"""description - a description of the item """
which = 'dscr'
want = 'itxt'
want = 'utxt'
class disk(aetools.NProperty):
"""disk - the disk on which the item is stored """
which = 'cdis'
want = 'obj '
class folder(aetools.NProperty):
"""folder - the folder in which the item is stored """
which = 'asdr'
want = 'obj '
class displayed_name(aetools.NProperty):
"""displayed name - the user-visible name of the item """
which = 'dnam'
want = 'utxt'
class everyones_privileges(aetools.NProperty):
"""everyones privileges - """
which = 'gstp'
want = 'priv'
class extension_hidden(aetools.NProperty):
"""extension hidden - Is the item's extension hidden from the user? """
which = 'hidx'
want = 'bool'
class group(aetools.NProperty):
"""group - the user or group that has special access to the container """
which = 'sgrp'
want = 'utxt'
class group_privileges(aetools.NProperty):
"""group privileges - """
which = 'gppr'
want = 'priv'
class icon(aetools.NProperty):
"""icon - the icon bitmap of the item """
which = 'iimg'
want = 'ifam'
class id(aetools.NProperty):
"""id - an id that identifies the item """
which = 'ID '
want = 'long'
class index(aetools.NProperty):
"""index - the index in the front-to-back ordering within its container """
which = 'pidx'
......@@ -239,11 +227,15 @@ class information_window(aetools.NProperty):
class kind(aetools.NProperty):
"""kind - the kind of the item """
which = 'kind'
want = 'itxt'
want = 'utxt'
class label_index(aetools.NProperty):
"""label index - the label of the item """
which = 'labi'
want = 'long'
class locked(aetools.NProperty):
"""locked - Is the file locked? """
which = 'aslk'
want = 'bool'
class modification_date(aetools.NProperty):
"""modification date - the date on which the item was last modified """
which = 'asmo'
......@@ -251,27 +243,39 @@ class modification_date(aetools.NProperty):
class name(aetools.NProperty):
"""name - the name of the item """
which = 'pnam'
want = 'itxt'
want = 'utxt'
class name_extension(aetools.NProperty):
"""name extension - the name extension of the item (such as \xd2txt\xd3) """
which = 'nmxt'
want = 'utxt'
class owner(aetools.NProperty):
"""owner - the user that owns the container """
which = 'sown'
want = 'utxt'
class owner_privileges(aetools.NProperty):
"""owner privileges - """
which = 'ownr'
want = 'priv'
class physical_size(aetools.NProperty):
"""physical size - the actual space used by the item on disk """
which = 'phys'
want = 'long'
want = 'comp'
class position(aetools.NProperty):
"""position - the position of the item within its parent window (can only be set for an item in a window viewed as icons or buttons) """
which = 'posn'
want = 'QDpt'
class selected(aetools.NProperty):
"""selected - Is the item selected? """
which = 'issl'
want = 'bool'
class properties(aetools.NProperty):
"""properties - every property of an item """
which = 'pALL'
want = 'reco'
class size(aetools.NProperty):
"""size - the logical size of the item """
which = 'ptsz'
want = 'long'
class window(aetools.NProperty):
"""window - the window that would open if the item was opened """
which = 'cwin'
want = 'obj '
want = 'comp'
class url(aetools.NProperty):
"""url - the url of the item """
which = 'pURL'
want = 'utxt'
items = item
item._superclassnames = []
......@@ -279,28 +283,33 @@ item._privpropdict = {
'bounds' : bounds,
'comment' : comment,
'container' : container,
'content_space' : content_space,
'creation_date' : creation_date,
'description' : description,
'disk' : disk,
'folder' : folder,
'displayed_name' : displayed_name,
'everyones_privileges' : everyones_privileges,
'extension_hidden' : extension_hidden,
'group' : group,
'group_privileges' : group_privileges,
'icon' : icon,
'id' : id,
'index' : index,
'information_window' : information_window,
'kind' : kind,
'label_index' : label_index,
'locked' : locked,
'modification_date' : modification_date,
'name' : name,
'name_extension' : name_extension,
'owner' : owner,
'owner_privileges' : owner_privileges,
'physical_size' : physical_size,
'position' : position,
'selected' : selected,
'properties' : properties,
'size' : size,
'window' : window,
'url' : url,
}
item._privelemdict = {
}
_Enum_bool = None # XXXX enum bool not found!!
#
# Indices of types declared in this module
......@@ -310,27 +319,33 @@ _classdeclarations = {
}
_propdeclarations = {
'ID ' : id,
'ascd' : creation_date,
'asdr' : folder,
'aslk' : locked,
'asmo' : modification_date,
'cdis' : disk,
'comt' : comment,
'ctnr' : container,
'cwin' : window,
'dnam' : displayed_name,
'dscr' : description,
'dwnd' : content_space,
'gppr' : group_privileges,
'gstp' : everyones_privileges,
'hidx' : extension_hidden,
'iimg' : icon,
'issl' : selected,
'iwnd' : information_window,
'kind' : kind,
'labi' : label_index,
'nmxt' : name_extension,
'ownr' : owner_privileges,
'pALL' : properties,
'pURL' : url,
'pbnd' : bounds,
'phys' : physical_size,
'pidx' : index,
'pnam' : name,
'posn' : position,
'ptsz' : size,
'sgrp' : group,
'sown' : owner,
}
_compdeclarations = {
......
"""Suite Process classes: Classes representing processes that are running
"""Suite Legacy suite: Operations formerly handled by the Finder, but now automatically delegated to other applications
Level 1, version 1
Generated from /Volumes/Moes/Systeemmap/Finder
Generated from /System/Library/CoreServices/Finder.app
AETE/AEUT resource version 0/144, language 0, script 0
"""
import aetools
import MacOS
_code = 'fndr'
_code = 'fleg'
class Process_classes_Events:
class Legacy_suite_Events:
pass
def restart(self, _no_object=None, _attributes={}, **_arguments):
"""restart: Restart the computer
Keyword argument _attributes: AppleEvent attribute dictionary
"""
_code = 'fndr'
_subcode = 'rest'
if _arguments: raise TypeError, 'No optional args expected'
if _no_object != None: raise TypeError, 'No direct arg expected'
_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 shut_down(self, _no_object=None, _attributes={}, **_arguments):
"""shut down: Shut Down the computer
Keyword argument _attributes: AppleEvent attribute dictionary
"""
_code = 'fndr'
_subcode = 'shut'
if _arguments: raise TypeError, 'No optional args expected'
if _no_object != None: raise TypeError, 'No direct arg expected'
_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 sleep(self, _no_object=None, _attributes={}, **_arguments):
"""sleep: Put the computer to sleep
Keyword argument _attributes: AppleEvent attribute dictionary
"""
_code = 'fndr'
_subcode = 'slep'
if _arguments: raise TypeError, 'No optional args expected'
if _no_object != None: raise TypeError, 'No direct arg expected'
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
if _arguments.has_key('----'):
return _arguments['----']
class application(aetools.ComponentItem):
"""application - The Finder """
want = 'capp'
class desktop_picture(aetools.NProperty):
"""desktop picture - the desktop picture of the main monitor """
which = 'dpic'
want = 'file'
class application_process(aetools.ComponentItem):
"""application process - A process launched from an application file """
......@@ -88,6 +151,12 @@ class visible(aetools.NProperty):
want = 'bool'
processes = process
application._superclassnames = []
application._privpropdict = {
'desktop_picture' : desktop_picture,
}
application._privelemdict = {
}
application_process._superclassnames = ['process']
application_process._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
......@@ -123,6 +192,7 @@ process._privelemdict = {
# Indices of types declared in this module
#
_classdeclarations = {
'capp' : application,
'pcap' : application_process,
'pcda' : desk_accessory_process,
'prcs' : process,
......@@ -134,6 +204,7 @@ _propdeclarations = {
'asty' : file_type,
'c@#^' : _3c_Inheritance_3e_,
'dafi' : desk_accessory_file,
'dpic' : desktop_picture,
'fcrt' : creator_type,
'file' : file,
'hscr' : has_scripting_terminology,
......
"""Suite Obsolete terms: Terms that have been deprecated
Level 1, version 1
Generated from /Volumes/Moes/Systeemmap/Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
import aetools
import MacOS
_code = 'tpnm'
from StdSuites.Type_Names_Suite import *
class Obsolete_terms_Events(Type_Names_Suite_Events):
pass
class application(aetools.ComponentItem):
"""application - The Finder """
want = 'capp'
class view_preferences(aetools.NProperty):
"""view preferences - backwards compatibility with Finder Scripting Extension. DEPRECATED -- not supported after Finder 8.0 """
which = 'pvwp'
want = 'obj '
class container(aetools.ComponentItem):
"""container - An item that contains other items """
want = 'ctnr'
class container_window(aetools.NProperty):
"""container window - the main window for the container """
which = 'cwnd'
want = 'obj '
class container_window(aetools.ComponentItem):
"""container window - A window that contains items """
want = 'cwnd'
class folder_obsolete(aetools.NProperty):
"""folder obsolete - the folder from which the window was opened (DEPRECATED - for use with scripts compiled before Finder 8.0. Will be removed in the next release.) """
which = 'cfol'
want = 'obj '
class control_panel(aetools.ComponentItem):
"""control panel - A control panel """
want = 'ccdv'
control_panels = control_panel
class file(aetools.ComponentItem):
"""file - A file """
want = 'file'
class file_type_obsolete(aetools.NProperty):
"""file type obsolete - the OSType identifying the type of data contained in the item (DEPRECATED - for use with scripts compiled before Finder 8.0. Will be removed in the next release) """
which = 'fitp'
want = 'type'
class locked_obsolete(aetools.NProperty):
"""locked obsolete - Is the file locked? (DEPRECATED - for use with scripts compiled before Finder 8.0. Will be removed in the next release) """
which = 'islk'
want = 'bool'
class information_window(aetools.ComponentItem):
"""information window - An information window (opened by \xd2Get Info\xd3) """
want = 'iwnd'
class creation_date_obsolete(aetools.NProperty):
"""creation date obsolete - the date on which the item was created (DEPRECATED - for use with scripts compiled before Finder 8.0. Will be removed in the next release) """
which = 'crtd'
want = 'ldt '
class modification_date_obsolete(aetools.NProperty):
"""modification date obsolete - the date on which the item was last modified (DEPRECATED - for use with scripts compiled before Finder 8.0. Will be removed in the next release) """
which = 'modd'
want = 'ldt '
class item(aetools.ComponentItem):
"""item - An item """
want = 'cobj'
class process(aetools.ComponentItem):
"""process - A process running on this computer """
want = 'prcs'
class sharable_container(aetools.ComponentItem):
"""sharable container - A container that may be shared (disks and folders) """
want = 'sctr'
class sharing_window(aetools.NProperty):
"""sharing window - the sharing window for the container (file sharing must be on to use this property) """
which = 'swnd'
want = 'obj '
class sharing_window(aetools.ComponentItem):
"""sharing window - A sharing window (opened by \xd2Sharing\xc9\xd3) """
want = 'swnd'
class container(aetools.NProperty):
"""container - the container from which this window was opened """
which = 'ctnr'
want = 'obj '
class item(aetools.NProperty):
"""item - the item from which this window was opened """
which = 'cobj'
want = 'obj '
class sharable_container(aetools.NProperty):
"""sharable container - the sharable container from which the window was opened """
which = 'sctr'
want = 'obj '
sharing_windows = sharing_window
class status_window(aetools.ComponentItem):
"""status window - Progress dialogs (e.g., copy window, rebuild desktop database, empty trash) """
want = 'qwnd'
status_windows = status_window
application._superclassnames = []
application._privpropdict = {
'view_preferences' : view_preferences,
}
application._privelemdict = {
}
container._superclassnames = []
container._privpropdict = {
'container_window' : container_window,
}
container._privelemdict = {
}
container_window._superclassnames = []
container_window._privpropdict = {
'folder_obsolete' : folder_obsolete,
}
container_window._privelemdict = {
}
control_panel._superclassnames = []
control_panel._privpropdict = {
}
control_panel._privelemdict = {
}
file._superclassnames = []
file._privpropdict = {
'file_type_obsolete' : file_type_obsolete,
'locked_obsolete' : locked_obsolete,
}
file._privelemdict = {
}
information_window._superclassnames = []
information_window._privpropdict = {
'creation_date_obsolete' : creation_date_obsolete,
'locked_obsolete' : locked_obsolete,
'modification_date_obsolete' : modification_date_obsolete,
}
information_window._privelemdict = {
}
item._superclassnames = []
item._privpropdict = {
'creation_date_obsolete' : creation_date_obsolete,
'folder_obsolete' : folder_obsolete,
'modification_date_obsolete' : modification_date_obsolete,
}
item._privelemdict = {
}
process._superclassnames = []
process._privpropdict = {
'file_type_obsolete' : file_type_obsolete,
}
process._privelemdict = {
}
sharable_container._superclassnames = []
sharable_container._privpropdict = {
'sharing_window' : sharing_window,
}
sharable_container._privelemdict = {
}
sharing_window._superclassnames = []
sharing_window._privpropdict = {
'container' : container,
'folder_obsolete' : folder_obsolete,
'item' : item,
'sharable_container' : sharable_container,
}
sharing_window._privelemdict = {
}
status_window._superclassnames = []
status_window._privpropdict = {
}
status_window._privelemdict = {
}
#
# Indices of types declared in this module
#
_classdeclarations = {
'capp' : application,
'ccdv' : control_panel,
'cobj' : item,
'ctnr' : container,
'cwnd' : container_window,
'file' : file,
'iwnd' : information_window,
'prcs' : process,
'qwnd' : status_window,
'sctr' : sharable_container,
'swnd' : sharing_window,
}
_propdeclarations = {
'cfol' : folder_obsolete,
'cobj' : item,
'crtd' : creation_date_obsolete,
'ctnr' : container,
'cwnd' : container_window,
'fitp' : file_type_obsolete,
'islk' : locked_obsolete,
'modd' : modification_date_obsolete,
'pvwp' : view_preferences,
'sctr' : sharable_container,
'swnd' : sharing_window,
}
_compdeclarations = {
}
_enumdeclarations = {
}
"""Suite Standard Suite: Common terms that most applications should support
Level 1, version 1
Generated from /Volumes/Moes/Systeemmap/Finder
Generated from /System/Library/CoreServices/Finder.app
AETE/AEUT resource version 0/144, language 0, script 0
"""
......@@ -170,7 +170,7 @@ class Standard_Suite_Events(Standard_Suite_Events):
"""make: Make a new element
Keyword argument new: the class of the new element
Keyword argument at: the location at which to insert the element
Keyword argument to: when creating an alias file, the original item to create an alias to
Keyword argument to: when creating an alias file, the original item to create an alias to or when creating a file viewer window, the target of the window
Keyword argument with_properties: the initial values for the properties of the element
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: to the new object(s)
......
"""Suite Type Definitions: Definitions of records used in scripting the Finder
Level 1, version 1
Generated from /Volumes/Moes/Systeemmap/Finder
Generated from /System/Library/CoreServices/Finder.app
AETE/AEUT resource version 0/144, language 0, script 0
"""
......@@ -19,8 +19,34 @@ class alias_list(aetools.ComponentItem):
"""alias list - A list of aliases. Use \xd4as alias list\xd5 when a list of aliases is needed (instead of a list of file system item references). """
want = 'alst'
class column(aetools.ComponentItem):
"""column - a column of a list view """
want = 'lvcl'
class index(aetools.NProperty):
"""index - the index in the front-to-back ordering within its container """
which = 'pidx'
want = 'long'
class name(aetools.NProperty):
"""name - the column name """
which = 'pnam'
want = 'elsv'
class sort_direction(aetools.NProperty):
"""sort direction - The direction in which the window is sorted """
which = 'sord'
want = 'sodr'
class visible(aetools.NProperty):
"""visible - is this column visible """
which = 'pvis'
want = 'bool'
class width(aetools.NProperty):
"""width - the width of this column """
which = 'clwd'
want = 'shor'
columns = column
class icon_family(aetools.ComponentItem):
"""icon family - A family of icons """
"""icon family - (NOT AVAILABLE YET) A family of icons """
want = 'ifam'
class large_32_bit_icon(aetools.NProperty):
"""large 32 bit icon - the large 32-bit color icon """
......@@ -61,24 +87,45 @@ class small_monochrome_icon_and_mask(aetools.NProperty):
which = 'ics#'
want = 'ics#'
class icon_view_options(aetools.ComponentItem):
"""icon view options - the icon view options """
want = 'icop'
class arrangement(aetools.NProperty):
"""arrangement - the property by which to keep icons arranged """
which = 'iarr'
want = 'earr'
class icon_size(aetools.NProperty):
"""icon size - the size of icons displayed in the icon view """
which = 'lvis'
want = 'shor'
class label(aetools.ComponentItem):
"""label - A Finder label (name and color) """
"""label - (NOT AVAILABLE YET) A Finder label (name and color) """
want = 'clbl'
class color(aetools.NProperty):
"""color - the color associated with the label """
which = 'colr'
want = 'cRGB'
class index(aetools.NProperty):
"""index - the index in the front-to-back ordering within its container """
which = 'pidx'
want = 'long'
class name(aetools.NProperty):
"""name - the name associated with the label """
which = 'pnam'
want = 'itxt'
class list_view_options(aetools.ComponentItem):
"""list view options - the list view options """
want = 'lvop'
class calculates_folder_sizes(aetools.NProperty):
"""calculates folder sizes - Are folder sizes calculated and displayed in the window? """
which = 'sfsz'
want = 'bool'
class sort_column(aetools.NProperty):
"""sort column - the column that the list view is sorted on """
which = 'srtc'
want = 'lvcl'
class uses_relative_dates(aetools.NProperty):
"""uses relative dates - Are relative dates (e.g., today, yesterday) shown in the list view? """
which = 'urdt'
want = 'bool'
# element 'lvcl' as ['indx', 'rele', 'rang', 'test']
class preferences(aetools.ComponentItem):
"""preferences - The Finder Preferences """
"""preferences - (NOT AVAILABLE, SUBJECT TO CHANGE) The Finder Preferences """
want = 'cprf'
class button_view_arrangement(aetools.NProperty):
"""button view arrangement - the method of arrangement of icons in default Finder button view windows """
......@@ -88,10 +135,6 @@ class button_view_icon_size(aetools.NProperty):
"""button view icon size - the size of icons displayed in Finder button view windows. """
which = 'bisz'
want = 'long'
class calculates_folder_sizes(aetools.NProperty):
"""calculates folder sizes - Are folder sizes calculated and displayed in Finder list view windows? """
which = 'sfsz'
want = 'bool'
class delay_before_springing(aetools.NProperty):
"""delay before springing - the delay before springing open a container in ticks (1/60th of a second) (12 is shortest delay, 60 is longest delay) """
which = 'dela'
......@@ -128,10 +171,8 @@ class shows_version(aetools.NProperty):
"""shows version - Are file versions displayed in default Finder list view windows? """
which = 'svrs'
want = 'bool'
class spatial_view_arrangement(aetools.NProperty):
"""spatial view arrangement - the method of arrangement of icons in default Finder spatial view windows """
which = 'iarr'
want = 'earr'
spatial_view_arrangement = arrangement
class spatial_view_icon_size(aetools.NProperty):
"""spatial view icon size - the size of icons displayed in Finder spatial view windows. """
which = 'iisz'
......@@ -140,10 +181,6 @@ class spring_open_folders(aetools.NProperty):
"""spring open folders - Spring open folders after the specified delay? """
which = 'sprg'
want = 'bool'
class uses_relative_dates(aetools.NProperty):
"""uses relative dates - Are relative dates (e.g., today, yesterday) shown in Finder list view windows? """
which = 'urdt'
want = 'bool'
class uses_simple_menus(aetools.NProperty):
"""uses simple menus - Use simplified Finder menus? """
which = 'usme'
......@@ -170,6 +207,16 @@ alias_list._privpropdict = {
}
alias_list._privelemdict = {
}
column._superclassnames = []
column._privpropdict = {
'index' : index,
'name' : name,
'sort_direction' : sort_direction,
'visible' : visible,
'width' : width,
}
column._privelemdict = {
}
icon_family._superclassnames = []
icon_family._privpropdict = {
'large_32_bit_icon' : large_32_bit_icon,
......@@ -185,6 +232,13 @@ icon_family._privpropdict = {
}
icon_family._privelemdict = {
}
icon_view_options._superclassnames = []
icon_view_options._privpropdict = {
'arrangement' : arrangement,
'icon_size' : icon_size,
}
icon_view_options._privelemdict = {
}
label._superclassnames = []
label._privpropdict = {
'color' : color,
......@@ -193,6 +247,16 @@ label._privpropdict = {
}
label._privelemdict = {
}
list_view_options._superclassnames = []
list_view_options._privpropdict = {
'calculates_folder_sizes' : calculates_folder_sizes,
'icon_size' : icon_size,
'sort_column' : sort_column,
'uses_relative_dates' : uses_relative_dates,
}
list_view_options._privelemdict = {
'column' : column,
}
preferences._superclassnames = []
preferences._privpropdict = {
'button_view_arrangement' : button_view_arrangement,
......@@ -228,17 +292,21 @@ _classdeclarations = {
'alst' : alias_list,
'clbl' : label,
'cprf' : preferences,
'icop' : icon_view_options,
'ifam' : icon_family,
'lvcl' : column,
'lvop' : list_view_options,
}
_propdeclarations = {
'ICN#' : large_monochrome_icon_and_mask,
'barr' : button_view_arrangement,
'bisz' : button_view_icon_size,
'clwd' : width,
'colr' : color,
'cwin' : window,
'dela' : delay_before_springing,
'iarr' : spatial_view_arrangement,
'iarr' : arrangement,
'icl4' : large_4_bit_icon,
'icl8' : large_8_bit_icon,
'ics#' : small_monochrome_icon_and_mask,
......@@ -249,15 +317,19 @@ _propdeclarations = {
'is32' : small_32_bit_icon,
'l8mk' : large_8_bit_mask,
'lisz' : list_view_icon_size,
'lvis' : icon_size,
'pidx' : index,
'pnam' : name,
'pvis' : visible,
'scda' : shows_creation_date,
'scom' : shows_comments,
'sdat' : shows_modification_date,
'sfsz' : calculates_folder_sizes,
'sknd' : shows_kind,
'slbl' : shows_label,
'sord' : sort_direction,
'sprg' : spring_open_folders,
'srtc' : sort_column,
'ssiz' : shows_size,
'svrs' : shows_version,
'urdt' : uses_relative_dates,
......
"""
Package generated from /Volumes/Moes/Applications (Mac OS 9)/Netscape Communicator™ Folder/Netscape Communicator™
Resource aete resid 0
Package generated from /Volumes/Moes/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2
"""
import aetools
Error = aetools.Error
......@@ -62,12 +61,12 @@ import StdSuites
#
getbaseclasses(window)
getbaseclasses(application)
getbaseclasses(StdSuites.Text_Suite.paragraph)
getbaseclasses(StdSuites.Text_Suite.text_flow)
getbaseclasses(StdSuites.Text_Suite.character)
getbaseclasses(StdSuites.Text_Suite.text_style_info)
getbaseclasses(StdSuites.Text_Suite.word)
getbaseclasses(StdSuites.Text_Suite.text_flow)
getbaseclasses(StdSuites.Text_Suite.line)
getbaseclasses(StdSuites.Text_Suite.word)
getbaseclasses(StdSuites.Text_Suite.paragraph)
getbaseclasses(StdSuites.Text_Suite.text)
getbaseclasses(text)
getbaseclasses(styleset)
......@@ -78,12 +77,12 @@ getbaseclasses(styleset)
_classdeclarations = {
'cwin' : window,
'capp' : application,
'cpar' : StdSuites.Text_Suite.paragraph,
'cflo' : StdSuites.Text_Suite.text_flow,
'cha ' : StdSuites.Text_Suite.character,
'tsty' : StdSuites.Text_Suite.text_style_info,
'cwor' : StdSuites.Text_Suite.word,
'cflo' : StdSuites.Text_Suite.text_flow,
'clin' : StdSuites.Text_Suite.line,
'cwor' : StdSuites.Text_Suite.word,
'cpar' : StdSuites.Text_Suite.paragraph,
'ctxt' : StdSuites.Text_Suite.text,
'ctxt' : text,
'stys' : styleset,
......
......@@ -68,44 +68,6 @@ import StdSuites
#
# Set property and element dictionaries now that all classes have been defined
#
getbaseclasses(paragraph)
getbaseclasses(character)
getbaseclasses(text_flow)
getbaseclasses(text_style_info)
getbaseclasses(line)
getbaseclasses(word)
getbaseclasses(text)
getbaseclasses(graphic_group)
getbaseclasses(oval)
getbaseclasses(graphic_text)
getbaseclasses(graphic_shape)
getbaseclasses(graphic_line)
getbaseclasses(graphic_object)
getbaseclasses(drawing_area)
getbaseclasses(polygon)
getbaseclasses(pixel)
getbaseclasses(rounded_rectangle)
getbaseclasses(arc)
getbaseclasses(pixel_map)
getbaseclasses(rectangle)
getbaseclasses(graphic_group)
getbaseclasses(drawing_area)
getbaseclasses(cell)
getbaseclasses(column)
getbaseclasses(table)
getbaseclasses(row)
getbaseclasses(AppleTalk_address)
getbaseclasses(address_specification)
getbaseclasses(Token_Ring_address)
getbaseclasses(FireWire_address)
getbaseclasses(bus_slot)
getbaseclasses(SCSI_address)
getbaseclasses(ADB_address)
getbaseclasses(USB_address)
getbaseclasses(device_specification)
getbaseclasses(LocalTalk_address)
getbaseclasses(IP_address)
getbaseclasses(Ethernet_address)
getbaseclasses(July)
getbaseclasses(May)
getbaseclasses(string)
......@@ -211,13 +173,24 @@ 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(graphic_group)
getbaseclasses(drawing_area)
getbaseclasses(cell)
getbaseclasses(column)
getbaseclasses(table)
getbaseclasses(row)
getbaseclasses(AppleTalk_address)
getbaseclasses(address_specification)
getbaseclasses(Token_Ring_address)
getbaseclasses(FireWire_address)
getbaseclasses(bus_slot)
getbaseclasses(SCSI_address)
getbaseclasses(ADB_address)
getbaseclasses(USB_address)
getbaseclasses(device_specification)
getbaseclasses(LocalTalk_address)
getbaseclasses(IP_address)
getbaseclasses(Ethernet_address)
getbaseclasses(small_integer)
getbaseclasses(RGB16_color)
getbaseclasses(version)
......@@ -258,49 +231,38 @@ getbaseclasses(double_integer)
getbaseclasses(long_fixed)
getbaseclasses(null)
getbaseclasses(target_id)
getbaseclasses(paragraph)
getbaseclasses(character)
getbaseclasses(text_flow)
getbaseclasses(text_style_info)
getbaseclasses(line)
getbaseclasses(word)
getbaseclasses(text)
getbaseclasses(window)
getbaseclasses(file)
getbaseclasses(selection_2d_object)
getbaseclasses(alias)
getbaseclasses(application)
getbaseclasses(insertion_point)
getbaseclasses(document)
getbaseclasses(graphic_group)
getbaseclasses(oval)
getbaseclasses(graphic_text)
getbaseclasses(graphic_shape)
getbaseclasses(graphic_line)
getbaseclasses(graphic_object)
getbaseclasses(drawing_area)
getbaseclasses(polygon)
getbaseclasses(pixel)
getbaseclasses(rounded_rectangle)
getbaseclasses(arc)
getbaseclasses(pixel_map)
getbaseclasses(rectangle)
#
# Indices of types declared in this module
#
_classdeclarations = {
'cpar' : paragraph,
'cha ' : character,
'cflo' : text_flow,
'tsty' : text_style_info,
'clin' : line,
'cwor' : word,
'ctxt' : text,
'cpic' : graphic_group,
'covl' : oval,
'cgtx' : graphic_text,
'cgsh' : graphic_shape,
'glin' : graphic_line,
'cgob' : graphic_object,
'cdrw' : drawing_area,
'cpgn' : polygon,
'cpxl' : pixel,
'crrc' : rounded_rectangle,
'carc' : arc,
'cpix' : pixel_map,
'crec' : rectangle,
'cpic' : graphic_group,
'cdrw' : drawing_area,
'ccel' : cell,
'ccol' : column,
'ctbl' : table,
'crow' : row,
'cat ' : AppleTalk_address,
'cadr' : address_specification,
'ctok' : Token_Ring_address,
'cfw ' : FireWire_address,
'cbus' : bus_slot,
'cscs' : SCSI_address,
'cadb' : ADB_address,
'cusb' : USB_address,
'cdev' : device_specification,
'clt ' : LocalTalk_address,
'cip ' : IP_address,
'cen ' : Ethernet_address,
'jul ' : July,
'may ' : May,
'TEXT' : string,
......@@ -406,13 +368,24 @@ _classdeclarations = {
'sep ' : September,
'fss ' : file_specification,
'ctxt' : text,
'cwin' : window,
'file' : file,
'csel' : selection_2d_object,
'alis' : alias,
'capp' : application,
'cins' : insertion_point,
'docu' : document,
'cpic' : graphic_group,
'cdrw' : drawing_area,
'ccel' : cell,
'ccol' : column,
'ctbl' : table,
'crow' : row,
'cat ' : AppleTalk_address,
'cadr' : address_specification,
'ctok' : Token_Ring_address,
'cfw ' : FireWire_address,
'cbus' : bus_slot,
'cscs' : SCSI_address,
'cadb' : ADB_address,
'cusb' : USB_address,
'cdev' : device_specification,
'clt ' : LocalTalk_address,
'cip ' : IP_address,
'cen ' : Ethernet_address,
'shor' : small_integer,
'tr16' : RGB16_color,
'vers' : version,
......@@ -453,6 +426,33 @@ _classdeclarations = {
'lfxd' : long_fixed,
'null' : null,
'targ' : target_id,
'cpar' : paragraph,
'cha ' : character,
'cflo' : text_flow,
'tsty' : text_style_info,
'clin' : line,
'cwor' : word,
'ctxt' : text,
'cwin' : window,
'file' : file,
'csel' : selection_2d_object,
'alis' : alias,
'capp' : application,
'cins' : insertion_point,
'docu' : document,
'cpic' : graphic_group,
'covl' : oval,
'cgtx' : graphic_text,
'cgsh' : graphic_shape,
'glin' : graphic_line,
'cgob' : graphic_object,
'cdrw' : drawing_area,
'cpgn' : polygon,
'cpxl' : pixel,
'crrc' : rounded_rectangle,
'carc' : arc,
'cpix' : pixel_map,
'crec' : rectangle,
}
......
"""Suite Invisible Suite: Terms and Events for controlling the application
Level 1, version 1
Generated from /Applications/Utilities/Terminal.app/Contents/Resources/Terminal.rsrc
AETE/AEUT resource version 1/0, language 0, script 0
"""
import aetools
import MacOS
_code = 'tpnm'
from StdSuites.Type_Names_Suite import *
class Invisible_Suite_Events(Type_Names_Suite_Events):
pass
class application(aetools.ComponentItem):
"""application - The application """
want = 'capp'
class properties(aetools.NProperty):
"""properties - every property of the application """
which = 'pALL'
want = 'reco'
application._superclassnames = []
application._privpropdict = {
'properties' : properties,
}
application._privelemdict = {
}
#
# Indices of types declared in this module
#
_classdeclarations = {
'capp' : application,
}
_propdeclarations = {
'pALL' : properties,
}
_compdeclarations = {
}
_enumdeclarations = {
}
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment