diff options
Diffstat (limited to 'Mac/Lib/lib-scriptpackages/Finder')
-rw-r--r-- | Mac/Lib/lib-scriptpackages/Finder/Containers_and_folders.py | 497 | ||||
-rw-r--r-- | Mac/Lib/lib-scriptpackages/Finder/Earlier_terms.py | 746 | ||||
-rw-r--r-- | Mac/Lib/lib-scriptpackages/Finder/Enumerations.py | 117 | ||||
-rw-r--r-- | Mac/Lib/lib-scriptpackages/Finder/Files_and_suitcases.py | 296 | ||||
-rw-r--r-- | Mac/Lib/lib-scriptpackages/Finder/Finder_Basics.py | 380 | ||||
-rw-r--r-- | Mac/Lib/lib-scriptpackages/Finder/Finder_items.py | 340 | ||||
-rw-r--r-- | Mac/Lib/lib-scriptpackages/Finder/Obsolete_terms.py | 220 | ||||
-rw-r--r-- | Mac/Lib/lib-scriptpackages/Finder/Process_classes.py | 152 | ||||
-rw-r--r-- | Mac/Lib/lib-scriptpackages/Finder/Standard_Suite.py | 335 | ||||
-rw-r--r-- | Mac/Lib/lib-scriptpackages/Finder/Type_Definitions.py | 274 | ||||
-rw-r--r-- | Mac/Lib/lib-scriptpackages/Finder/Window_classes.py | 414 | ||||
-rw-r--r-- | Mac/Lib/lib-scriptpackages/Finder/__init__.py | 461 |
12 files changed, 0 insertions, 4232 deletions
diff --git a/Mac/Lib/lib-scriptpackages/Finder/Containers_and_folders.py b/Mac/Lib/lib-scriptpackages/Finder/Containers_and_folders.py deleted file mode 100644 index c3aac16..0000000 --- a/Mac/Lib/lib-scriptpackages/Finder/Containers_and_folders.py +++ /dev/null @@ -1,497 +0,0 @@ -"""Suite Containers and folders: Classes that can contain other file system items -Level 1, version 1 - -Generated from /Volumes/Sap/System Folder/Finder -AETE/AEUT resource version 0/144, language 0, script 0 -""" - -import aetools -import MacOS - -_code = 'fndr' - -class Containers_and_folders_Events: - - pass - - -class container(aetools.ComponentItem): - """container - An item that contains other items """ - want = 'ctnr' -class _3c_Inheritance_3e_(aetools.NProperty): - """<Inheritance> - inherits some of its properties from the item class """ - which = 'c@#^' - want = 'cobj' -class selection(aetools.NProperty): - """selection - the selection visible to the user """ - which = 'sele' - want = 'obj ' -class entire_contents(aetools.NProperty): - """entire contents - the entire contents of the container, including the contents of its children """ - which = 'ects' - want = 'obj ' -class expandable(aetools.NProperty): - """expandable - Is the container capable of being expanded as an outline? """ - which = 'pexa' - want = 'bool' -class expanded(aetools.NProperty): - """expanded - Is the container opened as an outline? (can only be set for containers viewed as lists) """ - which = 'pexp' - want = 'bool' -class completely_expanded(aetools.NProperty): - """completely expanded - Are the container and all of its children opened as outlines? (can only be set for containers viewed as lists) """ - which = 'pexc' - want = 'bool' -class icon_size(aetools.NProperty): - """icon size - the size of icons displayed in the window. Can be specified as a number, or ... """ - which = 'lvis' - want = 'long' -class view_options_window(aetools.NProperty): - """view options window - the view options window for the container (can only be opened when the container window is open) """ - which = 'vwnd' - want = 'vwnd' -# element 'cobj' as ['indx', 'name'] -# element 'ctnr' as ['indx', 'name'] -# element 'sctr' as ['indx', 'name'] -# element 'cfol' as ['indx', 'name', 'ID '] -# element 'file' as ['indx', 'name'] -# element 'alia' as ['indx', 'name'] -# element 'appf' as ['indx', 'name', 'ID '] -# element 'docf' as ['indx', 'name'] -# element 'fntf' as ['indx', 'name'] -# element 'dafi' as ['indx', 'name'] -# element 'inlf' as ['indx', 'name'] -# element 'sndf' as ['indx', 'name'] -# element 'clpf' as ['indx', 'name'] -# element 'pack' as ['indx', 'name'] -# element 'stcs' as ['indx', 'name'] -# element 'fsut' as ['indx', 'name'] -# element 'dsut' as ['indx', 'name'] - -containers = container - -class sharable_container(aetools.ComponentItem): - """sharable container - A container that may be shared (disks and folders) """ - want = 'sctr' -class owner(aetools.NProperty): - """owner - the user that owns the container (file sharing must be on to use this property) """ - which = 'sown' - want = 'itxt' -class group(aetools.NProperty): - """group - the user or group that has special access to the container (file sharing must be on to use this property) """ - which = 'sgrp' - want = 'itxt' -class owner_privileges(aetools.NProperty): - """owner privileges - the see folders/see files/make changes privileges for the owner (file sharing must be on to use this property) """ - which = 'ownr' - want = 'priv' -class group_privileges(aetools.NProperty): - """group privileges - the see folders/see files/make changes privileges for the group (file sharing must be on to use this property) """ - which = 'gppr' - want = 'priv' -class guest_privileges(aetools.NProperty): - """guest privileges - the see folders/see files/make changes privileges for everyone (file sharing must be on to use this property) """ - which = 'gstp' - want = 'priv' -class privileges_inherited(aetools.NProperty): - """privileges inherited - Are the privileges of the container always the same as the container in which it is stored? (file sharing must be on to use this property) """ - which = 'iprv' - want = 'bool' -class mounted(aetools.NProperty): - """mounted - Is the container mounted on another machine's desktop? (file sharing must be on to use this property) """ - which = 'smou' - want = 'bool' -class exported(aetools.NProperty): - """exported - Is the container a share point or inside a share point, i.e., can the container be shared? (file sharing must be on to use this property) """ - which = 'sexp' - want = 'bool' -class shared(aetools.NProperty): - """shared - Is the container a share point, i.e., is the container currently being shared? (file sharing must be on to use this property) """ - which = 'shar' - want = 'bool' -class protected(aetools.NProperty): - """protected - Is the container protected from being moved, renamed and deleted? (file sharing must be on to use this property) """ - which = 'spro' - want = 'bool' -# element 'cobj' as ['indx', 'name'] -# element 'ctnr' as ['indx', 'name'] -# element 'sctr' as ['indx', 'name'] -# element 'cfol' as ['indx', 'name', 'ID '] -# element 'file' as ['indx', 'name'] -# element 'alia' as ['indx', 'name'] -# element 'appf' as ['indx', 'name', 'ID '] -# element 'docf' as ['indx', 'name'] -# element 'fntf' as ['indx', 'name'] -# element 'dafi' as ['indx', 'name'] -# element 'inlf' as ['indx', 'name'] -# element 'sndf' as ['indx', 'name'] -# element 'clpf' as ['indx', 'name'] -# element 'pack' as ['indx', 'name'] -# element 'stcs' as ['indx', 'name'] -# element 'fsut' as ['indx', 'name'] -# element 'dsut' as ['indx', 'name'] - -sharable_containers = sharable_container - -class sharing_privileges(aetools.ComponentItem): - """sharing privileges - A set of sharing properties (used in sharable containers) """ - want = 'priv' -class see_folders(aetools.NProperty): - """see folders - Can folders be seen? """ - which = 'prvs' - want = 'bool' -class see_files(aetools.NProperty): - """see files - Can files be seen? """ - which = 'prvr' - want = 'bool' -class make_changes(aetools.NProperty): - """make changes - Can changes be made? """ - which = 'prvw' - want = 'bool' - -class disk(aetools.ComponentItem): - """disk - A disk """ - want = 'cdis' -class capacity(aetools.NProperty): - """capacity - the total number of bytes (free or used) on the disk """ - which = 'capa' - want = 'long' -class free_space(aetools.NProperty): - """free space - the number of free bytes left on the disk """ - which = 'frsp' - want = 'long' -class ejectable(aetools.NProperty): - """ejectable - Can the media be ejected (floppies, CD's, and so on)? """ - which = 'isej' - want = 'bool' -class local_volume(aetools.NProperty): - """local volume - Is the media a local volume (as opposed to a file server)? """ - which = 'isrv' - want = 'bool' -class startup(aetools.NProperty): - """startup - Is this disk the boot disk? """ - which = 'istd' - want = 'bool' -# element 'cobj' as ['indx', 'name'] -# element 'ctnr' as ['indx', 'name'] -# element 'sctr' as ['indx', 'name'] -# element 'cfol' as ['indx', 'name', 'ID '] -# element 'file' as ['indx', 'name'] -# element 'alia' as ['indx', 'name'] -# element 'appf' as ['indx', 'name', 'ID '] -# element 'docf' as ['indx', 'name'] -# element 'fntf' as ['indx', 'name'] -# element 'dafi' as ['indx', 'name'] -# element 'inlf' as ['indx', 'name'] -# element 'sndf' as ['indx', 'name'] -# element 'clpf' as ['indx', 'name'] -# element 'pack' as ['indx', 'name'] -# element 'stcs' as ['indx', 'name'] -# element 'fsut' as ['indx', 'name'] -# element 'dsut' as ['indx', 'name'] - -disks = disk - -class folder(aetools.ComponentItem): - """folder - A folder """ - want = 'cfol' -# element 'cobj' as ['indx', 'name'] -# element 'ctnr' as ['indx', 'name'] -# element 'sctr' as ['indx', 'name'] -# element 'cfol' as ['indx', 'name', 'ID '] -# element 'file' as ['indx', 'name'] -# element 'alia' as ['indx', 'name'] -# element 'appf' as ['indx', 'name', 'ID '] -# element 'docf' as ['indx', 'name'] -# element 'fntf' as ['indx', 'name'] -# element 'dafi' as ['indx', 'name'] -# element 'inlf' as ['indx', 'name'] -# element 'sndf' as ['indx', 'name'] -# element 'clpf' as ['indx', 'name'] -# element 'pack' as ['indx', 'name'] -# element 'stcs' as ['indx', 'name'] -# element 'fsut' as ['indx', 'name'] -# element 'dsut' as ['indx', 'name'] - -folders = folder - -class desktop_2d_object(aetools.ComponentItem): - """desktop-object - Desktop-object is the class of the \xd2desktop\xd3 object """ - want = 'cdsk' -class startup_disk(aetools.NProperty): - """startup disk - the startup disk """ - which = 'sdsk' - want = 'cdis' -class trash(aetools.NProperty): - """trash - the trash """ - which = 'trsh' - want = 'ctrs' -# element 'cobj' as ['indx', 'name'] -# element 'ctnr' as ['indx', 'name'] -# element 'sctr' as ['indx', 'name'] -# element 'cdis' as ['indx', 'name'] -# element 'cfol' as ['indx', 'name', 'ID '] -# element 'file' as ['indx', 'name'] -# element 'alia' as ['indx', 'name'] -# element 'appf' as ['indx', 'name', 'ID '] -# element 'docf' as ['indx', 'name'] -# element 'fntf' as ['indx', 'name'] -# element 'dafi' as ['indx', 'name'] -# element 'inlf' as ['indx', 'name'] -# element 'sndf' as ['indx', 'name'] -# element 'clpf' as ['indx', 'name'] -# element 'pack' as ['indx', 'name'] -# element 'stcs' as ['indx', 'name'] -# element 'fsut' as ['indx', 'name'] -# element 'dsut' as ['indx', 'name'] - -class trash_2d_object(aetools.ComponentItem): - """trash-object - Trash-object is the class of the \xd2trash\xd3 object """ - want = 'ctrs' -class warns_before_emptying(aetools.NProperty): - """warns before emptying - Display a dialog when emptying the trash? """ - which = 'warn' - want = 'bool' -# element 'cobj' as ['indx', 'name'] -# element 'ctnr' as ['indx', 'name'] -# element 'sctr' as ['indx', 'name'] -# element 'cfol' as ['indx', 'name', 'ID '] -# element 'file' as ['indx', 'name'] -# element 'alia' as ['indx', 'name'] -# element 'appf' as ['indx', 'name', 'ID '] -# element 'docf' as ['indx', 'name'] -# element 'fntf' as ['indx', 'name'] -# element 'dafi' as ['indx', 'name'] -# element 'inlf' as ['indx', 'name'] -# element 'sndf' as ['indx', 'name'] -# element 'clpf' as ['indx', 'name'] -# element 'pack' as ['indx', 'name'] -# element 'stcs' as ['indx', 'name'] -# element 'fsut' as ['indx', 'name'] -# element 'dsut' as ['indx', 'name'] -import Earlier_terms -container._superclassnames = ['item'] -import Files_and_suitcases -container._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'selection' : selection, - 'entire_contents' : entire_contents, - 'expandable' : expandable, - 'expanded' : expanded, - 'completely_expanded' : completely_expanded, - 'icon_size' : icon_size, - 'icon_size' : icon_size, - 'view_options_window' : view_options_window, -} -container._privelemdict = { - 'item' : Earlier_terms.item, - 'container' : container, - 'sharable_container' : sharable_container, - 'folder' : folder, - 'file' : Files_and_suitcases.file, - 'alias_file' : Files_and_suitcases.alias_file, - 'application_file' : Earlier_terms.application_file, - 'document_file' : Files_and_suitcases.document_file, - 'font_file' : Files_and_suitcases.font_file, - 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file, - 'internet_location' : Earlier_terms.internet_location, - 'sound_file' : Files_and_suitcases.sound_file, - 'clipping' : Files_and_suitcases.clipping, - 'package' : Files_and_suitcases.package, - 'suitcase' : Files_and_suitcases.suitcase, - 'font_suitcase' : Files_and_suitcases.font_suitcase, - 'accessory_suitcase' : Earlier_terms.accessory_suitcase, -} -sharable_container._superclassnames = ['container'] -sharable_container._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'owner' : owner, - 'group' : group, - 'owner_privileges' : owner_privileges, - 'group_privileges' : group_privileges, - 'guest_privileges' : guest_privileges, - 'privileges_inherited' : privileges_inherited, - 'mounted' : mounted, - 'exported' : exported, - 'shared' : shared, - 'protected' : protected, -} -sharable_container._privelemdict = { - 'item' : Earlier_terms.item, - 'container' : container, - 'sharable_container' : sharable_container, - 'folder' : folder, - 'file' : Files_and_suitcases.file, - 'alias_file' : Files_and_suitcases.alias_file, - 'application_file' : Earlier_terms.application_file, - 'document_file' : Files_and_suitcases.document_file, - 'font_file' : Files_and_suitcases.font_file, - 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file, - 'internet_location' : Earlier_terms.internet_location, - 'sound_file' : Files_and_suitcases.sound_file, - 'clipping' : Files_and_suitcases.clipping, - 'package' : Files_and_suitcases.package, - 'suitcase' : Files_and_suitcases.suitcase, - 'font_suitcase' : Files_and_suitcases.font_suitcase, - 'accessory_suitcase' : Earlier_terms.accessory_suitcase, -} -sharing_privileges._superclassnames = [] -sharing_privileges._privpropdict = { - 'see_folders' : see_folders, - 'see_files' : see_files, - 'make_changes' : make_changes, -} -sharing_privileges._privelemdict = { -} -disk._superclassnames = ['sharable_container'] -disk._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'capacity' : capacity, - 'free_space' : free_space, - 'ejectable' : ejectable, - 'local_volume' : local_volume, - 'startup' : startup, -} -disk._privelemdict = { - 'item' : Earlier_terms.item, - 'container' : container, - 'sharable_container' : sharable_container, - 'folder' : folder, - 'file' : Files_and_suitcases.file, - 'alias_file' : Files_and_suitcases.alias_file, - 'application_file' : Earlier_terms.application_file, - 'document_file' : Files_and_suitcases.document_file, - 'font_file' : Files_and_suitcases.font_file, - 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file, - 'internet_location' : Earlier_terms.internet_location, - 'sound_file' : Files_and_suitcases.sound_file, - 'clipping' : Files_and_suitcases.clipping, - 'package' : Files_and_suitcases.package, - 'suitcase' : Files_and_suitcases.suitcase, - 'font_suitcase' : Files_and_suitcases.font_suitcase, - 'accessory_suitcase' : Earlier_terms.accessory_suitcase, -} -folder._superclassnames = ['sharable_container'] -folder._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, -} -folder._privelemdict = { - 'item' : Earlier_terms.item, - 'container' : container, - 'sharable_container' : sharable_container, - 'folder' : folder, - 'file' : Files_and_suitcases.file, - 'alias_file' : Files_and_suitcases.alias_file, - 'application_file' : Earlier_terms.application_file, - 'document_file' : Files_and_suitcases.document_file, - 'font_file' : Files_and_suitcases.font_file, - 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file, - 'internet_location' : Earlier_terms.internet_location, - 'sound_file' : Files_and_suitcases.sound_file, - 'clipping' : Files_and_suitcases.clipping, - 'package' : Files_and_suitcases.package, - 'suitcase' : Files_and_suitcases.suitcase, - 'font_suitcase' : Files_and_suitcases.font_suitcase, - 'accessory_suitcase' : Earlier_terms.accessory_suitcase, -} -desktop_2d_object._superclassnames = ['container'] -desktop_2d_object._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'startup_disk' : startup_disk, - 'trash' : trash, -} -desktop_2d_object._privelemdict = { - 'item' : Earlier_terms.item, - 'container' : container, - 'sharable_container' : sharable_container, - 'disk' : disk, - 'folder' : folder, - 'file' : Files_and_suitcases.file, - 'alias_file' : Files_and_suitcases.alias_file, - 'application_file' : Earlier_terms.application_file, - 'document_file' : Files_and_suitcases.document_file, - 'font_file' : Files_and_suitcases.font_file, - 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file, - 'internet_location' : Earlier_terms.internet_location, - 'sound_file' : Files_and_suitcases.sound_file, - 'clipping' : Files_and_suitcases.clipping, - 'package' : Files_and_suitcases.package, - 'suitcase' : Files_and_suitcases.suitcase, - 'font_suitcase' : Files_and_suitcases.font_suitcase, - 'accessory_suitcase' : Earlier_terms.accessory_suitcase, -} -trash_2d_object._superclassnames = ['container'] -trash_2d_object._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'warns_before_emptying' : warns_before_emptying, -} -trash_2d_object._privelemdict = { - 'item' : Earlier_terms.item, - 'container' : container, - 'sharable_container' : sharable_container, - 'folder' : folder, - 'file' : Files_and_suitcases.file, - 'alias_file' : Files_and_suitcases.alias_file, - 'application_file' : Earlier_terms.application_file, - 'document_file' : Files_and_suitcases.document_file, - 'font_file' : Files_and_suitcases.font_file, - 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file, - 'internet_location' : Earlier_terms.internet_location, - 'sound_file' : Files_and_suitcases.sound_file, - 'clipping' : Files_and_suitcases.clipping, - 'package' : Files_and_suitcases.package, - 'suitcase' : Files_and_suitcases.suitcase, - 'font_suitcase' : Files_and_suitcases.font_suitcase, - 'accessory_suitcase' : Earlier_terms.accessory_suitcase, -} - -# -# Indices of types declared in this module -# -_classdeclarations = { - 'ctrs' : trash_2d_object, - 'cdsk' : desktop_2d_object, - 'sctr' : sharable_container, - 'priv' : sharing_privileges, - 'cdis' : disk, - 'cfol' : folder, - 'ctnr' : container, -} - -_propdeclarations = { - 'pexp' : expanded, - 'gppr' : group_privileges, - 'prvr' : see_files, - 'ects' : entire_contents, - 'lvis' : icon_size, - 'iprv' : privileges_inherited, - 'isrv' : local_volume, - 'frsp' : free_space, - 'pexa' : expandable, - 'pexc' : completely_expanded, - 'vwnd' : view_options_window, - 'warn' : warns_before_emptying, - 'sown' : owner, - 'prvw' : make_changes, - 'isej' : ejectable, - 'capa' : capacity, - 'shar' : shared, - 'sexp' : exported, - 'sdsk' : startup_disk, - 'istd' : startup, - 'gstp' : guest_privileges, - 'trsh' : trash, - 'smou' : mounted, - 'sele' : selection, - 'prvs' : see_folders, - 'sgrp' : group, - 'c@#^' : _3c_Inheritance_3e_, - 'spro' : protected, - 'ownr' : owner_privileges, -} - -_compdeclarations = { -} - -_enumdeclarations = { -} diff --git a/Mac/Lib/lib-scriptpackages/Finder/Earlier_terms.py b/Mac/Lib/lib-scriptpackages/Finder/Earlier_terms.py deleted file mode 100644 index 2f72d0f..0000000 --- a/Mac/Lib/lib-scriptpackages/Finder/Earlier_terms.py +++ /dev/null @@ -1,746 +0,0 @@ -"""Suite Earlier terms: Terms that have been renamed -Level 1, version 1 - -Generated from /Volumes/Sap/System Folder/Finder -AETE/AEUT resource version 0/144, language 0, script 0 -""" - -import aetools -import MacOS - -_code = 'tpnm' - -from StdSuites.Type_Names_Suite import * -class Earlier_terms_Events(Type_Names_Suite_Events): - - pass - - -class application(aetools.ComponentItem): - """application - The Finder """ - want = 'capp' -class properties(aetools.NProperty): - """properties - property that allows getting and setting of multiple properties """ - which = 'qpro' - want = 'reco' -class clipboard(aetools.NProperty): - """clipboard - the Finder\xd5s clipboard window """ - which = 'pcli' - want = 'obj ' -class largest_free_block(aetools.NProperty): - """largest free block - the largest free block of process memory available to launch an application """ - which = 'mfre' - want = 'long' -class name(aetools.NProperty): - """name - the Finder\xd5s name """ - which = 'pnam' - want = 'itxt' -class visible(aetools.NProperty): - """visible - Is the Finder\xd5s layer visible? """ - which = 'pvis' - want = 'bool' -class frontmost(aetools.NProperty): - """frontmost - Is the Finder the frontmost process? """ - which = 'pisf' - want = 'bool' -class selection(aetools.NProperty): - """selection - the selection visible to the user """ - which = 'sele' - want = 'obj ' -class 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 ' -class file_sharing(aetools.NProperty): - """file sharing - Is file sharing on? """ - which = 'fshr' - want = 'bool' -class sharing_starting_up(aetools.NProperty): - """sharing starting up - Is file sharing in the process of starting up? """ - which = 'fsup' - want = 'bool' -class product_version(aetools.NProperty): - """product version - the version of the System software running on this computer """ - which = 'ver2' - want = 'itxt' -class version(aetools.NProperty): - """version - the version of the Finder """ - which = 'vers' - want = 'itxt' -class about_this_computer(aetools.NProperty): - """about this computer - the \xd2About this Computer\xd3 dialog and the list of running processes displayed in it """ - which = 'abbx' - want = 'obj ' -class desktop(aetools.NProperty): - """desktop - the desktop """ - which = 'desk' - want = 'cdsk' -class Finder_preferences(aetools.NProperty): - """Finder preferences - Various preferences that apply to the Finder as a whole """ - which = 'pfrp' - want = 'obj ' - -class application_file(aetools.ComponentItem): - """application file - An application's file on disk """ - want = 'appf' -class _3c_Inheritance_3e_(aetools.NProperty): - """<Inheritance> - inherits some of its properties from the file class """ - which = 'c@#^' - want = 'file' -class minimum_partition_size(aetools.NProperty): - """minimum partition size - the smallest memory size with which the application can be launched """ - which = 'mprt' - want = 'long' -class partition_size(aetools.NProperty): - """partition size - the memory size with which the application will be launched """ - which = 'appt' - want = 'long' -class suggested_partition_size(aetools.NProperty): - """suggested partition size - the memory size with which the developer recommends the application be launched """ - which = 'sprt' - want = 'long' -class scriptable(aetools.NProperty): - """scriptable - Is the application high-level event aware? """ - which = 'isab' - want = 'bool' - -class container_window(aetools.ComponentItem): - """container window - A window that contains items """ - want = 'cwnd' -class container(aetools.NProperty): - """container - the container from which the window was opened """ - which = 'ctnr' - want = 'obj ' -class item(aetools.NProperty): - """item - the item from which the window was opened (always returns something) """ - which = 'cobj' - want = 'obj ' -class has_custom_view_settings(aetools.NProperty): - """has custom view settings - Does the folder have custom view settings or is it using the default global settings? """ - which = 'cuss' - want = 'long' -class view(aetools.NProperty): - """view - the current view for the window (icon, name, date, etc.) """ - which = 'pvew' - want = 'long' -class previous_list_view(aetools.NProperty): - """previous list view - the last non-icon view (by name, by date, etc.) selected for the container (forgotten as soon as the window is closed and only available when the window is open) """ - which = 'svew' - want = 'enum' -class button_view_arrangement(aetools.NProperty): - """button view arrangement - the property by which to keep icons arranged within a button view window """ - which = 'barr' - want = 'earr' -class spatial_view_arrangement(aetools.NProperty): - """spatial view arrangement - the property by which to keep icons arranged within a spatial view window """ - which = 'iarr' - want = 'earr' -class sort_direction(aetools.NProperty): - """sort direction - The direction in which the window is sorted """ - which = 'sord' - want = 'sodr' -class calculate_folder_sizes(aetools.NProperty): - """calculate folder sizes - Are folder sizes calculated and displayed in the window? (does not apply to suitcase windows) """ - which = 'sfsz' - want = 'bool' -class show_comments(aetools.NProperty): - """show comments - Are comments displayed in the window? (does not apply to suitcases) """ - which = 'scom' - want = 'bool' -class show_creation_date(aetools.NProperty): - """show creation date - Are creation dates displayed in the window? """ - which = 'scda' - want = 'bool' -class show_kind(aetools.NProperty): - """show kind - Are document kinds displayed in the window? """ - which = 'sknd' - want = 'bool' -class show_label(aetools.NProperty): - """show label - Are labels displayed in the window? """ - which = 'slbl' - want = 'bool' -class show_modification_date(aetools.NProperty): - """show modification date - Are modification dates displayed in the window? """ - which = 'sdat' - want = 'bool' -class show_size(aetools.NProperty): - """show size - Are file sizes displayed in the window? """ - which = 'ssiz' - want = 'bool' -class show_version(aetools.NProperty): - """show version - Are file versions displayed in the window? (does not apply to suitcase windows) """ - which = 'svrs' - want = 'bool' -class use_relative_dates(aetools.NProperty): - """use relative dates - Are relative dates (e.g., today, yesterday) shown in the window? """ - which = 'urdt' - want = 'bool' - -class accessory_process(aetools.ComponentItem): - """accessory process - A process launched from a desk accessory file """ - want = 'pcda' - -accessory_processes = accessory_process - -class accessory_suitcase(aetools.ComponentItem): - """accessory suitcase - A desk accessory suitcase """ - want = 'dsut' - -accessory_suitcases = accessory_suitcase - -class internet_location(aetools.ComponentItem): - """internet location - An file containing an internet location """ - want = 'inlf' - -internet_locations = internet_location - -class information_window(aetools.ComponentItem): - """information window - An information window (opened by \xd2Get Info\xd3) """ - want = 'iwnd' -class comment(aetools.NProperty): - """comment - the comment """ - which = 'comt' - want = 'itxt' -class size(aetools.NProperty): - """size - the logical size of the item """ - which = 'ptsz' - want = 'long' -class physical_size(aetools.NProperty): - """physical size - the actual space used by the item on disk """ - which = 'phys' - want = 'long' -class creation_date(aetools.NProperty): - """creation date - the date on which the item was created """ - which = 'ascd' - want = 'ldt ' -class modification_date(aetools.NProperty): - """modification date - the date on which the item was last modified """ - which = 'asmo' - want = 'ldt ' -class icon(aetools.NProperty): - """icon - the icon bitmap of the item """ - which = 'iimg' - want = 'ifam' -class locked(aetools.NProperty): - """locked - Is the item locked (applies only to file and application information windows)? """ - which = 'aslk' - want = 'bool' -class stationery(aetools.NProperty): - """stationery - Is the item a stationery pad? """ - which = 'pspd' - want = 'bool' -class warn_before_emptying(aetools.NProperty): - """warn before emptying - Display a dialog when emptying the trash (only valid for trash info window)? """ - which = 'warn' - want = 'bool' - -class item(aetools.ComponentItem): - """item - An item """ - want = 'cobj' -class index(aetools.NProperty): - """index - the index in the front-to-back ordering within its container """ - which = 'pidx' - want = 'long' -class id(aetools.NProperty): - """id - an id that identifies the item """ - which = 'ID ' - want = 'long' -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 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 bounds(aetools.NProperty): - """bounds - the bounding rectangle of the item (can only be set for an item in a window viewed as icons or buttons) """ - which = 'pbnd' - want = 'qdrt' -class label_index(aetools.NProperty): - """label index - the label of the item """ - which = 'labi' - want = 'long' -class kind(aetools.NProperty): - """kind - the kind of the item """ - which = 'kind' - want = 'itxt' -class description(aetools.NProperty): - """description - a description of the item """ - which = 'dscr' - want = 'itxt' -class selected(aetools.NProperty): - """selected - Is the item selected? """ - which = 'issl' - want = 'bool' -class content_space(aetools.NProperty): - """content space - the window that would open if the item was opened """ - which = 'dwnd' - want = 'obj ' -class window(aetools.NProperty): - """window - the window that would open if the item was opened """ - which = 'cwin' - want = 'obj ' -class information_window(aetools.NProperty): - """information window - the information window for the item """ - which = 'iwnd' - want = 'obj ' - -class process(aetools.ComponentItem): - """process - A process running on this computer """ - want = 'prcs' -class file(aetools.NProperty): - """file - the file from which the process was launched """ - which = 'file' - want = 'obj ' -class file_type(aetools.NProperty): - """file type - the OSType of the file type of the process """ - which = 'asty' - want = 'type' -class creator_type(aetools.NProperty): - """creator type - the OSType of the creator of the process (the signature) """ - which = 'fcrt' - want = 'type' -class remote_events(aetools.NProperty): - """remote events - Does the process accept remote events? """ - which = 'revt' - want = 'bool' -class partition_space_used(aetools.NProperty): - """partition space used - the number of bytes currently used in the process' partition """ - which = 'pusd' - want = 'long' - -class sharable_container(aetools.ComponentItem): - """sharable container - A container that may be shared (disks and folders) """ - want = 'sctr' -class owner(aetools.NProperty): - """owner - the user that owns the container (file sharing must be on to use this property) """ - which = 'sown' - want = 'itxt' -class group(aetools.NProperty): - """group - the user or group that has special access to the container (file sharing must be on to use this property) """ - which = 'sgrp' - want = 'itxt' -class owner_privileges(aetools.NProperty): - """owner privileges - the see folders/see files/make changes privileges for the owner (file sharing must be on to use this property) """ - which = 'ownr' - want = 'priv' -class group_privileges(aetools.NProperty): - """group privileges - the see folders/see files/make changes privileges for the group (file sharing must be on to use this property) """ - which = 'gppr' - want = 'priv' -class guest_privileges(aetools.NProperty): - """guest privileges - the see folders/see files/make changes privileges for everyone (file sharing must be on to use this property) """ - which = 'gstp' - want = 'priv' -class inherited_privileges(aetools.NProperty): - """inherited privileges - Are the privileges of the container always the same as the container in which it is stored? (file sharing must be on to use this property) """ - which = 'iprv' - want = 'bool' -class mounted(aetools.NProperty): - """mounted - Is the container mounted on another machine's desktop? (file sharing must be on to use this property) """ - which = 'smou' - want = 'bool' -class exported(aetools.NProperty): - """exported - Is the container a share point or inside a share point, i.e., can the container be shared? (file sharing must be on to use this property) """ - which = 'sexp' - want = 'bool' -class shared(aetools.NProperty): - """shared - Is the container a share point, i.e., is the container currently being shared? (file sharing must be on to use this property) """ - which = 'shar' - want = 'bool' -class protected(aetools.NProperty): - """protected - Is the container protected from being moved, renamed and deleted? (file sharing must be on to use this property) """ - which = 'spro' - want = 'bool' - -class trash_2d_object(aetools.ComponentItem): - """trash-object - Trash-object is the class of the \xd2trash\xd3 object """ - want = 'ctrs' - -class preferences(aetools.ComponentItem): - """preferences - The Finder Preferences """ - want = 'cprf' -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' - want = 'shor' -class spring_open_folders(aetools.NProperty): - """spring open folders - Spring open folders after the specified delay? """ - which = 'sprg' - want = 'bool' -class use_simple_menus(aetools.NProperty): - """use simple menus - Use simplified Finder menus? """ - which = 'usme' - want = 'bool' -class use_wide_grid(aetools.NProperty): - """use wide grid - Space icons on a wide grid? """ - which = 'uswg' - want = 'bool' - -class window(aetools.ComponentItem): - """window - A window """ - want = 'cwin' -class titled(aetools.NProperty): - """titled - Does the window have a title bar? """ - which = 'ptit' - want = 'bool' -class closeable(aetools.NProperty): - """closeable - Does the window have a close box? """ - which = 'hclb' - want = 'bool' -class floating(aetools.NProperty): - """floating - Does the window have a title bar? """ - which = 'isfl' - want = 'bool' -class modal(aetools.NProperty): - """modal - Is the window modal? """ - which = 'pmod' - want = 'bool' -class resizable(aetools.NProperty): - """resizable - Is the window resizable? """ - which = 'prsz' - want = 'bool' -class zoomable(aetools.NProperty): - """zoomable - Is the window zoomable? """ - which = 'iszm' - want = 'bool' -class zoomed(aetools.NProperty): - """zoomed - Is the window zoomed? """ - which = 'pzum' - want = 'bool' -class zoomed_full_size(aetools.NProperty): - """zoomed full size - Is the window zoomed to the full size of the screen? (can only be set, not read, and only applies to open non-pop-up windows) """ - which = 'zumf' - want = 'bool' -class popup(aetools.NProperty): - """popup - Is the window is a pop-up window? (only applies to open container windows in the Finder and can only be set when the Finder is the front application) """ - which = 'drwr' - want = 'bool' -class pulled_open(aetools.NProperty): - """pulled open - Is the window pulled open (only applies to pop-up windows and can only be set when the Finder is the front application)? """ - which = 'pull' - want = 'bool' -class collapsed(aetools.NProperty): - """collapsed - Is the window collapsed (only applies to open non-pop-up windows)? """ - which = 'wshd' - want = 'bool' -application._superclassnames = [] -application._privpropdict = { - 'properties' : properties, - 'clipboard' : clipboard, - 'largest_free_block' : largest_free_block, - 'name' : name, - 'visible' : visible, - 'frontmost' : frontmost, - 'selection' : selection, - 'insertion_location' : insertion_location, - 'file_sharing' : file_sharing, - 'sharing_starting_up' : sharing_starting_up, - 'product_version' : product_version, - 'version' : version, - 'about_this_computer' : about_this_computer, - 'desktop' : desktop, - 'Finder_preferences' : Finder_preferences, -} -application._privelemdict = { -} -import Files_and_suitcases -application_file._superclassnames = ['file'] -application_file._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'minimum_partition_size' : minimum_partition_size, - 'partition_size' : partition_size, - 'suggested_partition_size' : suggested_partition_size, - 'scriptable' : scriptable, -} -application_file._privelemdict = { -} -container_window._superclassnames = ['window'] -container_window._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'container' : container, - 'item' : item, - 'has_custom_view_settings' : has_custom_view_settings, - 'view' : view, - 'previous_list_view' : previous_list_view, - 'button_view_arrangement' : button_view_arrangement, - 'spatial_view_arrangement' : spatial_view_arrangement, - 'sort_direction' : sort_direction, - 'calculate_folder_sizes' : calculate_folder_sizes, - 'show_comments' : show_comments, - 'show_creation_date' : show_creation_date, - 'show_kind' : show_kind, - 'show_label' : show_label, - 'show_modification_date' : show_modification_date, - 'show_size' : show_size, - 'show_version' : show_version, - 'use_relative_dates' : use_relative_dates, -} -container_window._privelemdict = { -} -accessory_process._superclassnames = [] -accessory_process._privpropdict = { -} -accessory_process._privelemdict = { -} -accessory_suitcase._superclassnames = [] -accessory_suitcase._privpropdict = { -} -accessory_suitcase._privelemdict = { -} -internet_location._superclassnames = [] -internet_location._privpropdict = { -} -internet_location._privelemdict = { -} -information_window._superclassnames = ['window'] -information_window._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'item' : item, - 'comment' : comment, - 'size' : size, - 'physical_size' : physical_size, - 'creation_date' : creation_date, - 'modification_date' : modification_date, - 'suggested_partition_size' : suggested_partition_size, - 'minimum_partition_size' : minimum_partition_size, - 'partition_size' : partition_size, - 'icon' : icon, - 'locked' : locked, - 'stationery' : stationery, - 'warn_before_emptying' : warn_before_emptying, - 'product_version' : product_version, - 'version' : version, -} -information_window._privelemdict = { -} -item._superclassnames = [] -item._privpropdict = { - 'properties' : properties, - 'name' : name, - 'index' : index, - 'id' : id, - 'container' : container, - 'disk' : disk, - 'folder' : folder, - 'position' : position, - 'bounds' : bounds, - 'label_index' : label_index, - 'kind' : kind, - 'description' : description, - 'comment' : comment, - 'size' : size, - 'physical_size' : physical_size, - 'creation_date' : creation_date, - 'modification_date' : modification_date, - 'icon' : icon, - 'selected' : selected, - 'content_space' : content_space, - 'window' : window, - 'information_window' : information_window, -} -item._privelemdict = { -} -process._superclassnames = [] -process._privpropdict = { - 'properties' : properties, - 'name' : name, - 'visible' : visible, - 'frontmost' : frontmost, - 'file' : file, - 'file_type' : file_type, - 'creator_type' : creator_type, - 'scriptable' : scriptable, - 'remote_events' : remote_events, - 'partition_size' : partition_size, - 'partition_space_used' : partition_space_used, -} -process._privelemdict = { -} -import Containers_and_folders -sharable_container._superclassnames = ['container'] -sharable_container._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'owner' : owner, - 'group' : group, - 'owner_privileges' : owner_privileges, - 'group_privileges' : group_privileges, - 'guest_privileges' : guest_privileges, - 'inherited_privileges' : inherited_privileges, - 'mounted' : mounted, - 'exported' : exported, - 'shared' : shared, - 'protected' : protected, -} -sharable_container._privelemdict = { -} -trash_2d_object._superclassnames = ['container'] -trash_2d_object._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'warn_before_emptying' : warn_before_emptying, -} -trash_2d_object._privelemdict = { -} -preferences._superclassnames = [] -preferences._privpropdict = { - 'window' : window, - 'calculate_folder_sizes' : calculate_folder_sizes, - 'delay_before_springing' : delay_before_springing, - 'show_comments' : show_comments, - 'show_creation_date' : show_creation_date, - 'show_kind' : show_kind, - 'show_label' : show_label, - 'show_modification_date' : show_modification_date, - 'show_size' : show_size, - 'show_version' : show_version, - 'spring_open_folders' : spring_open_folders, - 'use_relative_dates' : use_relative_dates, - 'use_simple_menus' : use_simple_menus, - 'use_wide_grid' : use_wide_grid, -} -preferences._privelemdict = { -} -window._superclassnames = [] -window._privpropdict = { - 'properties' : properties, - 'position' : position, - 'bounds' : bounds, - 'titled' : titled, - 'name' : name, - 'index' : index, - 'closeable' : closeable, - 'floating' : floating, - 'modal' : modal, - 'resizable' : resizable, - 'zoomable' : zoomable, - 'zoomed' : zoomed, - 'zoomed_full_size' : zoomed_full_size, - 'visible' : visible, - 'popup' : popup, - 'pulled_open' : pulled_open, - 'collapsed' : collapsed, -} -window._privelemdict = { -} - -# -# Indices of types declared in this module -# -_classdeclarations = { - 'dsut' : accessory_suitcase, - 'cprf' : preferences, - 'sctr' : sharable_container, - 'capp' : application, - 'ctrs' : trash_2d_object, - 'pcda' : accessory_process, - 'cwin' : window, - 'iwnd' : information_window, - 'prcs' : process, - 'appf' : application_file, - 'inlf' : internet_location, - 'cwnd' : container_window, - 'cobj' : item, -} - -_propdeclarations = { - 'ver2' : product_version, - 'pbnd' : bounds, - 'asdr' : folder, - 'gppr' : group_privileges, - 'pidx' : index, - 'isfl' : floating, - 'sown' : owner, - 'fsup' : sharing_starting_up, - 'urdt' : use_relative_dates, - 'scom' : show_comments, - 'appt' : partition_size, - 'iimg' : icon, - 'asty' : file_type, - 'uswg' : use_wide_grid, - 'ptit' : titled, - 'dela' : delay_before_springing, - 'cuss' : has_custom_view_settings, - 'gstp' : guest_privileges, - 'isab' : scriptable, - 'iszm' : zoomable, - 'sord' : sort_direction, - 'pins' : insertion_location, - 'pspd' : stationery, - 'desk' : desktop, - 'ascd' : creation_date, - 'ctnr' : container, - 'abbx' : about_this_computer, - 'pull' : pulled_open, - 'kind' : kind, - 'ptsz' : size, - 'hclb' : closeable, - 'sgrp' : group, - 'mfre' : largest_free_block, - 'revt' : remote_events, - 'drwr' : popup, - 'iwnd' : information_window, - 'ownr' : owner_privileges, - 'pzum' : zoomed, - 'prsz' : resizable, - 'barr' : button_view_arrangement, - 'pfrp' : Finder_preferences, - 'zumf' : zoomed_full_size, - 'iprv' : inherited_privileges, - 'vers' : version, - 'c@#^' : _3c_Inheritance_3e_, - 'ID ' : id, - 'sfsz' : calculate_folder_sizes, - 'file' : file, - 'dwnd' : content_space, - 'shar' : shared, - 'pmod' : modal, - 'sele' : selection, - 'pisf' : frontmost, - 'sprt' : suggested_partition_size, - 'spro' : protected, - 'pcli' : clipboard, - 'cwin' : window, - 'mprt' : minimum_partition_size, - 'sprg' : spring_open_folders, - 'ssiz' : show_size, - 'asmo' : modification_date, - 'svrs' : show_version, - 'cobj' : item, - 'posn' : position, - 'iarr' : spatial_view_arrangement, - 'phys' : physical_size, - 'sknd' : show_kind, - 'labi' : label_index, - 'svew' : previous_list_view, - 'dscr' : description, - 'comt' : comment, - 'sexp' : exported, - 'usme' : use_simple_menus, - 'cdis' : disk, - 'wshd' : collapsed, - 'slbl' : show_label, - 'warn' : warn_before_emptying, - 'scda' : show_creation_date, - 'pvis' : visible, - 'issl' : selected, - 'smou' : mounted, - 'sdat' : show_modification_date, - 'fcrt' : creator_type, - 'pusd' : partition_space_used, - 'pvew' : view, - 'fshr' : file_sharing, - 'qpro' : properties, - 'aslk' : locked, - 'pnam' : name, -} - -_compdeclarations = { -} - -_enumdeclarations = { -} diff --git a/Mac/Lib/lib-scriptpackages/Finder/Enumerations.py b/Mac/Lib/lib-scriptpackages/Finder/Enumerations.py deleted file mode 100644 index 97cfbfb..0000000 --- a/Mac/Lib/lib-scriptpackages/Finder/Enumerations.py +++ /dev/null @@ -1,117 +0,0 @@ -"""Suite Enumerations: Enumerations for the Finder -Level 1, version 1 - -Generated from /Volumes/Sap/System Folder/Finder -AETE/AEUT resource version 0/144, language 0, script 0 -""" - -import aetools -import MacOS - -_code = 'tpnm' - -from StdSuites.Type_Names_Suite import * -class Enumerations_Events(Type_Names_Suite_Events): - - pass - -_Enum_ipnl = { - 'General_Information_panel' : 'gpnl', # - 'Sharing_panel' : 'spnl', # - 'Memory_panel' : 'mpnl', # - 'Status_and_Configuration_panel' : 'scnl', # - 'Fonts_panel' : 'fpnl', # -} - -_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_earr = { - 'not_arranged' : 'narr', # - 'snap_to_grid' : 'grda', # - 'arranged_by_name' : 'nama', # - 'arranged_by_modification_date' : 'mdta', # - 'arranged_by_creation_date' : 'cdta', # - 'arranged_by_size' : 'siza', # - 'arranged_by_kind' : 'kina', # - 'arranged_by_label' : 'laba', # -} - -_Enum_sodr = { - 'normal' : 'snrm', # - 'reversed' : 'srvs', # -} - -_Enum_isiz = { - 'mini' : 'miic', # - 'small' : 'smic', # - 'large' : 'lgic', # -} - -_Enum_vwby = { - 'conflicts' : 'cflc', # - 'existing_items' : 'exsi', # - 'small_icon' : 'smic', # - 'icon' : 'iimg', # - 'name' : 'pnam', # - 'modification_date' : 'asmo', # - 'size' : 'ptsz', # - 'kind' : 'kind', # - 'comment' : 'comt', # - 'label' : 'labi', # - 'version' : 'vers', # - 'creation_date' : 'ascd', # - 'small_button' : 'smbu', # - 'large_button' : 'lgbu', # - 'grid' : 'grid', # - 'all' : 'kyal', # -} - -_Enum_gsen = { - 'CPU' : 'proc', # - 'FPU' : 'fpu ', # - 'MMU' : 'mmu ', # - 'hardware' : 'hdwr', # - 'operating_system' : 'os ', # - 'sound_system' : 'snd ', # - 'memory_available' : 'lram', # - 'memory_installed' : 'ram ', # -} - -_Enum_ese0 = { - 'starting_up' : 'ese2', # - 'running' : 'ese3', # - 'rebuilding_desktop' : 'ese5', # - 'copying' : 'ese4', # - 'restarting' : 'ese6', # - 'quitting' : 'ese7', # -} - - -# -# Indices of types declared in this module -# -_classdeclarations = { -} - -_propdeclarations = { -} - -_compdeclarations = { -} - -_enumdeclarations = { - 'sodr' : _Enum_sodr, - 'ipnl' : _Enum_ipnl, - 'ese0' : _Enum_ese0, - 'vwby' : _Enum_vwby, - 'gsen' : _Enum_gsen, - 'isiz' : _Enum_isiz, - 'earr' : _Enum_earr, - 'pple' : _Enum_pple, -} diff --git a/Mac/Lib/lib-scriptpackages/Finder/Files_and_suitcases.py b/Mac/Lib/lib-scriptpackages/Finder/Files_and_suitcases.py deleted file mode 100644 index 0e85539..0000000 --- a/Mac/Lib/lib-scriptpackages/Finder/Files_and_suitcases.py +++ /dev/null @@ -1,296 +0,0 @@ -"""Suite Files and suitcases: Classes representing files and suitcases -Level 1, version 1 - -Generated from /Volumes/Sap/System Folder/Finder -AETE/AEUT resource version 0/144, language 0, script 0 -""" - -import aetools -import MacOS - -_code = 'fndr' - -class Files_and_suitcases_Events: - - pass - - -class file(aetools.ComponentItem): - """file - A file """ - want = 'file' -class _3c_Inheritance_3e_(aetools.NProperty): - """<Inheritance> - inherits some of its properties from the item class """ - which = 'c@#^' - want = 'cobj' -class file_type(aetools.NProperty): - """file type - the OSType identifying the type of data contained in the item """ - which = 'asty' - want = 'type' -class creator_type(aetools.NProperty): - """creator type - the OSType identifying the application that created the item """ - which = 'fcrt' - want = 'type' -class locked(aetools.NProperty): - """locked - Is the file locked? """ - which = 'aslk' - want = 'bool' -class stationery(aetools.NProperty): - """stationery - Is the file a stationery pad? """ - which = 'pspd' - 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' -class version(aetools.NProperty): - """version - the version of the file (visible at the bottom of the \xd2Get Info\xd3 window) """ - which = 'vers' - want = 'itxt' - -files = file - -class alias_file(aetools.ComponentItem): - """alias file - An alias file (created with \xd2Make Alias\xd3) """ - want = 'alia' -class original_item(aetools.NProperty): - """original item - the original item pointed to by the alias """ - which = 'orig' - want = 'obj ' - -alias_files = alias_file - -class application_file(aetools.ComponentItem): - """application file - An application's file on disk """ - want = 'appf' -class suggested_size(aetools.NProperty): - """suggested size - the memory size with which the developer recommends the application be launched """ - which = 'sprt' - want = 'long' -class minimum_size(aetools.NProperty): - """minimum size - the smallest memory size with which the application can be launched """ - which = 'mprt' - want = 'long' -class preferred_size(aetools.NProperty): - """preferred size - the memory size with which the application will be launched """ - which = 'appt' - want = 'long' -class accepts_high_level_events(aetools.NProperty): - """accepts high level events - Is the application high-level event aware? """ - which = 'isab' - want = 'bool' -class has_scripting_terminology(aetools.NProperty): - """has scripting terminology - Does the process have a scripting terminology, i.e., can it be scripted? """ - which = 'hscr' - want = 'bool' - -application_files = application_file - -class document_file(aetools.ComponentItem): - """document file - A document file """ - want = 'docf' - -document_files = document_file - -class font_file(aetools.ComponentItem): - """font file - A font file """ - want = 'fntf' - -font_files = font_file - -class desk_accessory_file(aetools.ComponentItem): - """desk accessory file - A desk accessory file """ - want = 'dafi' - -desk_accessory_files = desk_accessory_file - -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' - -internet_location_files = internet_location_file - -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 clipping(aetools.ComponentItem): - """clipping - A clipping """ - want = 'clpf' - -clippings = clipping - -class package(aetools.ComponentItem): - """package - A package """ - want = 'pack' - -packages = package - -class suitcase(aetools.ComponentItem): - """suitcase - A font or desk accessory suitcase """ - want = 'stcs' -# element 'cobj' as ['indx', 'name'] - -suitcases = suitcase - -class font_suitcase(aetools.ComponentItem): - """font suitcase - A font suitcase """ - want = 'fsut' -# element 'cobj' as ['indx', 'name'] - -font_suitcases = font_suitcase - -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 -import Earlier_terms -file._superclassnames = ['item'] -file._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'file_type' : file_type, - 'creator_type' : creator_type, - 'locked' : locked, - 'stationery' : stationery, - 'product_version' : product_version, - 'version' : version, -} -file._privelemdict = { -} -alias_file._superclassnames = ['file'] -alias_file._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'original_item' : original_item, -} -alias_file._privelemdict = { -} -application_file._superclassnames = ['file'] -application_file._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'suggested_size' : suggested_size, - 'minimum_size' : minimum_size, - 'preferred_size' : preferred_size, - 'accepts_high_level_events' : accepts_high_level_events, - 'has_scripting_terminology' : has_scripting_terminology, -} -application_file._privelemdict = { -} -document_file._superclassnames = ['file'] -document_file._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, -} -document_file._privelemdict = { -} -font_file._superclassnames = ['file'] -font_file._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, -} -font_file._privelemdict = { -} -desk_accessory_file._superclassnames = ['file'] -desk_accessory_file._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, -} -desk_accessory_file._privelemdict = { -} -internet_location_file._superclassnames = ['file'] -internet_location_file._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'location' : location, -} -internet_location_file._privelemdict = { -} -sound_file._superclassnames = ['file'] -sound_file._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'sound' : sound, -} -sound_file._privelemdict = { -} -clipping._superclassnames = ['file'] -clipping._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, -} -clipping._privelemdict = { -} -package._superclassnames = ['item'] -package._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, -} -package._privelemdict = { -} -suitcase._superclassnames = ['file'] -suitcase._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, -} -suitcase._privelemdict = { - 'item' : Earlier_terms.item, -} -font_suitcase._superclassnames = ['suitcase'] -font_suitcase._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, -} -font_suitcase._privelemdict = { - 'item' : Earlier_terms.item, -} -desk_accessory_suitcase._superclassnames = ['suitcase'] -desk_accessory_suitcase._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, -} -desk_accessory_suitcase._privelemdict = { - 'item' : Earlier_terms.item, -} - -# -# Indices of types declared in this module -# -_classdeclarations = { - 'sndf' : sound_file, - 'fntf' : font_file, - 'inlf' : internet_location_file, - 'clpf' : clipping, - 'alia' : alias_file, - 'dafi' : desk_accessory_file, - 'dsut' : desk_accessory_suitcase, - 'fsut' : font_suitcase, - 'file' : file, - 'appf' : application_file, - 'stcs' : suitcase, - 'docf' : document_file, - 'pack' : package, -} - -_propdeclarations = { - 'vers' : version, - 'ver2' : product_version, - 'snd ' : sound, - 'appt' : preferred_size, - 'sprt' : suggested_size, - 'isab' : accepts_high_level_events, - 'hscr' : has_scripting_terminology, - 'asty' : file_type, - 'c@#^' : _3c_Inheritance_3e_, - 'fcrt' : creator_type, - 'mprt' : minimum_size, - 'pspd' : stationery, - 'iloc' : location, - 'aslk' : locked, - 'orig' : original_item, -} - -_compdeclarations = { -} - -_enumdeclarations = { -} diff --git a/Mac/Lib/lib-scriptpackages/Finder/Finder_Basics.py b/Mac/Lib/lib-scriptpackages/Finder/Finder_Basics.py deleted file mode 100644 index 3589126..0000000 --- a/Mac/Lib/lib-scriptpackages/Finder/Finder_Basics.py +++ /dev/null @@ -1,380 +0,0 @@ -"""Suite Finder Basics: Commonly-used Finder commands and object classes -Level 1, version 1 - -Generated from /Volumes/Sap/System Folder/Finder -AETE/AEUT resource version 0/144, language 0, script 0 -""" - -import aetools -import MacOS - -_code = 'fndr' - -class Finder_Basics_Events: - - _argmap_computer = { - 'has' : 'has ', - } - - def computer(self, _object, _attributes={}, **_arguments): - """computer: Test attributes of this computer - Required argument: the attribute to test - Keyword argument has: test specific bits of response - Keyword argument _attributes: AppleEvent attribute dictionary - Returns: the result of the query - """ - _code = 'fndr' - _subcode = 'gstl' - - aetools.keysubst(_arguments, self._argmap_computer) - _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 copy(self, _no_object=None, _attributes={}, **_arguments): - """copy: Copy the selected items to the clipboard (the Finder must be the front application) - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'misc' - _subcode = 'copy' - - 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 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['----'] - - _argmap_sort = { - 'by' : 'by ', - } - - def sort(self, _object, _attributes={}, **_arguments): - """sort: Return the specified object(s) in a sorted list - Required argument: a list of finder objects to sort - Keyword argument by: the property to sort the items by (name, index, date, etc.) - Keyword argument _attributes: AppleEvent attribute dictionary - Returns: the sorted items in their new order - """ - _code = 'DATA' - _subcode = 'SORT' - - aetools.keysubst(_arguments, self._argmap_sort) - _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): - """application - The Finder """ - want = 'capp' -class clipboard(aetools.NProperty): - """clipboard - the Finder\xd5s clipboard window """ - which = 'pcli' - want = 'obj ' -class largest_free_block(aetools.NProperty): - """largest free block - the largest free block of process memory available to launch an application """ - which = 'mfre' - want = 'long' -class name(aetools.NProperty): - """name - the Finder\xd5s name """ - which = 'pnam' - want = 'itxt' -class visible(aetools.NProperty): - """visible - Is the Finder\xd5s layer visible? """ - which = 'pvis' - want = 'bool' -class frontmost(aetools.NProperty): - """frontmost - Is the Finder the frontmost process? """ - which = 'pisf' - want = 'bool' -class selection(aetools.NProperty): - """selection - the selection visible to the user """ - which = 'sele' - want = 'obj ' -class 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 ' -class file_sharing(aetools.NProperty): - """file sharing - Is file sharing on? """ - which = 'fshr' - want = 'bool' -class sharing_starting_up(aetools.NProperty): - """sharing starting up - Is file sharing in the process of starting up? """ - which = 'fsup' - want = 'bool' -class product_version(aetools.NProperty): - """product version - the version of the System software running on this computer """ - which = 'ver2' - want = 'itxt' -class version(aetools.NProperty): - """version - the version of the Finder """ - which = 'vers' - want = 'itxt' -class about_this_computer(aetools.NProperty): - """about this computer - the \xd2About this Computer\xd3 dialog and the list of running processes displayed in it """ - which = 'abbx' - want = 'obj ' -class desktop(aetools.NProperty): - """desktop - the desktop """ - which = 'desk' - want = 'cdsk' -class execution_state(aetools.NProperty): - """execution state - the current execution state of the Finder """ - which = 'exec' - want = 'ese0' -class Finder_preferences(aetools.NProperty): - """Finder preferences - Various preferences that apply to the Finder as a whole """ - which = 'pfrp' - want = 'cprf' -# element 'cobj' as ['indx', 'name'] -# element 'ctnr' as ['indx', 'name'] -# element 'sctr' as ['indx', 'name'] -# element 'cdis' as ['indx', 'name', 'ID '] -# element 'cfol' as ['indx', 'name', 'ID '] -# element 'file' as ['indx', 'name'] -# element 'alia' as ['indx', 'name'] -# element 'appf' as ['indx', 'name', 'ID '] -# element 'docf' as ['indx', 'name'] -# element 'fntf' as ['indx', 'name'] -# element 'dafi' as ['indx', 'name'] -# element 'inlf' as ['indx', 'name'] -# element 'sndf' as ['indx', 'name'] -# element 'clpf' as ['indx', 'name'] -# element 'pack' as ['indx', 'name'] -# element 'stcs' as ['indx', 'name'] -# element 'fsut' as ['indx', 'name'] -# element 'dsut' as ['indx', 'name'] -# element 'prcs' as ['indx', 'name'] -# element 'pcap' as ['indx', 'name'] -# element 'pcda' as ['indx', 'name'] -# element 'cwin' as ['indx', 'name'] -# element 'cwnd' as ['indx', 'name'] -# element 'iwnd' as ['indx', 'name'] -# element 'vwnd' as ['indx', 'name'] -# element 'lwnd' as ['indx', 'name'] -# element 'dwnd' as ['indx', 'name'] - -class special_folders(aetools.ComponentItem): - """special folders - The special folders used by the Mac OS """ - want = 'spfl' -class system_folder(aetools.NProperty): - """system folder - the System folder """ - which = 'macs' - want = 'obj ' -class apple_menu_items_folder(aetools.NProperty): - """apple menu items folder - the special folder named \xd2Apple Menu Items,\xd3 the contents of which appear in the Apple menu """ - which = 'amnu' - want = 'obj ' -class control_panels_folder(aetools.NProperty): - """control panels folder - the special folder named \xd2Control Panels\xd3 """ - which = 'ctrl' - want = 'obj ' -class extensions_folder(aetools.NProperty): - """extensions folder - the special folder named \xd2Extensions\xd3 """ - which = 'extn' - want = 'obj ' -class fonts_folder(aetools.NProperty): - """fonts folder - the special folder named \xd2Fonts\xd3 """ - which = 'font' - want = 'obj ' -class preferences_folder(aetools.NProperty): - """preferences folder - the special folder named \xd2Preferences\xd3 """ - which = 'pref' - want = 'obj ' -class shutdown_items_folder(aetools.NProperty): - """shutdown items folder - the special folder named \xd2Shutdown Items\xd3 """ - which = 'shdf' - want = 'obj ' -class startup_items_folder(aetools.NProperty): - """startup items folder - the special folder named \xd2Startup Items\xd3 """ - which = 'strt' - want = 'obj ' -class temporary_items_folder(aetools.NProperty): - """temporary items folder - the special folder named \xd2Temporary Items\xd3 (invisible) """ - which = 'temp' - want = 'obj ' -application._superclassnames = [] -import Earlier_terms -import Containers_and_folders -import Files_and_suitcases -import Process_classes -import Window_classes -application._privpropdict = { - 'clipboard' : clipboard, - 'largest_free_block' : largest_free_block, - 'name' : name, - 'visible' : visible, - 'frontmost' : frontmost, - 'selection' : selection, - 'insertion_location' : insertion_location, - 'file_sharing' : file_sharing, - 'sharing_starting_up' : sharing_starting_up, - 'product_version' : product_version, - 'version' : version, - 'about_this_computer' : about_this_computer, - 'desktop' : desktop, - 'execution_state' : execution_state, - 'Finder_preferences' : Finder_preferences, -} -application._privelemdict = { - 'item' : Earlier_terms.item, - 'container' : Containers_and_folders.container, - 'sharable_container' : Earlier_terms.sharable_container, - 'disk' : Containers_and_folders.disk, - 'folder' : Containers_and_folders.folder, - 'file' : Files_and_suitcases.file, - 'alias_file' : Files_and_suitcases.alias_file, - 'application_file' : Earlier_terms.application_file, - 'document_file' : Files_and_suitcases.document_file, - 'font_file' : Files_and_suitcases.font_file, - 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file, - 'internet_location' : Earlier_terms.internet_location, - 'sound_file' : Files_and_suitcases.sound_file, - 'clipping' : Files_and_suitcases.clipping, - 'package' : Files_and_suitcases.package, - 'suitcase' : Files_and_suitcases.suitcase, - 'font_suitcase' : Files_and_suitcases.font_suitcase, - 'accessory_suitcase' : Earlier_terms.accessory_suitcase, - 'process' : Earlier_terms.process, - 'application_process' : Process_classes.application_process, - 'accessory_process' : Earlier_terms.accessory_process, - 'window' : Earlier_terms.window, - 'container_window' : Earlier_terms.container_window, - 'information_window' : Earlier_terms.information_window, - 'view_options_window' : Window_classes.view_options_window, - 'clipping_window' : Window_classes.clipping_window, - 'content_space' : Window_classes.content_space, -} -special_folders._superclassnames = [] -special_folders._privpropdict = { - 'system_folder' : system_folder, - 'apple_menu_items_folder' : apple_menu_items_folder, - 'control_panels_folder' : control_panels_folder, - 'extensions_folder' : extensions_folder, - 'fonts_folder' : fonts_folder, - 'preferences_folder' : preferences_folder, - 'shutdown_items_folder' : shutdown_items_folder, - 'startup_items_folder' : startup_items_folder, - 'temporary_items_folder' : temporary_items_folder, -} -special_folders._privelemdict = { -} - -# -# Indices of types declared in this module -# -_classdeclarations = { - 'capp' : application, - 'spfl' : special_folders, -} - -_propdeclarations = { - 'vers' : version, - 'ver2' : product_version, - 'pfrp' : Finder_preferences, - 'exec' : execution_state, - 'pins' : insertion_location, - 'mfre' : largest_free_block, - 'fsup' : sharing_starting_up, - 'desk' : desktop, - 'ctrl' : control_panels_folder, - 'macs' : system_folder, - 'font' : fonts_folder, - 'abbx' : about_this_computer, - 'shdf' : shutdown_items_folder, - 'temp' : temporary_items_folder, - 'pvis' : visible, - 'sele' : selection, - 'pisf' : frontmost, - 'pref' : preferences_folder, - 'strt' : startup_items_folder, - 'pcli' : clipboard, - 'fshr' : file_sharing, - 'pnam' : name, - 'extn' : extensions_folder, - 'amnu' : apple_menu_items_folder, -} - -_compdeclarations = { -} - -_enumdeclarations = { -} diff --git a/Mac/Lib/lib-scriptpackages/Finder/Finder_items.py b/Mac/Lib/lib-scriptpackages/Finder/Finder_items.py deleted file mode 100644 index 1475fa6..0000000 --- a/Mac/Lib/lib-scriptpackages/Finder/Finder_items.py +++ /dev/null @@ -1,340 +0,0 @@ -"""Suite Finder items: Commands used with file system items, and basic item definition -Level 1, version 1 - -Generated from /Volumes/Sap/System Folder/Finder -AETE/AEUT resource version 0/144, language 0, script 0 -""" - -import aetools -import MacOS - -_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 - Required argument: the items to add to the collection of Favorites - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'fndr' - _subcode = 'ffav' - - 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['----'] - - _argmap_clean_up = { - 'by' : 'by ', - } - - 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) - 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 - """ - _code = 'fndr' - _subcode = 'fclu' - - aetools.keysubst(_arguments, self._argmap_clean_up) - _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 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 - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'fndr' - _subcode = 'ejct' - - 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['----'] - - def empty(self, _object=None, _attributes={}, **_arguments): - """empty: Empty the trash - Required argument: \xd2empty\xd3 and \xd2empty trash\xd3 both do the same thing - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'fndr' - _subcode = 'empt' - - 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['----'] - - def erase(self, _object, _attributes={}, **_arguments): - """erase: Erase the specified disk(s) - Required argument: the items to erase - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'fndr' - _subcode = 'fera' - - 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['----'] - - _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): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - def reveal(self, _object, _attributes={}, **_arguments): - """reveal: Bring the specified object(s) into view - Required argument: the object to be made visible - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'misc' - _subcode = 'mvis' - - 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['----'] - - 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 _attributes: AppleEvent attribute dictionary - """ - _code = 'fndr' - _subcode = 'fupd' - - 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 item(aetools.ComponentItem): - """item - An item """ - want = 'cobj' -class name(aetools.NProperty): - """name - the name of the item """ - which = 'pnam' - want = 'itxt' -class index(aetools.NProperty): - """index - the index in the front-to-back ordering within its container """ - which = 'pidx' - want = 'long' -class id(aetools.NProperty): - """id - an id that identifies the item """ - which = 'ID ' - want = 'long' -class container(aetools.NProperty): - """container - the container of the item """ - which = 'ctnr' - want = 'obj ' -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 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 bounds(aetools.NProperty): - """bounds - the bounding rectangle of the item (can only be set for an item in a window viewed as icons or buttons) """ - which = 'pbnd' - want = 'qdrt' -class label_index(aetools.NProperty): - """label index - the label of the item """ - which = 'labi' - want = 'long' -class kind(aetools.NProperty): - """kind - the kind of the item """ - which = 'kind' - want = 'itxt' -class description(aetools.NProperty): - """description - a description of the item """ - which = 'dscr' - want = 'itxt' -class comment(aetools.NProperty): - """comment - the comment of the item, displayed in the \xd2Get Info\xd3 window """ - which = 'comt' - want = 'itxt' -class size(aetools.NProperty): - """size - the logical size of the item """ - which = 'ptsz' - want = 'long' -class physical_size(aetools.NProperty): - """physical size - the actual space used by the item on disk """ - which = 'phys' - want = 'long' -class creation_date(aetools.NProperty): - """creation date - the date on which the item was created """ - which = 'ascd' - want = 'ldt ' -class modification_date(aetools.NProperty): - """modification date - the date on which the item was last modified """ - which = 'asmo' - want = 'ldt ' -class icon(aetools.NProperty): - """icon - the icon bitmap of the item """ - which = 'iimg' - want = 'ifam' -class selected(aetools.NProperty): - """selected - Is the item selected? """ - which = 'issl' - want = 'bool' -class content_space(aetools.NProperty): - """content space - the window that would open if the item was opened """ - which = 'dwnd' - want = 'obj ' -class window(aetools.NProperty): - """window - the window that would open if the item was opened """ - which = 'cwin' - want = 'obj ' -class information_window(aetools.NProperty): - """information window - the information window for the item """ - which = 'iwnd' - want = 'obj ' - -items = item -item._superclassnames = [] -item._privpropdict = { - 'name' : name, - 'index' : index, - 'id' : id, - 'container' : container, - 'disk' : disk, - 'folder' : folder, - 'position' : position, - 'bounds' : bounds, - 'label_index' : label_index, - 'kind' : kind, - 'description' : description, - 'comment' : comment, - 'size' : size, - 'physical_size' : physical_size, - 'creation_date' : creation_date, - 'modification_date' : modification_date, - 'icon' : icon, - 'selected' : selected, - 'content_space' : content_space, - 'window' : window, - 'information_window' : information_window, -} -item._privelemdict = { -} -_Enum_bool = None # XXXX enum bool not found!! - -# -# Indices of types declared in this module -# -_classdeclarations = { - 'cobj' : item, -} - -_propdeclarations = { - 'posn' : position, - 'kind' : kind, - 'ptsz' : size, - 'phys' : physical_size, - 'dwnd' : content_space, - 'pbnd' : bounds, - 'issl' : selected, - 'labi' : label_index, - 'dscr' : description, - 'comt' : comment, - 'ctnr' : container, - 'pidx' : index, - 'iimg' : icon, - 'ID ' : id, - 'cwin' : window, - 'pnam' : name, - 'ascd' : creation_date, - 'cdis' : disk, - 'asmo' : modification_date, - 'asdr' : folder, - 'iwnd' : information_window, -} - -_compdeclarations = { -} - -_enumdeclarations = { -} diff --git a/Mac/Lib/lib-scriptpackages/Finder/Obsolete_terms.py b/Mac/Lib/lib-scriptpackages/Finder/Obsolete_terms.py deleted file mode 100644 index 58db611..0000000 --- a/Mac/Lib/lib-scriptpackages/Finder/Obsolete_terms.py +++ /dev/null @@ -1,220 +0,0 @@ -"""Suite Obsolete terms: Terms that have been deprecated -Level 1, version 1 - -Generated from /Volumes/Sap/System Folder/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 sharable_container(aetools.NProperty): - """sharable container - the sharable container from which the window was opened """ - which = 'sctr' - want = 'obj ' -class item(aetools.NProperty): - """item - the item from which this window was opened """ - which = 'cobj' - want = 'obj ' -class container(aetools.NProperty): - """container - the container from which this window was opened """ - which = 'ctnr' - 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 = { - 'sharable_container' : sharable_container, - 'item' : item, - 'container' : container, - 'folder_obsolete' : folder_obsolete, -} -sharing_window._privelemdict = { -} -status_window._superclassnames = [] -status_window._privpropdict = { -} -status_window._privelemdict = { -} - -# -# Indices of types declared in this module -# -_classdeclarations = { - 'qwnd' : status_window, - 'capp' : application, - 'swnd' : sharing_window, - 'ccdv' : control_panel, - 'prcs' : process, - 'cobj' : item, - 'file' : file, - 'sctr' : sharable_container, - 'cwnd' : container_window, - 'ctnr' : container, - 'iwnd' : information_window, -} - -_propdeclarations = { - 'fitp' : file_type_obsolete, - 'swnd' : sharing_window, - 'cfol' : folder_obsolete, - 'crtd' : creation_date_obsolete, - 'islk' : locked_obsolete, - 'modd' : modification_date_obsolete, - 'sctr' : sharable_container, - 'pvwp' : view_preferences, - 'cwnd' : container_window, - 'ctnr' : container, - 'cobj' : item, -} - -_compdeclarations = { -} - -_enumdeclarations = { -} diff --git a/Mac/Lib/lib-scriptpackages/Finder/Process_classes.py b/Mac/Lib/lib-scriptpackages/Finder/Process_classes.py deleted file mode 100644 index a54741c..0000000 --- a/Mac/Lib/lib-scriptpackages/Finder/Process_classes.py +++ /dev/null @@ -1,152 +0,0 @@ -"""Suite Process classes: Classes representing processes that are running -Level 1, version 1 - -Generated from /Volumes/Sap/System Folder/Finder -AETE/AEUT resource version 0/144, language 0, script 0 -""" - -import aetools -import MacOS - -_code = 'fndr' - -class Process_classes_Events: - - pass - - -class process(aetools.ComponentItem): - """process - A process running on this computer """ - want = 'prcs' -class name(aetools.NProperty): - """name - the name of the process """ - which = 'pnam' - want = 'itxt' -class visible(aetools.NProperty): - """visible - Is the process' layer visible? """ - which = 'pvis' - want = 'bool' -class frontmost(aetools.NProperty): - """frontmost - Is the process the frontmost process? """ - which = 'pisf' - want = 'bool' -class file(aetools.NProperty): - """file - the file from which the process was launched """ - which = 'file' - want = 'obj ' -class file_type(aetools.NProperty): - """file type - the OSType of the file type of the process """ - which = 'asty' - want = 'type' -class creator_type(aetools.NProperty): - """creator type - the OSType of the creator of the process (the signature) """ - which = 'fcrt' - want = 'type' -class accepts_high_level_events(aetools.NProperty): - """accepts high level events - Is the process high-level event aware (accepts open application, open document, print document, and quit)? """ - which = 'isab' - want = 'bool' -class accepts_remote_events(aetools.NProperty): - """accepts remote events - Does the process accept remote events? """ - which = 'revt' - want = 'bool' -class has_scripting_terminology(aetools.NProperty): - """has scripting terminology - Does the process have a scripting terminology, i.e., can it be scripted? """ - which = 'hscr' - want = 'bool' -class total_partition_size(aetools.NProperty): - """total partition size - the size of the partition with which the process was launched """ - which = 'appt' - want = 'long' -class partition_space_used(aetools.NProperty): - """partition space used - the number of bytes currently used in the process' partition """ - which = 'pusd' - want = 'long' - -processes = process - -class application_process(aetools.ComponentItem): - """application process - A process launched from an application file """ - want = 'pcap' -class _3c_Inheritance_3e_(aetools.NProperty): - """<Inheritance> - inherits some of its properties from the process class """ - which = 'c@#^' - want = 'prcs' -class application_file(aetools.NProperty): - """application file - the application file from which this process was launched """ - which = 'appf' - want = 'appf' - -application_processes = application_process - -class desk_accessory_process(aetools.ComponentItem): - """desk accessory process - A process launched from a desk accessory file """ - want = 'pcda' -class desk_accessory_file(aetools.NProperty): - """desk accessory file - the desk accessory file from which this process was launched """ - which = 'dafi' - want = 'obj ' - -desk_accessory_processes = desk_accessory_process -process._superclassnames = [] -process._privpropdict = { - 'name' : name, - 'visible' : visible, - 'frontmost' : frontmost, - 'file' : file, - 'file_type' : file_type, - 'creator_type' : creator_type, - 'accepts_high_level_events' : accepts_high_level_events, - 'accepts_remote_events' : accepts_remote_events, - 'has_scripting_terminology' : has_scripting_terminology, - 'total_partition_size' : total_partition_size, - 'partition_space_used' : partition_space_used, -} -process._privelemdict = { -} -application_process._superclassnames = ['process'] -application_process._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'application_file' : application_file, -} -application_process._privelemdict = { -} -desk_accessory_process._superclassnames = ['process'] -desk_accessory_process._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'desk_accessory_file' : desk_accessory_file, -} -desk_accessory_process._privelemdict = { -} - -# -# Indices of types declared in this module -# -_classdeclarations = { - 'prcs' : process, - 'pcda' : desk_accessory_process, - 'pcap' : application_process, -} - -_propdeclarations = { - 'pvis' : visible, - 'pisf' : frontmost, - 'appt' : total_partition_size, - 'isab' : accepts_high_level_events, - 'dafi' : desk_accessory_file, - 'hscr' : has_scripting_terminology, - 'asty' : file_type, - 'c@#^' : _3c_Inheritance_3e_, - 'fcrt' : creator_type, - 'pusd' : partition_space_used, - 'file' : file, - 'pnam' : name, - 'appf' : application_file, - 'revt' : accepts_remote_events, -} - -_compdeclarations = { -} - -_enumdeclarations = { -} diff --git a/Mac/Lib/lib-scriptpackages/Finder/Standard_Suite.py b/Mac/Lib/lib-scriptpackages/Finder/Standard_Suite.py deleted file mode 100644 index df23487..0000000 --- a/Mac/Lib/lib-scriptpackages/Finder/Standard_Suite.py +++ /dev/null @@ -1,335 +0,0 @@ -"""Suite Standard Suite: Common terms that most applications should support -Level 1, version 1 - -Generated from /Volumes/Sap/System Folder/Finder -AETE/AEUT resource version 0/144, language 0, script 0 -""" - -import aetools -import MacOS - -_code = 'CoRe' - -from StdSuites.Standard_Suite import * -class Standard_Suite_Events(Standard_Suite_Events): - - _argmap_open = { - 'using' : 'usin', - 'with_properties' : 'prdt', - } - - def open(self, _object, _attributes={}, **_arguments): - """open: Open the specified object(s) - Required argument: list of objects to open - Keyword argument using: the application file to open the object with - Keyword argument with_properties: the initial values for the properties, to be included with the open command sent to the application that opens the direct object - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'aevt' - _subcode = 'odoc' - - aetools.keysubst(_arguments, self._argmap_open) - _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_print_ = { - 'with_properties' : 'prdt', - } - - def print_(self, _object, _attributes={}, **_arguments): - """print: Print the specified object(s) - Required argument: list of objects to print - Keyword argument with_properties: optional properties to be included with the print command sent to the application that prints the direct object - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'aevt' - _subcode = 'pdoc' - - aetools.keysubst(_arguments, self._argmap_print_) - _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 quit(self, _no_object=None, _attributes={}, **_arguments): - """quit: Quit the Finder - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'aevt' - _subcode = 'quit' - - 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 close(self, _object, _attributes={}, **_arguments): - """close: Close an object - Required argument: the object to close - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'core' - _subcode = 'clos' - - 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['----'] - - _argmap_count = { - 'each' : 'kocl', - } - - def count(self, _object, _attributes={}, **_arguments): - """count: Return the number of elements of a particular class within an object - Required argument: the object whose elements are to be counted - Keyword argument each: the class of the elements to be counted - Keyword argument _attributes: AppleEvent attribute dictionary - Returns: the number of elements - """ - _code = 'core' - _subcode = 'cnte' - - aetools.keysubst(_arguments, self._argmap_count) - _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_data_size = { - 'as' : 'rtyp', - } - - def data_size(self, _object, _attributes={}, **_arguments): - """data size: Return the size in bytes of an object - Required argument: the object whose data size is to be returned - Keyword argument as: the data type for which the size is calculated - Keyword argument _attributes: AppleEvent attribute dictionary - Returns: the size of the object in bytes - """ - _code = 'core' - _subcode = 'dsiz' - - aetools.keysubst(_arguments, self._argmap_data_size) - _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 delete(self, _object, _attributes={}, **_arguments): - """delete: Move an item from its container to the trash - Required argument: the item to delete - Keyword argument _attributes: AppleEvent attribute dictionary - Returns: to the item that was just deleted - """ - _code = 'core' - _subcode = 'delo' - - 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['----'] - - _argmap_duplicate = { - 'to' : 'insh', - 'replacing' : 'alrp', - 'routing_suppressed' : 'rout', - } - - def duplicate(self, _object, _attributes={}, **_arguments): - """duplicate: Duplicate one or more object(s) - Required argument: the object(s) to duplicate - Keyword argument to: the new location for the object(s) - Keyword argument replacing: Specifies whether or not to replace items in the destination that have the same name as items being duplicated - Keyword argument routing_suppressed: Specifies whether or not to autoroute items (default is false). Only applies when copying to the system folder. - Keyword argument _attributes: AppleEvent attribute dictionary - Returns: to the duplicated object(s) - """ - _code = 'core' - _subcode = 'clon' - - aetools.keysubst(_arguments, self._argmap_duplicate) - _arguments['----'] = _object - - aetools.enumsubst(_arguments, 'alrp', _Enum_bool) - aetools.enumsubst(_arguments, 'rout', _Enum_bool) - - _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 exists(self, _object, _attributes={}, **_arguments): - """exists: Verify if an object exists - Required argument: the object in question - Keyword argument _attributes: AppleEvent attribute dictionary - Returns: true if it exists, false if not - """ - _code = 'core' - _subcode = 'doex' - - 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['----'] - - _argmap_make = { - 'new' : 'kocl', - 'at' : 'insh', - 'to' : 'to ', - 'with_properties' : 'prdt', - } - - def make(self, _no_object=None, _attributes={}, **_arguments): - """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 with_properties: the initial values for the properties of the element - Keyword argument _attributes: AppleEvent attribute dictionary - Returns: to the new object(s) - """ - _code = 'core' - _subcode = 'crel' - - aetools.keysubst(_arguments, self._argmap_make) - 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['----'] - - _argmap_move = { - 'to' : 'insh', - 'replacing' : 'alrp', - 'positioned_at' : 'mvpl', - 'routing_suppressed' : 'rout', - } - - def move(self, _object, _attributes={}, **_arguments): - """move: Move object(s) to a new location - Required argument: the object(s) to move - Keyword argument to: the new location for the object(s) - Keyword argument replacing: Specifies whether or not to replace items in the destination that have the same name as items being moved - Keyword argument positioned_at: Gives a list (in local window coordinates) of positions for the destination items - Keyword argument routing_suppressed: Specifies whether or not to autoroute items (default is false). Only applies when moving to the system folder. - Keyword argument _attributes: AppleEvent attribute dictionary - Returns: to the object(s) after they have been moved - """ - _code = 'core' - _subcode = 'move' - - aetools.keysubst(_arguments, self._argmap_move) - _arguments['----'] = _object - - aetools.enumsubst(_arguments, 'alrp', _Enum_bool) - aetools.enumsubst(_arguments, 'mvpl', _Enum_list) - aetools.enumsubst(_arguments, 'rout', _Enum_bool) - - _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 select(self, _object, _attributes={}, **_arguments): - """select: Select the specified object(s) - Required argument: the object to select - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'misc' - _subcode = 'slct' - - 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['----'] - -_Enum_list = None # XXXX enum list not found!! -_Enum_bool = None # XXXX enum bool not found!! - -# -# Indices of types declared in this module -# -_classdeclarations = { -} - -_propdeclarations = { -} - -_compdeclarations = { -} - -_enumdeclarations = { -} diff --git a/Mac/Lib/lib-scriptpackages/Finder/Type_Definitions.py b/Mac/Lib/lib-scriptpackages/Finder/Type_Definitions.py deleted file mode 100644 index 0445c2c..0000000 --- a/Mac/Lib/lib-scriptpackages/Finder/Type_Definitions.py +++ /dev/null @@ -1,274 +0,0 @@ -"""Suite Type Definitions: Definitions of records used in scripting the Finder -Level 1, version 1 - -Generated from /Volumes/Sap/System Folder/Finder -AETE/AEUT resource version 0/144, language 0, script 0 -""" - -import aetools -import MacOS - -_code = 'tpdf' - -class Type_Definitions_Events: - - pass - - -class preferences(aetools.ComponentItem): - """preferences - The Finder Preferences """ - want = 'cprf' -class window(aetools.NProperty): - """window - the window that would open if Finder preferences was opened """ - which = 'cwin' - want = 'pwnd' -class button_view_arrangement(aetools.NProperty): - """button view arrangement - the method of arrangement of icons in default Finder button view windows """ - which = 'barr' - want = 'earr' -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 spatial_view_arrangement(aetools.NProperty): - """spatial view arrangement - the method of arrangement of icons in default Finder spatial view windows """ - which = 'iarr' - want = 'earr' -class spatial_view_icon_size(aetools.NProperty): - """spatial view icon size - the size of icons displayed in Finder spatial view windows. """ - which = 'iisz' - 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 list_view_icon_size(aetools.NProperty): - """list view icon size - the size of icons displayed in Finder list view windows. """ - which = 'lisz' - want = 'long' -class shows_comments(aetools.NProperty): - """shows comments - Are comments displayed in default Finder list view windows? """ - which = 'scom' - want = 'bool' -class shows_creation_date(aetools.NProperty): - """shows creation date - Are creation dates displayed in default Finder list view windows? """ - which = 'scda' - want = 'bool' -class shows_kind(aetools.NProperty): - """shows kind - Are document kinds displayed in default Finder list view windows? """ - which = 'sknd' - want = 'bool' -class shows_label(aetools.NProperty): - """shows label - Are labels displayed in default Finder list view windows? """ - which = 'slbl' - want = 'bool' -class shows_modification_date(aetools.NProperty): - """shows modification date - Are modification dates displayed in default Finder list view windows? """ - which = 'sdat' - want = 'bool' -class shows_size(aetools.NProperty): - """shows size - Are file sizes displayed in default Finder list view windows? """ - which = 'ssiz' - want = 'bool' -class shows_version(aetools.NProperty): - """shows version - Are file versions displayed in default Finder list view windows? """ - which = 'svrs' - 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' - want = 'bool' -class uses_wide_grid(aetools.NProperty): - """uses wide grid - Space icons on a wide grid? """ - which = 'uswg' - want = 'bool' -class spring_open_folders(aetools.NProperty): - """spring open folders - Spring open folders after the specified delay? """ - which = 'sprg' - 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' - want = 'shor' -class view_font(aetools.NProperty): - """view font - the id of the font used in Finder views. """ - which = 'vfnt' - want = 'long' -class view_font_size(aetools.NProperty): - """view font size - the size of the font used in Finder views """ - which = 'vfsz' - want = 'long' -# element 'clbl' as ['indx', 'name'] - -class label(aetools.ComponentItem): - """label - A Finder label (name and color) """ - want = 'clbl' -class name(aetools.NProperty): - """name - the name associated with the label """ - which = 'pnam' - want = 'itxt' -class index(aetools.NProperty): - """index - the index in the front-to-back ordering within its container """ - which = 'pidx' - want = 'long' -class color(aetools.NProperty): - """color - the color associated with the label """ - which = 'colr' - want = 'cRGB' - -class icon_family(aetools.ComponentItem): - """icon family - A family of icons """ - want = 'ifam' -class large_monochrome_icon_and_mask(aetools.NProperty): - """large monochrome icon and mask - the large black-and-white icon and the mask for large icons """ - which = 'ICN#' - want = 'ICN#' -class large_8_bit_mask(aetools.NProperty): - """large 8 bit mask - the large 8-bit mask for large 32-bit icons """ - which = 'l8mk' - want = 'l8mk' -class large_32_bit_icon(aetools.NProperty): - """large 32 bit icon - the large 32-bit color icon """ - which = 'il32' - want = 'il32' -class large_8_bit_icon(aetools.NProperty): - """large 8 bit icon - the large 8-bit color icon """ - which = 'icl8' - want = 'icl8' -class large_4_bit_icon(aetools.NProperty): - """large 4 bit icon - the large 4-bit color icon """ - which = 'icl4' - want = 'icl4' -class small_monochrome_icon_and_mask(aetools.NProperty): - """small monochrome icon and mask - the small black-and-white icon and the mask for small icons """ - which = 'ics#' - want = 'ics#' -class small_8_bit_mask(aetools.NProperty): - """small 8 bit mask - the small 8-bit mask for small 32-bit icons """ - which = 'ics8' - want = 's8mk' -class small_32_bit_icon(aetools.NProperty): - """small 32 bit icon - the small 32-bit color icon """ - which = 'is32' - want = 'is32' - -small_8_bit_icon = small_8_bit_mask -class small_4_bit_icon(aetools.NProperty): - """small 4 bit icon - the small 4-bit color icon """ - which = 'ics4' - want = 'ics4' - -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' -preferences._superclassnames = [] -preferences._privpropdict = { - 'window' : window, - 'button_view_arrangement' : button_view_arrangement, - 'button_view_icon_size' : button_view_icon_size, - 'spatial_view_arrangement' : spatial_view_arrangement, - 'spatial_view_icon_size' : spatial_view_icon_size, - 'calculates_folder_sizes' : calculates_folder_sizes, - 'list_view_icon_size' : list_view_icon_size, - 'shows_comments' : shows_comments, - 'shows_creation_date' : shows_creation_date, - 'shows_kind' : shows_kind, - 'shows_label' : shows_label, - 'shows_modification_date' : shows_modification_date, - 'shows_size' : shows_size, - 'shows_version' : shows_version, - 'uses_relative_dates' : uses_relative_dates, - 'uses_simple_menus' : uses_simple_menus, - 'uses_wide_grid' : uses_wide_grid, - 'spring_open_folders' : spring_open_folders, - 'delay_before_springing' : delay_before_springing, - 'view_font' : view_font, - 'view_font_size' : view_font_size, -} -preferences._privelemdict = { - 'label' : label, -} -label._superclassnames = [] -label._privpropdict = { - 'name' : name, - 'index' : index, - 'color' : color, -} -label._privelemdict = { -} -icon_family._superclassnames = [] -icon_family._privpropdict = { - 'large_monochrome_icon_and_mask' : large_monochrome_icon_and_mask, - 'large_8_bit_mask' : large_8_bit_mask, - 'large_32_bit_icon' : large_32_bit_icon, - 'large_8_bit_icon' : large_8_bit_icon, - 'large_4_bit_icon' : large_4_bit_icon, - 'small_monochrome_icon_and_mask' : small_monochrome_icon_and_mask, - 'small_8_bit_mask' : small_8_bit_mask, - 'small_32_bit_icon' : small_32_bit_icon, - 'small_8_bit_icon' : small_8_bit_icon, - 'small_4_bit_icon' : small_4_bit_icon, -} -icon_family._privelemdict = { -} -alias_list._superclassnames = [] -alias_list._privpropdict = { -} -alias_list._privelemdict = { -} - -# -# Indices of types declared in this module -# -_classdeclarations = { - 'cprf' : preferences, - 'alst' : alias_list, - 'ifam' : icon_family, - 'clbl' : label, -} - -_propdeclarations = { - 'dela' : delay_before_springing, - 'ics4' : small_4_bit_icon, - 'iarr' : spatial_view_arrangement, - 'barr' : button_view_arrangement, - 'ics#' : small_monochrome_icon_and_mask, - 'sknd' : shows_kind, - 'svrs' : shows_version, - 'colr' : color, - 'ics8' : small_8_bit_mask, - 'icl8' : large_8_bit_icon, - 'sprg' : spring_open_folders, - 'vfsz' : view_font_size, - 'sfsz' : calculates_folder_sizes, - 'l8mk' : large_8_bit_mask, - 'vfnt' : view_font, - 'urdt' : uses_relative_dates, - 'usme' : uses_simple_menus, - 'icl4' : large_4_bit_icon, - 'slbl' : shows_label, - 'lisz' : list_view_icon_size, - 'scda' : shows_creation_date, - 'bisz' : button_view_icon_size, - 'pidx' : index, - 'scom' : shows_comments, - 'iisz' : spatial_view_icon_size, - 'sdat' : shows_modification_date, - 'cwin' : window, - 'ICN#' : large_monochrome_icon_and_mask, - 'is32' : small_32_bit_icon, - 'pnam' : name, - 'il32' : large_32_bit_icon, - 'uswg' : uses_wide_grid, - 'ssiz' : shows_size, -} - -_compdeclarations = { -} - -_enumdeclarations = { -} diff --git a/Mac/Lib/lib-scriptpackages/Finder/Window_classes.py b/Mac/Lib/lib-scriptpackages/Finder/Window_classes.py deleted file mode 100644 index bbfc46e..0000000 --- a/Mac/Lib/lib-scriptpackages/Finder/Window_classes.py +++ /dev/null @@ -1,414 +0,0 @@ -"""Suite Window classes: Classes representing windows -Level 1, version 1 - -Generated from /Volumes/Sap/System Folder/Finder -AETE/AEUT resource version 0/144, language 0, script 0 -""" - -import aetools -import MacOS - -_code = 'fndr' - -class Window_classes_Events: - - pass - - -class window(aetools.ComponentItem): - """window - A window """ - want = 'cwin' -class position(aetools.NProperty): - """position - the upper left position of the window """ - which = 'posn' - want = 'QDpt' -class bounds(aetools.NProperty): - """bounds - the boundary rectangle for the window """ - which = 'pbnd' - want = 'qdrt' -class titled(aetools.NProperty): - """titled - Does the window have a title bar? """ - which = 'ptit' - want = 'bool' -class name(aetools.NProperty): - """name - the name of the window """ - which = 'pnam' - want = 'itxt' -class index(aetools.NProperty): - """index - the number of the window in the front-to-back layer ordering """ - which = 'pidx' - want = 'long' -class closeable(aetools.NProperty): - """closeable - Does the window have a close box? """ - which = 'hclb' - want = 'bool' -class floating(aetools.NProperty): - """floating - Does the window have a title bar? """ - which = 'isfl' - want = 'bool' -class modal(aetools.NProperty): - """modal - Is the window modal? """ - which = 'pmod' - want = 'bool' -class resizable(aetools.NProperty): - """resizable - Is the window resizable? """ - which = 'prsz' - want = 'bool' -class zoomable(aetools.NProperty): - """zoomable - Is the window zoomable? """ - which = 'iszm' - want = 'bool' -class zoomed(aetools.NProperty): - """zoomed - Is the window zoomed? """ - which = 'pzum' - want = 'bool' -class zoomed_full_size(aetools.NProperty): - """zoomed full size - Is the window zoomed to the full size of the screen? (can only be set, not read, and only applies to open non-pop-up windows) """ - which = 'zumf' - want = 'bool' -class visible(aetools.NProperty): - """visible - Is the window visible (always true for open Finder windows)? """ - which = 'pvis' - want = 'bool' -class popup(aetools.NProperty): - """popup - Is the window is a pop-up window? (only applies to open container windows in the Finder and can only be set when the Finder is the front application) """ - which = 'drwr' - want = 'bool' -class pulled_open(aetools.NProperty): - """pulled open - Is the window pulled open (only applies to pop-up windows and can only be set when the Finder is the front application)? """ - which = 'pull' - want = 'bool' -class collapsed(aetools.NProperty): - """collapsed - Is the window collapsed (only applies to open non-pop-up windows)? """ - which = 'wshd' - want = 'bool' - -windows = window - -class container_window(aetools.ComponentItem): - """container window - A window that contains items """ - want = 'cwnd' -class _3c_Inheritance_3e_(aetools.NProperty): - """<Inheritance> - inherits some of its properties from the window class """ - which = 'c@#^' - want = 'cwin' -class container(aetools.NProperty): - """container - the container from which the window was opened """ - which = 'ctnr' - want = 'obj ' -class item(aetools.NProperty): - """item - the item from which the window was opened (always returns something) """ - which = 'cobj' - want = 'obj ' -class has_custom_view_settings(aetools.NProperty): - """has custom view settings - Does the folder have custom view settings or is it using the default global settings? """ - which = 'cuss' - want = 'bool' -class view(aetools.NProperty): - """view - the current view for the window (icon, name, date, etc.) """ - which = 'pvew' - want = 'long' -class previous_list_view(aetools.NProperty): - """previous list view - the last non-icon view (by name, by date, etc.) selected for the container (forgotten as soon as the window is closed and only available when the window is open) """ - which = 'svew' - want = 'enum' -class button_view_arrangement(aetools.NProperty): - """button view arrangement - the property by which to keep icons arranged within a button view window """ - which = 'barr' - want = 'earr' -class spatial_view_arrangement(aetools.NProperty): - """spatial view arrangement - the property by which to keep icons arranged within a spatial view window """ - which = 'iarr' - want = 'earr' -class sort_direction(aetools.NProperty): - """sort direction - The direction in which the window is sorted """ - which = 'sord' - want = 'sodr' -class calculates_folder_sizes(aetools.NProperty): - """calculates folder sizes - Are folder sizes calculated and displayed in the window? (does not apply to suitcase windows) """ - which = 'sfsz' - want = 'bool' -class shows_comments(aetools.NProperty): - """shows comments - Are comments displayed in the window? (does not apply to suitcases) """ - which = 'scom' - want = 'bool' -class shows_creation_date(aetools.NProperty): - """shows creation date - Are creation dates displayed in the window? """ - which = 'scda' - want = 'bool' -class shows_kind(aetools.NProperty): - """shows kind - Are document kinds displayed in the window? """ - which = 'sknd' - want = 'bool' -class shows_label(aetools.NProperty): - """shows label - Are labels displayed in the window? """ - which = 'slbl' - want = 'bool' -class shows_modification_date(aetools.NProperty): - """shows modification date - Are modification dates displayed in the window? """ - which = 'sdat' - want = 'bool' -class shows_size(aetools.NProperty): - """shows size - Are file sizes displayed in the window? """ - which = 'ssiz' - want = 'bool' -class shows_version(aetools.NProperty): - """shows version - Are file versions displayed in the window? (does not apply to suitcase windows) """ - which = 'svrs' - want = 'bool' -class uses_relative_dates(aetools.NProperty): - """uses relative dates - Are relative dates (e.g., today, yesterday) shown in the window? """ - which = 'urdt' - want = 'bool' - -container_windows = container_window - -class information_window(aetools.ComponentItem): - """information window - An information window (opened by \xd2Get Info\xd3) """ - want = 'iwnd' -class current_panel(aetools.NProperty): - """current panel - the current panel in the information window """ - which = 'panl' - want = 'ipnl' -class comment(aetools.NProperty): - """comment - the comment """ - which = 'comt' - want = 'itxt' -class size(aetools.NProperty): - """size - the logical size of the item """ - which = 'ptsz' - want = 'long' -class physical_size(aetools.NProperty): - """physical size - the actual space used by the item on disk """ - which = 'phys' - want = 'long' -class creation_date(aetools.NProperty): - """creation date - the date on which the item was created """ - which = 'ascd' - want = 'ldt ' -class modification_date(aetools.NProperty): - """modification date - the date on which the item was last modified """ - which = 'asmo' - want = 'ldt ' -class suggested_size(aetools.NProperty): - """suggested size - the memory size with which the developer recommends the application be launched """ - which = 'sprt' - want = 'long' -class minimum_size(aetools.NProperty): - """minimum size - the smallest memory size with which the application can be launched (only applies to information windows for applications) """ - which = 'mprt' - want = 'long' -class preferred_size(aetools.NProperty): - """preferred size - the memory size with which the application will be launched (only applies to information windows for applications) """ - which = 'appt' - want = 'long' -class icon(aetools.NProperty): - """icon - the icon bitmap of the item """ - which = 'iimg' - want = 'ifam' -class locked(aetools.NProperty): - """locked - Is the item locked (applies only to file and application information windows)? """ - which = 'aslk' - want = 'bool' -class stationery(aetools.NProperty): - """stationery - Is the item a stationery pad? """ - which = 'pspd' - want = 'bool' -class warns_before_emptying(aetools.NProperty): - """warns before emptying - Display a dialog when emptying the trash (only valid for trash info window)? """ - which = 'warn' - 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' -class version(aetools.NProperty): - """version - the version of the file (visible at the bottom of the \xd2Get Info\xd3 window) """ - which = 'vers' - want = 'itxt' - -information_windows = information_window - -class view_options_window(aetools.ComponentItem): - """view options window - A View Options window """ - want = 'vwnd' - -view_options_windows = view_options_window - -class preferences_window(aetools.ComponentItem): - """preferences window - The Finder Preferences window """ - want = 'pwnd' - -class clipping_window(aetools.ComponentItem): - """clipping window - The window containing a clipping """ - want = 'lwnd' - -clipping_windows = clipping_window - -class content_space(aetools.ComponentItem): - """content space - All windows, including the desktop window (\xd2Window\xd3 does not include the desktop window) """ - want = 'dwnd' - -content_spaces = content_space -window._superclassnames = [] -window._privpropdict = { - 'position' : position, - 'bounds' : bounds, - 'titled' : titled, - 'name' : name, - 'index' : index, - 'closeable' : closeable, - 'floating' : floating, - 'modal' : modal, - 'resizable' : resizable, - 'zoomable' : zoomable, - 'zoomed' : zoomed, - 'zoomed_full_size' : zoomed_full_size, - 'visible' : visible, - 'popup' : popup, - 'pulled_open' : pulled_open, - 'collapsed' : collapsed, -} -window._privelemdict = { -} -container_window._superclassnames = ['window'] -container_window._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'container' : container, - 'item' : item, - 'has_custom_view_settings' : has_custom_view_settings, - 'view' : view, - 'previous_list_view' : previous_list_view, - 'button_view_arrangement' : button_view_arrangement, - 'spatial_view_arrangement' : spatial_view_arrangement, - 'sort_direction' : sort_direction, - 'calculates_folder_sizes' : calculates_folder_sizes, - 'shows_comments' : shows_comments, - 'shows_creation_date' : shows_creation_date, - 'shows_kind' : shows_kind, - 'shows_label' : shows_label, - 'shows_modification_date' : shows_modification_date, - 'shows_size' : shows_size, - 'shows_version' : shows_version, - 'uses_relative_dates' : uses_relative_dates, -} -container_window._privelemdict = { -} -information_window._superclassnames = ['window'] -information_window._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'item' : item, - 'current_panel' : current_panel, - 'comment' : comment, - 'size' : size, - 'physical_size' : physical_size, - 'creation_date' : creation_date, - 'modification_date' : modification_date, - 'suggested_size' : suggested_size, - 'minimum_size' : minimum_size, - 'preferred_size' : preferred_size, - 'icon' : icon, - 'locked' : locked, - 'stationery' : stationery, - 'warns_before_emptying' : warns_before_emptying, - 'product_version' : product_version, - 'version' : version, -} -information_window._privelemdict = { -} -view_options_window._superclassnames = ['window'] -view_options_window._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'item' : item, -} -view_options_window._privelemdict = { -} -preferences_window._superclassnames = ['window'] -preferences_window._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'current_panel' : current_panel, -} -preferences_window._privelemdict = { -} -clipping_window._superclassnames = ['window'] -clipping_window._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, -} -clipping_window._privelemdict = { -} -content_space._superclassnames = [] -content_space._privpropdict = { -} -content_space._privelemdict = { -} - -# -# Indices of types declared in this module -# -_classdeclarations = { - 'pwnd' : preferences_window, - 'vwnd' : view_options_window, - 'cwin' : window, - 'cwnd' : container_window, - 'dwnd' : content_space, - 'iwnd' : information_window, - 'lwnd' : clipping_window, -} - -_propdeclarations = { - 'prsz' : resizable, - 'barr' : button_view_arrangement, - 'pzum' : zoomed, - 'iarr' : spatial_view_arrangement, - 'hclb' : closeable, - 'c@#^' : _3c_Inheritance_3e_, - 'ver2' : product_version, - 'sfsz' : calculates_folder_sizes, - 'sprt' : suggested_size, - 'zumf' : zoomed_full_size, - 'urdt' : uses_relative_dates, - 'panl' : current_panel, - 'pmod' : modal, - 'pspd' : stationery, - 'scom' : shows_comments, - 'appt' : preferred_size, - 'aslk' : locked, - 'pbnd' : bounds, - 'iimg' : icon, - 'mprt' : minimum_size, - 'pnam' : name, - 'ssiz' : shows_size, - 'asmo' : modification_date, - 'cobj' : item, - 'ptit' : titled, - 'posn' : position, - 'cuss' : has_custom_view_settings, - 'phys' : physical_size, - 'sknd' : shows_kind, - 'svrs' : shows_version, - 'svew' : previous_list_view, - 'comt' : comment, - 'iszm' : zoomable, - 'sord' : sort_direction, - 'ascd' : creation_date, - 'ctnr' : container, - 'wshd' : collapsed, - 'slbl' : shows_label, - 'pull' : pulled_open, - 'ptsz' : size, - 'pvis' : visible, - 'pidx' : index, - 'isfl' : floating, - 'warn' : warns_before_emptying, - 'drwr' : popup, - 'sdat' : shows_modification_date, - 'pvew' : view, - 'scda' : shows_creation_date, - 'vers' : version, -} - -_compdeclarations = { -} - -_enumdeclarations = { -} diff --git a/Mac/Lib/lib-scriptpackages/Finder/__init__.py b/Mac/Lib/lib-scriptpackages/Finder/__init__.py deleted file mode 100644 index 8ea742f..0000000 --- a/Mac/Lib/lib-scriptpackages/Finder/__init__.py +++ /dev/null @@ -1,461 +0,0 @@ -""" -Package generated from /Volumes/Sap/System Folder/Finder -Resource aete resid 0 -""" -import aetools -Error = aetools.Error -import Standard_Suite -import Earlier_terms -import Finder_Basics -import Finder_items -import Containers_and_folders -import Files_and_suitcases -import Window_classes -import Process_classes -import Type_Definitions -import Enumerations -import Obsolete_terms - - -_code_to_module = { - 'CoRe' : Standard_Suite, - 'tpnm' : Earlier_terms, - 'fndr' : Finder_Basics, - 'fndr' : Finder_items, - 'fndr' : Containers_and_folders, - 'fndr' : Files_and_suitcases, - 'fndr' : Window_classes, - 'fndr' : Process_classes, - 'tpdf' : Type_Definitions, - 'tpnm' : Enumerations, - 'tpnm' : Obsolete_terms, -} - - - -_code_to_fullname = { - 'CoRe' : ('Finder.Standard_Suite', 'Standard_Suite'), - 'tpnm' : ('Finder.Earlier_terms', 'Earlier_terms'), - 'fndr' : ('Finder.Finder_Basics', 'Finder_Basics'), - 'fndr' : ('Finder.Finder_items', 'Finder_items'), - 'fndr' : ('Finder.Containers_and_folders', 'Containers_and_folders'), - 'fndr' : ('Finder.Files_and_suitcases', 'Files_and_suitcases'), - 'fndr' : ('Finder.Window_classes', 'Window_classes'), - 'fndr' : ('Finder.Process_classes', 'Process_classes'), - 'tpdf' : ('Finder.Type_Definitions', 'Type_Definitions'), - 'tpnm' : ('Finder.Enumerations', 'Enumerations'), - 'tpnm' : ('Finder.Obsolete_terms', 'Obsolete_terms'), -} - -from Standard_Suite import * -from Earlier_terms import * -from Finder_Basics import * -from Finder_items import * -from Containers_and_folders import * -from Files_and_suitcases import * -from Window_classes import * -from Process_classes import * -from Type_Definitions import * -from Enumerations import * -from Obsolete_terms import * -def getbaseclasses(v): - if hasattr(v, '_superclassnames') and not hasattr(v, '_propdict'): - v._propdict = {} - v._elemdict = {} - for superclass in v._superclassnames: - v._propdict.update(getattr(eval(superclass), '_privpropdict', {})) - v._elemdict.update(getattr(eval(superclass), '_privelemdict', {})) - v._propdict.update(v._privpropdict) - v._elemdict.update(v._privelemdict) - -import StdSuites - -# -# Set property and element dictionaries now that all classes have been defined -# -getbaseclasses(accessory_suitcase) -getbaseclasses(preferences) -getbaseclasses(sharable_container) -getbaseclasses(application) -getbaseclasses(trash_2d_object) -getbaseclasses(accessory_process) -getbaseclasses(window) -getbaseclasses(information_window) -getbaseclasses(process) -getbaseclasses(application_file) -getbaseclasses(internet_location) -getbaseclasses(container_window) -getbaseclasses(item) -getbaseclasses(StdSuites.Type_Names_Suite.small_integer) -getbaseclasses(StdSuites.Type_Names_Suite.RGB16_color) -getbaseclasses(StdSuites.Type_Names_Suite.system_dictionary) -getbaseclasses(StdSuites.Type_Names_Suite.color_table) -getbaseclasses(StdSuites.Type_Names_Suite.fixed_point) -getbaseclasses(StdSuites.Type_Names_Suite.plain_text) -getbaseclasses(StdSuites.Type_Names_Suite.type_element_info) -getbaseclasses(StdSuites.Type_Names_Suite.location_reference) -getbaseclasses(StdSuites.Type_Names_Suite.version) -getbaseclasses(StdSuites.Type_Names_Suite.PostScript_picture) -getbaseclasses(StdSuites.Type_Names_Suite.machine_location) -getbaseclasses(StdSuites.Type_Names_Suite.menu_item) -getbaseclasses(StdSuites.Type_Names_Suite.pixel_map_record) -getbaseclasses(StdSuites.Type_Names_Suite.application_dictionary) -getbaseclasses(StdSuites.Type_Names_Suite.unsigned_integer) -getbaseclasses(StdSuites.Type_Names_Suite.menu) -getbaseclasses(StdSuites.Type_Names_Suite.fixed_rectangle) -getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_rectangle) -getbaseclasses(StdSuites.Type_Names_Suite.type_event_info) -getbaseclasses(StdSuites.Type_Names_Suite.small_real) -getbaseclasses(StdSuites.Type_Names_Suite.type_suite_info) -getbaseclasses(StdSuites.Type_Names_Suite.rotation) -getbaseclasses(StdSuites.Type_Names_Suite.fixed) -getbaseclasses(StdSuites.Type_Names_Suite.scrap_styles) -getbaseclasses(StdSuites.Type_Names_Suite.long_point) -getbaseclasses(StdSuites.Type_Names_Suite.type_class_info) -getbaseclasses(StdSuites.Type_Names_Suite.TIFF_picture) -getbaseclasses(StdSuites.Type_Names_Suite.RGB96_color) -getbaseclasses(StdSuites.Type_Names_Suite.dash_style) -getbaseclasses(StdSuites.Type_Names_Suite.type_property_info) -getbaseclasses(StdSuites.Type_Names_Suite.type_parameter_info) -getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_point) -getbaseclasses(StdSuites.Type_Names_Suite.long_rectangle) -getbaseclasses(StdSuites.Type_Names_Suite.extended_real) -getbaseclasses(StdSuites.Type_Names_Suite.double_integer) -getbaseclasses(StdSuites.Type_Names_Suite.long_fixed) -getbaseclasses(StdSuites.Type_Names_Suite.null) -getbaseclasses(StdSuites.Type_Names_Suite.target_id) -getbaseclasses(StdSuites.Type_Names_Suite.point) -getbaseclasses(StdSuites.Type_Names_Suite.bounding_rectangle) -getbaseclasses(application) -getbaseclasses(special_folders) -getbaseclasses(item) -getbaseclasses(trash_2d_object) -getbaseclasses(desktop_2d_object) -getbaseclasses(sharable_container) -getbaseclasses(sharing_privileges) -getbaseclasses(disk) -getbaseclasses(folder) -getbaseclasses(container) -getbaseclasses(sound_file) -getbaseclasses(font_file) -getbaseclasses(internet_location_file) -getbaseclasses(clipping) -getbaseclasses(alias_file) -getbaseclasses(desk_accessory_file) -getbaseclasses(desk_accessory_suitcase) -getbaseclasses(font_suitcase) -getbaseclasses(file) -getbaseclasses(application_file) -getbaseclasses(suitcase) -getbaseclasses(document_file) -getbaseclasses(package) -getbaseclasses(preferences_window) -getbaseclasses(view_options_window) -getbaseclasses(window) -getbaseclasses(container_window) -getbaseclasses(content_space) -getbaseclasses(information_window) -getbaseclasses(clipping_window) -getbaseclasses(process) -getbaseclasses(desk_accessory_process) -getbaseclasses(application_process) -getbaseclasses(preferences) -getbaseclasses(alias_list) -getbaseclasses(icon_family) -getbaseclasses(label) -getbaseclasses(StdSuites.Type_Names_Suite.small_integer) -getbaseclasses(StdSuites.Type_Names_Suite.RGB16_color) -getbaseclasses(StdSuites.Type_Names_Suite.system_dictionary) -getbaseclasses(StdSuites.Type_Names_Suite.color_table) -getbaseclasses(StdSuites.Type_Names_Suite.fixed_point) -getbaseclasses(StdSuites.Type_Names_Suite.plain_text) -getbaseclasses(StdSuites.Type_Names_Suite.type_element_info) -getbaseclasses(StdSuites.Type_Names_Suite.location_reference) -getbaseclasses(StdSuites.Type_Names_Suite.version) -getbaseclasses(StdSuites.Type_Names_Suite.PostScript_picture) -getbaseclasses(StdSuites.Type_Names_Suite.machine_location) -getbaseclasses(StdSuites.Type_Names_Suite.menu_item) -getbaseclasses(StdSuites.Type_Names_Suite.pixel_map_record) -getbaseclasses(StdSuites.Type_Names_Suite.application_dictionary) -getbaseclasses(StdSuites.Type_Names_Suite.unsigned_integer) -getbaseclasses(StdSuites.Type_Names_Suite.menu) -getbaseclasses(StdSuites.Type_Names_Suite.fixed_rectangle) -getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_rectangle) -getbaseclasses(StdSuites.Type_Names_Suite.type_event_info) -getbaseclasses(StdSuites.Type_Names_Suite.small_real) -getbaseclasses(StdSuites.Type_Names_Suite.type_suite_info) -getbaseclasses(StdSuites.Type_Names_Suite.rotation) -getbaseclasses(StdSuites.Type_Names_Suite.fixed) -getbaseclasses(StdSuites.Type_Names_Suite.scrap_styles) -getbaseclasses(StdSuites.Type_Names_Suite.long_point) -getbaseclasses(StdSuites.Type_Names_Suite.type_class_info) -getbaseclasses(StdSuites.Type_Names_Suite.TIFF_picture) -getbaseclasses(StdSuites.Type_Names_Suite.RGB96_color) -getbaseclasses(StdSuites.Type_Names_Suite.dash_style) -getbaseclasses(StdSuites.Type_Names_Suite.type_property_info) -getbaseclasses(StdSuites.Type_Names_Suite.type_parameter_info) -getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_point) -getbaseclasses(StdSuites.Type_Names_Suite.long_rectangle) -getbaseclasses(StdSuites.Type_Names_Suite.extended_real) -getbaseclasses(StdSuites.Type_Names_Suite.double_integer) -getbaseclasses(StdSuites.Type_Names_Suite.long_fixed) -getbaseclasses(StdSuites.Type_Names_Suite.null) -getbaseclasses(StdSuites.Type_Names_Suite.target_id) -getbaseclasses(StdSuites.Type_Names_Suite.point) -getbaseclasses(StdSuites.Type_Names_Suite.bounding_rectangle) -getbaseclasses(status_window) -getbaseclasses(application) -getbaseclasses(sharing_window) -getbaseclasses(control_panel) -getbaseclasses(process) -getbaseclasses(item) -getbaseclasses(file) -getbaseclasses(sharable_container) -getbaseclasses(container_window) -getbaseclasses(container) -getbaseclasses(information_window) -getbaseclasses(StdSuites.Type_Names_Suite.small_integer) -getbaseclasses(StdSuites.Type_Names_Suite.RGB16_color) -getbaseclasses(StdSuites.Type_Names_Suite.system_dictionary) -getbaseclasses(StdSuites.Type_Names_Suite.color_table) -getbaseclasses(StdSuites.Type_Names_Suite.fixed_point) -getbaseclasses(StdSuites.Type_Names_Suite.plain_text) -getbaseclasses(StdSuites.Type_Names_Suite.type_element_info) -getbaseclasses(StdSuites.Type_Names_Suite.location_reference) -getbaseclasses(StdSuites.Type_Names_Suite.version) -getbaseclasses(StdSuites.Type_Names_Suite.PostScript_picture) -getbaseclasses(StdSuites.Type_Names_Suite.machine_location) -getbaseclasses(StdSuites.Type_Names_Suite.menu_item) -getbaseclasses(StdSuites.Type_Names_Suite.pixel_map_record) -getbaseclasses(StdSuites.Type_Names_Suite.application_dictionary) -getbaseclasses(StdSuites.Type_Names_Suite.unsigned_integer) -getbaseclasses(StdSuites.Type_Names_Suite.menu) -getbaseclasses(StdSuites.Type_Names_Suite.fixed_rectangle) -getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_rectangle) -getbaseclasses(StdSuites.Type_Names_Suite.type_event_info) -getbaseclasses(StdSuites.Type_Names_Suite.small_real) -getbaseclasses(StdSuites.Type_Names_Suite.type_suite_info) -getbaseclasses(StdSuites.Type_Names_Suite.rotation) -getbaseclasses(StdSuites.Type_Names_Suite.fixed) -getbaseclasses(StdSuites.Type_Names_Suite.scrap_styles) -getbaseclasses(StdSuites.Type_Names_Suite.long_point) -getbaseclasses(StdSuites.Type_Names_Suite.type_class_info) -getbaseclasses(StdSuites.Type_Names_Suite.TIFF_picture) -getbaseclasses(StdSuites.Type_Names_Suite.RGB96_color) -getbaseclasses(StdSuites.Type_Names_Suite.dash_style) -getbaseclasses(StdSuites.Type_Names_Suite.type_property_info) -getbaseclasses(StdSuites.Type_Names_Suite.type_parameter_info) -getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_point) -getbaseclasses(StdSuites.Type_Names_Suite.long_rectangle) -getbaseclasses(StdSuites.Type_Names_Suite.extended_real) -getbaseclasses(StdSuites.Type_Names_Suite.double_integer) -getbaseclasses(StdSuites.Type_Names_Suite.long_fixed) -getbaseclasses(StdSuites.Type_Names_Suite.null) -getbaseclasses(StdSuites.Type_Names_Suite.target_id) -getbaseclasses(StdSuites.Type_Names_Suite.point) -getbaseclasses(StdSuites.Type_Names_Suite.bounding_rectangle) - -# -# Indices of types declared in this module -# -_classdeclarations = { - 'dsut' : accessory_suitcase, - 'cprf' : preferences, - 'sctr' : sharable_container, - 'capp' : application, - 'ctrs' : trash_2d_object, - 'pcda' : accessory_process, - 'cwin' : window, - 'iwnd' : information_window, - 'prcs' : process, - 'appf' : application_file, - 'inlf' : internet_location, - 'cwnd' : container_window, - 'cobj' : item, - 'shor' : StdSuites.Type_Names_Suite.small_integer, - 'tr16' : StdSuites.Type_Names_Suite.RGB16_color, - 'aeut' : StdSuites.Type_Names_Suite.system_dictionary, - 'clrt' : StdSuites.Type_Names_Suite.color_table, - 'fpnt' : StdSuites.Type_Names_Suite.fixed_point, - 'TEXT' : StdSuites.Type_Names_Suite.plain_text, - 'elin' : StdSuites.Type_Names_Suite.type_element_info, - 'insl' : StdSuites.Type_Names_Suite.location_reference, - 'vers' : StdSuites.Type_Names_Suite.version, - 'EPS ' : StdSuites.Type_Names_Suite.PostScript_picture, - 'mLoc' : StdSuites.Type_Names_Suite.machine_location, - 'cmen' : StdSuites.Type_Names_Suite.menu_item, - 'tpmm' : StdSuites.Type_Names_Suite.pixel_map_record, - 'aete' : StdSuites.Type_Names_Suite.application_dictionary, - 'magn' : StdSuites.Type_Names_Suite.unsigned_integer, - 'cmnu' : StdSuites.Type_Names_Suite.menu, - 'frct' : StdSuites.Type_Names_Suite.fixed_rectangle, - 'lfrc' : StdSuites.Type_Names_Suite.long_fixed_rectangle, - 'evin' : StdSuites.Type_Names_Suite.type_event_info, - 'sing' : StdSuites.Type_Names_Suite.small_real, - 'suin' : StdSuites.Type_Names_Suite.type_suite_info, - 'trot' : StdSuites.Type_Names_Suite.rotation, - 'fixd' : StdSuites.Type_Names_Suite.fixed, - 'styl' : StdSuites.Type_Names_Suite.scrap_styles, - 'lpnt' : StdSuites.Type_Names_Suite.long_point, - 'gcli' : StdSuites.Type_Names_Suite.type_class_info, - 'TIFF' : StdSuites.Type_Names_Suite.TIFF_picture, - 'tr96' : StdSuites.Type_Names_Suite.RGB96_color, - 'tdas' : StdSuites.Type_Names_Suite.dash_style, - 'pinf' : StdSuites.Type_Names_Suite.type_property_info, - 'pmin' : StdSuites.Type_Names_Suite.type_parameter_info, - 'lfpt' : StdSuites.Type_Names_Suite.long_fixed_point, - 'lrct' : StdSuites.Type_Names_Suite.long_rectangle, - 'exte' : StdSuites.Type_Names_Suite.extended_real, - 'comp' : StdSuites.Type_Names_Suite.double_integer, - 'lfxd' : StdSuites.Type_Names_Suite.long_fixed, - 'null' : StdSuites.Type_Names_Suite.null, - 'targ' : StdSuites.Type_Names_Suite.target_id, - 'QDpt' : StdSuites.Type_Names_Suite.point, - 'qdrt' : StdSuites.Type_Names_Suite.bounding_rectangle, - 'capp' : application, - 'spfl' : special_folders, - 'cobj' : item, - 'ctrs' : trash_2d_object, - 'cdsk' : desktop_2d_object, - 'sctr' : sharable_container, - 'priv' : sharing_privileges, - 'cdis' : disk, - 'cfol' : folder, - 'ctnr' : container, - 'sndf' : sound_file, - 'fntf' : font_file, - 'inlf' : internet_location_file, - 'clpf' : clipping, - 'alia' : alias_file, - 'dafi' : desk_accessory_file, - 'dsut' : desk_accessory_suitcase, - 'fsut' : font_suitcase, - 'file' : file, - 'appf' : application_file, - 'stcs' : suitcase, - 'docf' : document_file, - 'pack' : package, - 'pwnd' : preferences_window, - 'vwnd' : view_options_window, - 'cwin' : window, - 'cwnd' : container_window, - 'dwnd' : content_space, - 'iwnd' : information_window, - 'lwnd' : clipping_window, - 'prcs' : process, - 'pcda' : desk_accessory_process, - 'pcap' : application_process, - 'cprf' : preferences, - 'alst' : alias_list, - 'ifam' : icon_family, - 'clbl' : label, - 'shor' : StdSuites.Type_Names_Suite.small_integer, - 'tr16' : StdSuites.Type_Names_Suite.RGB16_color, - 'aeut' : StdSuites.Type_Names_Suite.system_dictionary, - 'clrt' : StdSuites.Type_Names_Suite.color_table, - 'fpnt' : StdSuites.Type_Names_Suite.fixed_point, - 'TEXT' : StdSuites.Type_Names_Suite.plain_text, - 'elin' : StdSuites.Type_Names_Suite.type_element_info, - 'insl' : StdSuites.Type_Names_Suite.location_reference, - 'vers' : StdSuites.Type_Names_Suite.version, - 'EPS ' : StdSuites.Type_Names_Suite.PostScript_picture, - 'mLoc' : StdSuites.Type_Names_Suite.machine_location, - 'cmen' : StdSuites.Type_Names_Suite.menu_item, - 'tpmm' : StdSuites.Type_Names_Suite.pixel_map_record, - 'aete' : StdSuites.Type_Names_Suite.application_dictionary, - 'magn' : StdSuites.Type_Names_Suite.unsigned_integer, - 'cmnu' : StdSuites.Type_Names_Suite.menu, - 'frct' : StdSuites.Type_Names_Suite.fixed_rectangle, - 'lfrc' : StdSuites.Type_Names_Suite.long_fixed_rectangle, - 'evin' : StdSuites.Type_Names_Suite.type_event_info, - 'sing' : StdSuites.Type_Names_Suite.small_real, - 'suin' : StdSuites.Type_Names_Suite.type_suite_info, - 'trot' : StdSuites.Type_Names_Suite.rotation, - 'fixd' : StdSuites.Type_Names_Suite.fixed, - 'styl' : StdSuites.Type_Names_Suite.scrap_styles, - 'lpnt' : StdSuites.Type_Names_Suite.long_point, - 'gcli' : StdSuites.Type_Names_Suite.type_class_info, - 'TIFF' : StdSuites.Type_Names_Suite.TIFF_picture, - 'tr96' : StdSuites.Type_Names_Suite.RGB96_color, - 'tdas' : StdSuites.Type_Names_Suite.dash_style, - 'pinf' : StdSuites.Type_Names_Suite.type_property_info, - 'pmin' : StdSuites.Type_Names_Suite.type_parameter_info, - 'lfpt' : StdSuites.Type_Names_Suite.long_fixed_point, - 'lrct' : StdSuites.Type_Names_Suite.long_rectangle, - 'exte' : StdSuites.Type_Names_Suite.extended_real, - 'comp' : StdSuites.Type_Names_Suite.double_integer, - 'lfxd' : StdSuites.Type_Names_Suite.long_fixed, - 'null' : StdSuites.Type_Names_Suite.null, - 'targ' : StdSuites.Type_Names_Suite.target_id, - 'QDpt' : StdSuites.Type_Names_Suite.point, - 'qdrt' : StdSuites.Type_Names_Suite.bounding_rectangle, - 'qwnd' : status_window, - 'capp' : application, - 'swnd' : sharing_window, - 'ccdv' : control_panel, - 'prcs' : process, - 'cobj' : item, - 'file' : file, - 'sctr' : sharable_container, - 'cwnd' : container_window, - 'ctnr' : container, - 'iwnd' : information_window, - 'shor' : StdSuites.Type_Names_Suite.small_integer, - 'tr16' : StdSuites.Type_Names_Suite.RGB16_color, - 'aeut' : StdSuites.Type_Names_Suite.system_dictionary, - 'clrt' : StdSuites.Type_Names_Suite.color_table, - 'fpnt' : StdSuites.Type_Names_Suite.fixed_point, - 'TEXT' : StdSuites.Type_Names_Suite.plain_text, - 'elin' : StdSuites.Type_Names_Suite.type_element_info, - 'insl' : StdSuites.Type_Names_Suite.location_reference, - 'vers' : StdSuites.Type_Names_Suite.version, - 'EPS ' : StdSuites.Type_Names_Suite.PostScript_picture, - 'mLoc' : StdSuites.Type_Names_Suite.machine_location, - 'cmen' : StdSuites.Type_Names_Suite.menu_item, - 'tpmm' : StdSuites.Type_Names_Suite.pixel_map_record, - 'aete' : StdSuites.Type_Names_Suite.application_dictionary, - 'magn' : StdSuites.Type_Names_Suite.unsigned_integer, - 'cmnu' : StdSuites.Type_Names_Suite.menu, - 'frct' : StdSuites.Type_Names_Suite.fixed_rectangle, - 'lfrc' : StdSuites.Type_Names_Suite.long_fixed_rectangle, - 'evin' : StdSuites.Type_Names_Suite.type_event_info, - 'sing' : StdSuites.Type_Names_Suite.small_real, - 'suin' : StdSuites.Type_Names_Suite.type_suite_info, - 'trot' : StdSuites.Type_Names_Suite.rotation, - 'fixd' : StdSuites.Type_Names_Suite.fixed, - 'styl' : StdSuites.Type_Names_Suite.scrap_styles, - 'lpnt' : StdSuites.Type_Names_Suite.long_point, - 'gcli' : StdSuites.Type_Names_Suite.type_class_info, - 'TIFF' : StdSuites.Type_Names_Suite.TIFF_picture, - 'tr96' : StdSuites.Type_Names_Suite.RGB96_color, - 'tdas' : StdSuites.Type_Names_Suite.dash_style, - 'pinf' : StdSuites.Type_Names_Suite.type_property_info, - 'pmin' : StdSuites.Type_Names_Suite.type_parameter_info, - 'lfpt' : StdSuites.Type_Names_Suite.long_fixed_point, - 'lrct' : StdSuites.Type_Names_Suite.long_rectangle, - 'exte' : StdSuites.Type_Names_Suite.extended_real, - 'comp' : StdSuites.Type_Names_Suite.double_integer, - 'lfxd' : StdSuites.Type_Names_Suite.long_fixed, - 'null' : StdSuites.Type_Names_Suite.null, - 'targ' : StdSuites.Type_Names_Suite.target_id, - 'QDpt' : StdSuites.Type_Names_Suite.point, - 'qdrt' : StdSuites.Type_Names_Suite.bounding_rectangle, -} - - -class Finder(Standard_Suite_Events, - Earlier_terms_Events, - Finder_Basics_Events, - Finder_items_Events, - Containers_and_folders_Events, - Files_and_suitcases_Events, - Window_classes_Events, - Process_classes_Events, - Type_Definitions_Events, - Enumerations_Events, - Obsolete_terms_Events, - aetools.TalkTo): - _signature = 'MACS' - - _moduleName = 'Finder' - |