diff options
Diffstat (limited to 'Lib/plat-mac/lib-scriptpackages/SystemEvents')
10 files changed, 371 insertions, 568 deletions
diff --git a/Lib/plat-mac/lib-scriptpackages/SystemEvents/Disk_2d_Folder_2d_File_Suite.py b/Lib/plat-mac/lib-scriptpackages/SystemEvents/Disk_2d_Folder_2d_File_Suite.py index 7e35c53576c..548e9811db7 100644 --- a/Lib/plat-mac/lib-scriptpackages/SystemEvents/Disk_2d_Folder_2d_File_Suite.py +++ b/Lib/plat-mac/lib-scriptpackages/SystemEvents/Disk_2d_Folder_2d_File_Suite.py @@ -42,15 +42,15 @@ class Disk_2d_Folder_2d_File_Suite_Events: class alias(aetools.ComponentItem): """alias - An alias in the file system """ want = 'alis' -class _3c_Inheritance_3e_(aetools.NProperty): +class _Prop__3c_Inheritance_3e_(aetools.NProperty): """<Inheritance> - All of the properties of the superclass. """ which = 'c@#^' want = 'cobj' -class properties(aetools.NProperty): +class _Prop_properties(aetools.NProperty): """properties - every property of the alias """ which = 'pALL' want = '****' -class version(aetools.NProperty): +class _Prop_version(aetools.NProperty): """version - the version of the application bundle referenced by the alias (visible at the bottom of the "Get Info" window) """ which = 'vers' want = 'utxt' @@ -64,31 +64,31 @@ aliases = alias class disk(aetools.ComponentItem): """disk - A disk in the file system """ want = 'cdis' -class capacity(aetools.NProperty): +class _Prop_capacity(aetools.NProperty): """capacity - the total number of bytes (free or used) on the disk """ which = 'capa' want = 'magn' -class ejectable(aetools.NProperty): +class _Prop_ejectable(aetools.NProperty): """ejectable - Can the media be ejected (floppies, CD's, and so on)? """ which = 'isej' want = 'bool' -class format(aetools.NProperty): +class _Prop_format(aetools.NProperty): """format - the file system format of this disk """ which = 'dfmt' want = 'edfm' -class free_space(aetools.NProperty): +class _Prop_free_space(aetools.NProperty): """free space - the number of free bytes left on the disk """ which = 'frsp' want = 'magn' -class ignore_privileges(aetools.NProperty): +class _Prop_ignore_privileges(aetools.NProperty): """ignore privileges - Ignore permissions on this disk? """ which = 'igpr' want = 'bool' -class local_volume(aetools.NProperty): +class _Prop_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): +class _Prop_startup(aetools.NProperty): """startup - Is this disk the boot disk? """ which = 'istd' want = 'bool' @@ -112,51 +112,51 @@ folders = folder class item(aetools.ComponentItem): """item - An item in the file system """ want = 'cobj' -class POSIX_path(aetools.NProperty): +class _Prop_POSIX_path(aetools.NProperty): """POSIX path - the POSIX file system path of the item """ which = 'posx' want = 'utxt' -class busy_status(aetools.NProperty): +class _Prop_busy_status(aetools.NProperty): """busy status - Is the item busy? """ which = 'busy' want = 'bool' -class creation_date(aetools.NProperty): +class _Prop_creation_date(aetools.NProperty): """creation date - the date on which the item was created """ which = 'ascd' want = '****' -class displayed_name(aetools.NProperty): +class _Prop_displayed_name(aetools.NProperty): """displayed name - the name of the item as displayed in the User Interface """ which = 'dnam' want = 'utxt' -class modification_date(aetools.NProperty): +class _Prop_modification_date(aetools.NProperty): """modification date - the date on which the item was last modified """ which = 'asmo' want = '****' -class name(aetools.NProperty): +class _Prop_name(aetools.NProperty): """name - the name of the item """ which = 'pnam' want = 'utxt' -class name_extension(aetools.NProperty): +class _Prop_name_extension(aetools.NProperty): """name extension - the extension portion of the name """ which = 'extn' want = 'utxt' -class package_folder(aetools.NProperty): +class _Prop_package_folder(aetools.NProperty): """package folder - Is the item a package? """ which = 'pkgf' want = 'bool' -class path(aetools.NProperty): +class _Prop_path(aetools.NProperty): """path - the file system path of the item """ which = 'ppth' want = 'utxt' -class url(aetools.NProperty): +class _Prop_url(aetools.NProperty): """url - the url of the item """ which = 'url ' want = 'utxt' -class visible(aetools.NProperty): +class _Prop_visible(aetools.NProperty): """visible - Is the item visible? """ which = 'pvis' want = 'bool' -class volume(aetools.NProperty): +class _Prop_volume(aetools.NProperty): """volume - the volume on which the item resides """ which = 'volu' want = 'utxt' @@ -166,27 +166,27 @@ items = item class file(aetools.ComponentItem): """file - A file in the file system """ want = 'file' -class creator_type(aetools.NProperty): +class _Prop_creator_type(aetools.NProperty): """creator type - the OSType identifying the application that created the file """ which = 'fcrt' want = 'utxt' -class file_type(aetools.NProperty): +class _Prop_file_type(aetools.NProperty): """file type - the OSType identifying the type of data contained in the file """ which = 'asty' want = 'utxt' -class physical_size(aetools.NProperty): +class _Prop_physical_size(aetools.NProperty): """physical size - the actual space used by the file on disk """ which = 'phys' want = '****' -class product_version(aetools.NProperty): +class _Prop_product_version(aetools.NProperty): """product version - the version of the product (visible at the top of the "Get Info" window) """ which = 'ver2' want = 'utxt' -class size(aetools.NProperty): +class _Prop_size(aetools.NProperty): """size - the logical size of the file """ which = 'ptsz' want = '****' -class stationery(aetools.NProperty): +class _Prop_stationery(aetools.NProperty): """stationery - Is the file a stationery pad? """ which = 'pspd' want = 'bool' @@ -194,9 +194,9 @@ class stationery(aetools.NProperty): files = file alias._superclassnames = ['item'] alias._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'properties' : properties, - 'version' : version, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, + 'properties' : _Prop_properties, + 'version' : _Prop_version, } alias._privelemdict = { 'alias' : alias, @@ -206,15 +206,15 @@ alias._privelemdict = { } disk._superclassnames = ['item'] disk._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'capacity' : capacity, - 'ejectable' : ejectable, - 'format' : format, - 'free_space' : free_space, - 'ignore_privileges' : ignore_privileges, - 'local_volume' : local_volume, - 'properties' : properties, - 'startup' : startup, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, + 'capacity' : _Prop_capacity, + 'ejectable' : _Prop_ejectable, + 'format' : _Prop_format, + 'free_space' : _Prop_free_space, + 'ignore_privileges' : _Prop_ignore_privileges, + 'local_volume' : _Prop_local_volume, + 'properties' : _Prop_properties, + 'startup' : _Prop_startup, } disk._privelemdict = { 'alias' : alias, @@ -224,8 +224,8 @@ disk._privelemdict = { } folder._superclassnames = ['item'] folder._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'properties' : properties, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, + 'properties' : _Prop_properties, } folder._privelemdict = { 'alias' : alias, @@ -235,34 +235,34 @@ folder._privelemdict = { } item._superclassnames = [] item._privpropdict = { - 'POSIX_path' : POSIX_path, - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'busy_status' : busy_status, - 'creation_date' : creation_date, - 'displayed_name' : displayed_name, - 'modification_date' : modification_date, - 'name' : name, - 'name_extension' : name_extension, - 'package_folder' : package_folder, - 'path' : path, - 'properties' : properties, - 'url' : url, - 'visible' : visible, - 'volume' : volume, + 'POSIX_path' : _Prop_POSIX_path, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, + 'busy_status' : _Prop_busy_status, + 'creation_date' : _Prop_creation_date, + 'displayed_name' : _Prop_displayed_name, + 'modification_date' : _Prop_modification_date, + 'name' : _Prop_name, + 'name_extension' : _Prop_name_extension, + 'package_folder' : _Prop_package_folder, + 'path' : _Prop_path, + 'properties' : _Prop_properties, + 'url' : _Prop_url, + 'visible' : _Prop_visible, + 'volume' : _Prop_volume, } item._privelemdict = { } file._superclassnames = ['item'] file._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'creator_type' : creator_type, - 'file_type' : file_type, - 'physical_size' : physical_size, - 'product_version' : product_version, - 'properties' : properties, - 'size' : size, - 'stationery' : stationery, - 'version' : version, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, + 'creator_type' : _Prop_creator_type, + 'file_type' : _Prop_file_type, + 'physical_size' : _Prop_physical_size, + 'product_version' : _Prop_product_version, + 'properties' : _Prop_properties, + 'size' : _Prop_size, + 'stationery' : _Prop_stationery, + 'version' : _Prop_version, } file._privelemdict = { } @@ -295,41 +295,3 @@ _classdeclarations = { 'cobj' : item, 'file' : file, } - -_propdeclarations = { - 'ascd' : creation_date, - 'asmo' : modification_date, - 'asty' : file_type, - 'busy' : busy_status, - 'c@#^' : _3c_Inheritance_3e_, - 'capa' : capacity, - 'dfmt' : format, - 'dnam' : displayed_name, - 'extn' : name_extension, - 'fcrt' : creator_type, - 'frsp' : free_space, - 'igpr' : ignore_privileges, - 'isej' : ejectable, - 'isrv' : local_volume, - 'istd' : startup, - 'pALL' : properties, - 'phys' : physical_size, - 'pkgf' : package_folder, - 'pnam' : name, - 'posx' : POSIX_path, - 'ppth' : path, - 'pspd' : stationery, - 'ptsz' : size, - 'pvis' : visible, - 'url ' : url, - 'ver2' : product_version, - 'vers' : version, - 'volu' : volume, -} - -_compdeclarations = { -} - -_enumdeclarations = { - 'edfm' : _Enum_edfm, -} diff --git a/Lib/plat-mac/lib-scriptpackages/SystemEvents/Folder_Actions_Suite.py b/Lib/plat-mac/lib-scriptpackages/SystemEvents/Folder_Actions_Suite.py index 666dd81bc43..680cd1d15fa 100644 --- a/Lib/plat-mac/lib-scriptpackages/SystemEvents/Folder_Actions_Suite.py +++ b/Lib/plat-mac/lib-scriptpackages/SystemEvents/Folder_Actions_Suite.py @@ -150,27 +150,27 @@ class Folder_Actions_Suite_Events: class folder_action(aetools.ComponentItem): """folder action - An action attached to a folder in the file system """ want = 'foac' -class _3c_Inheritance_3e_(aetools.NProperty): +class _Prop__3c_Inheritance_3e_(aetools.NProperty): """<Inheritance> - All of the properties of the superclass. """ which = 'c@#^' want = 'cobj' -class enabled(aetools.NProperty): +class _Prop_enabled(aetools.NProperty): """enabled - Is the folder action enabled? """ which = 'enaB' want = 'bool' -class name(aetools.NProperty): +class _Prop_name(aetools.NProperty): """name - the name of the folder action, which is also the name of the folder """ which = 'pnam' want = 'utxt' -class path(aetools.NProperty): +class _Prop_path(aetools.NProperty): """path - the path to the folder to which the folder action applies """ which = 'ppth' want = '****' -class properties(aetools.NProperty): +class _Prop_properties(aetools.NProperty): """properties - every property of the folder action """ which = 'pALL' want = '****' -class volume(aetools.NProperty): +class _Prop_volume(aetools.NProperty): """volume - the volume on which the folder action resides """ which = 'volu' want = 'utxt' @@ -181,7 +181,7 @@ folder_actions = folder_action class script(aetools.ComponentItem): """script - A script invoked by a folder action """ want = 'scpt' -class POSIX_path(aetools.NProperty): +class _Prop_POSIX_path(aetools.NProperty): """POSIX path - the POSIX file system path of the disk """ which = 'posx' want = 'utxt' @@ -190,23 +190,23 @@ scripts = script import Standard_Suite folder_action._superclassnames = ['item'] folder_action._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'enabled' : enabled, - 'name' : name, - 'path' : path, - 'properties' : properties, - 'volume' : volume, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, + 'enabled' : _Prop_enabled, + 'name' : _Prop_name, + 'path' : _Prop_path, + 'properties' : _Prop_properties, + 'volume' : _Prop_volume, } folder_action._privelemdict = { 'script' : script, } script._superclassnames = ['item'] script._privpropdict = { - 'POSIX_path' : POSIX_path, - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'name' : name, - 'path' : path, - 'properties' : properties, + 'POSIX_path' : _Prop_POSIX_path, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, + 'name' : _Prop_name, + 'path' : _Prop_path, + 'properties' : _Prop_properties, } script._privelemdict = { } @@ -226,20 +226,3 @@ _classdeclarations = { 'foac' : folder_action, 'scpt' : script, } - -_propdeclarations = { - 'c@#^' : _3c_Inheritance_3e_, - 'enaB' : enabled, - 'pALL' : properties, - 'pnam' : name, - 'posx' : POSIX_path, - 'ppth' : path, - 'volu' : volume, -} - -_compdeclarations = { -} - -_enumdeclarations = { - 'actn' : _Enum_actn, -} diff --git a/Lib/plat-mac/lib-scriptpackages/SystemEvents/Hidden_Suite.py b/Lib/plat-mac/lib-scriptpackages/SystemEvents/Hidden_Suite.py index 2776878d34c..16971d7c125 100644 --- a/Lib/plat-mac/lib-scriptpackages/SystemEvents/Hidden_Suite.py +++ b/Lib/plat-mac/lib-scriptpackages/SystemEvents/Hidden_Suite.py @@ -39,12 +39,3 @@ class Hidden_Suite_Events(Type_Names_Suite_Events): # _classdeclarations = { } - -_propdeclarations = { -} - -_compdeclarations = { -} - -_enumdeclarations = { -} diff --git a/Lib/plat-mac/lib-scriptpackages/SystemEvents/Login_Items_Suite.py b/Lib/plat-mac/lib-scriptpackages/SystemEvents/Login_Items_Suite.py index 9206b88b9db..4ab49114e58 100644 --- a/Lib/plat-mac/lib-scriptpackages/SystemEvents/Login_Items_Suite.py +++ b/Lib/plat-mac/lib-scriptpackages/SystemEvents/Login_Items_Suite.py @@ -18,23 +18,23 @@ class Login_Items_Suite_Events: class login_item(aetools.ComponentItem): """login item - an item to be launched or opened at login """ want = 'logi' -class _3c_Inheritance_3e_(aetools.NProperty): +class _Prop__3c_Inheritance_3e_(aetools.NProperty): """<Inheritance> - All of the properties of the superclass. """ which = 'c@#^' want = 'cobj' -class hidden(aetools.NProperty): +class _Prop_hidden(aetools.NProperty): """hidden - Is the Login Item hidden when launched? """ which = 'hidn' want = 'bool' -class kind(aetools.NProperty): +class _Prop_kind(aetools.NProperty): """kind - the file type of the Login Item """ which = 'kind' want = 'utxt' -class name(aetools.NProperty): +class _Prop_name(aetools.NProperty): """name - the name of the Login Item """ which = 'pnam' want = 'utxt' -class path(aetools.NProperty): +class _Prop_path(aetools.NProperty): """path - the file system path to the Login Item """ which = 'ppth' want = 'utxt' @@ -43,11 +43,11 @@ login_items = login_item import Standard_Suite login_item._superclassnames = ['item'] login_item._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'hidden' : hidden, - 'kind' : kind, - 'name' : name, - 'path' : path, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, + 'hidden' : _Prop_hidden, + 'kind' : _Prop_kind, + 'name' : _Prop_name, + 'path' : _Prop_path, } login_item._privelemdict = { } @@ -58,17 +58,3 @@ login_item._privelemdict = { _classdeclarations = { 'logi' : login_item, } - -_propdeclarations = { - 'c@#^' : _3c_Inheritance_3e_, - 'hidn' : hidden, - 'kind' : kind, - 'pnam' : name, - 'ppth' : path, -} - -_compdeclarations = { -} - -_enumdeclarations = { -} diff --git a/Lib/plat-mac/lib-scriptpackages/SystemEvents/Power_Suite.py b/Lib/plat-mac/lib-scriptpackages/SystemEvents/Power_Suite.py index 9745dd8adad..8eecdd0193b 100644 --- a/Lib/plat-mac/lib-scriptpackages/SystemEvents/Power_Suite.py +++ b/Lib/plat-mac/lib-scriptpackages/SystemEvents/Power_Suite.py @@ -78,12 +78,3 @@ class Power_Suite_Events: # _classdeclarations = { } - -_propdeclarations = { -} - -_compdeclarations = { -} - -_enumdeclarations = { -} diff --git a/Lib/plat-mac/lib-scriptpackages/SystemEvents/Processes_Suite.py b/Lib/plat-mac/lib-scriptpackages/SystemEvents/Processes_Suite.py index 4cf4e8e9172..ce9562c3c73 100644 --- a/Lib/plat-mac/lib-scriptpackages/SystemEvents/Processes_Suite.py +++ b/Lib/plat-mac/lib-scriptpackages/SystemEvents/Processes_Suite.py @@ -227,7 +227,7 @@ class Processes_Suite_Events: class browser(aetools.ComponentItem): """browser - A browser belonging to a window """ want = 'broW' -class _3c_Inheritance_3e_(aetools.NProperty): +class _Prop__3c_Inheritance_3e_(aetools.NProperty): """<Inheritance> - All of the properties of the superclass. """ which = 'c@#^' want = 'uiel' @@ -1206,7 +1206,7 @@ outlines = outline class application_process(aetools.ComponentItem): """application process - A process launched from an application file """ want = 'pcap' -class application_file(aetools.NProperty): +class _Prop_application_file(aetools.NProperty): """application file - a reference to the application file from which this process was launched """ which = 'appf' want = '****' @@ -1259,7 +1259,7 @@ application_processes = application_process class desk_accessory_process(aetools.ComponentItem): """desk accessory process - A process launched from an desk accessory file """ want = 'pcda' -class desk_accessory_file(aetools.NProperty): +class _Prop_desk_accessory_file(aetools.NProperty): """desk accessory file - a reference to the desk accessory file from which this process was launched """ which = 'dafi' want = '****' @@ -1359,59 +1359,59 @@ pop_up_buttons = pop_up_button class process(aetools.ComponentItem): """process - A process running on this computer """ want = 'prcs' -class Classic(aetools.NProperty): +class _Prop_Classic(aetools.NProperty): """Classic - Is the process running in the Classic environment? """ which = 'clsc' want = 'bool' -class accepts_high_level_events(aetools.NProperty): +class _Prop_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): +class _Prop_accepts_remote_events(aetools.NProperty): """accepts remote events - Does the process accept remote events? """ which = 'revt' want = 'bool' -class creator_type(aetools.NProperty): +class _Prop_creator_type(aetools.NProperty): """creator type - the OSType of the creator of the process (the signature) """ which = 'fcrt' want = 'utxt' -class displayed_name(aetools.NProperty): +class _Prop_displayed_name(aetools.NProperty): """displayed name - the name of the file from which the process was launched, as displayed in the User Interface """ which = 'dnam' want = 'utxt' -class file(aetools.NProperty): +class _Prop_file(aetools.NProperty): """file - the file from which the process was launched """ which = 'file' want = '****' -class file_type(aetools.NProperty): +class _Prop_file_type(aetools.NProperty): """file type - the OSType of the file type of the process """ which = 'asty' want = 'utxt' -class frontmost(aetools.NProperty): +class _Prop_frontmost(aetools.NProperty): """frontmost - Is the process the frontmost process """ which = 'pisf' want = 'bool' -class has_scripting_terminology(aetools.NProperty): +class _Prop_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 name(aetools.NProperty): +class _Prop_name(aetools.NProperty): """name - the name of the process """ which = 'pnam' want = 'utxt' -class partition_space_used(aetools.NProperty): +class _Prop_partition_space_used(aetools.NProperty): """partition space used - the number of bytes currently used in the process' partition """ which = 'pusd' want = 'magn' -class properties(aetools.NProperty): +class _Prop_properties(aetools.NProperty): """properties - every property of the process """ which = 'pALL' want = '****' -class total_partition_size(aetools.NProperty): +class _Prop_total_partition_size(aetools.NProperty): """total partition size - the size of the partition with which the process was launched """ which = 'appt' want = 'magn' -class visible(aetools.NProperty): +class _Prop_visible(aetools.NProperty): """visible - Is the process' layer visible? """ which = 'pvis' want = 'bool' @@ -2314,63 +2314,63 @@ text_fields = text_field class UI_element(aetools.ComponentItem): """UI element - A piece of the user interface of a process """ want = 'uiel' -class class_(aetools.NProperty): +class _Prop_class_(aetools.NProperty): """class - the class of the UI Element, which identifies it function """ which = 'pcls' want = 'type' -class description(aetools.NProperty): +class _Prop_description(aetools.NProperty): """description - a more complete description of the UI element and its capabilities """ which = 'desc' want = 'utxt' -class enabled(aetools.NProperty): +class _Prop_enabled(aetools.NProperty): """enabled - Is the UI element enabled? ( Does it accept clicks? ) """ which = 'enab' want = 'bool' -class focused(aetools.NProperty): +class _Prop_focused(aetools.NProperty): """focused - Is the focus on this UI element? """ which = 'focu' want = 'bool' -class help(aetools.NProperty): +class _Prop_help(aetools.NProperty): """help - an encoded description of the UI element and its capabilities """ which = 'help' want = 'utxt' -class maximum(aetools.NProperty): +class _Prop_maximum(aetools.NProperty): """maximum - the maximum vale that the UI element can take on """ which = 'maxi' want = 'long' -class minimum(aetools.NProperty): +class _Prop_minimum(aetools.NProperty): """minimum - the minimum vale that the UI element can take on """ which = 'mini' want = 'long' -class orientation(aetools.NProperty): +class _Prop_orientation(aetools.NProperty): """orientation - the orientation of the UI element """ which = 'orie' want = 'utxt' -class position(aetools.NProperty): +class _Prop_position(aetools.NProperty): """position - the position of the UI element """ which = 'posn' want = 'QDpt' -class role(aetools.NProperty): +class _Prop_role(aetools.NProperty): """role - an encoded description of the UI element and its capabilities """ which = 'role' want = 'utxt' -class selected(aetools.NProperty): +class _Prop_selected(aetools.NProperty): """selected - Is the UI element selected? """ which = 'selE' want = '****' -class size(aetools.NProperty): +class _Prop_size(aetools.NProperty): """size - the size of the UI element """ which = 'ptsz' want = 'QDpt' -class subrole(aetools.NProperty): +class _Prop_subrole(aetools.NProperty): """subrole - an encoded description of the UI element and its capabilities """ which = 'sbrl' want = 'utxt' -class title(aetools.NProperty): +class _Prop_title(aetools.NProperty): """title - the title of the UI element as it appears on the screen """ which = 'titl' want = 'utxt' -class value(aetools.NProperty): +class _Prop_value(aetools.NProperty): """value - the current value of the UI element """ which = 'valu' want = 'long' @@ -2466,7 +2466,7 @@ class value_indicator(aetools.ComponentItem): value_indicators = value_indicator browser._superclassnames = ['UI_element'] browser._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } browser._privelemdict = { 'UI_element' : UI_element, @@ -2513,7 +2513,7 @@ browser._privelemdict = { } busy_indicator._superclassnames = ['UI_element'] busy_indicator._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } busy_indicator._privelemdict = { 'UI_element' : UI_element, @@ -2560,7 +2560,7 @@ busy_indicator._privelemdict = { } button._superclassnames = ['UI_element'] button._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } button._privelemdict = { 'UI_element' : UI_element, @@ -2607,7 +2607,7 @@ button._privelemdict = { } application._superclassnames = ['UI_element'] application._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } application._privelemdict = { 'UI_element' : UI_element, @@ -2654,7 +2654,7 @@ application._privelemdict = { } column._superclassnames = ['UI_element'] column._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } column._privelemdict = { 'UI_element' : UI_element, @@ -2701,7 +2701,7 @@ column._privelemdict = { } check_box._superclassnames = ['UI_element'] check_box._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } check_box._privelemdict = { 'UI_element' : UI_element, @@ -2748,7 +2748,7 @@ check_box._privelemdict = { } color_well._superclassnames = ['UI_element'] color_well._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } color_well._privelemdict = { 'UI_element' : UI_element, @@ -2795,7 +2795,7 @@ color_well._privelemdict = { } combo_box._superclassnames = ['UI_element'] combo_box._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } combo_box._privelemdict = { 'UI_element' : UI_element, @@ -2842,7 +2842,7 @@ combo_box._privelemdict = { } row._superclassnames = ['UI_element'] row._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } row._privelemdict = { 'UI_element' : UI_element, @@ -2889,7 +2889,7 @@ row._privelemdict = { } window._superclassnames = ['UI_element'] window._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } window._privelemdict = { 'UI_element' : UI_element, @@ -2968,7 +2968,7 @@ window._privelemdict = { } drawer._superclassnames = ['UI_element'] drawer._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } drawer._privelemdict = { 'UI_element' : UI_element, @@ -3015,7 +3015,7 @@ drawer._privelemdict = { } grow_area._superclassnames = ['UI_element'] grow_area._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } grow_area._privelemdict = { 'UI_element' : UI_element, @@ -3062,7 +3062,7 @@ grow_area._privelemdict = { } image._superclassnames = ['UI_element'] image._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } image._privelemdict = { 'UI_element' : UI_element, @@ -3109,7 +3109,7 @@ image._privelemdict = { } incrementor._superclassnames = ['UI_element'] incrementor._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } incrementor._privelemdict = { 'UI_element' : UI_element, @@ -3156,7 +3156,7 @@ incrementor._privelemdict = { } list._superclassnames = ['UI_element'] list._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } list._privelemdict = { 'UI_element' : UI_element, @@ -3203,7 +3203,7 @@ list._privelemdict = { } menu_bar._superclassnames = ['UI_element'] menu_bar._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } menu_bar._privelemdict = { 'UI_element' : UI_element, @@ -3251,7 +3251,7 @@ menu_bar._privelemdict = { } menu_button._superclassnames = ['UI_element'] menu_button._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } menu_button._privelemdict = { 'UI_element' : UI_element, @@ -3298,7 +3298,7 @@ menu_button._privelemdict = { } menu._superclassnames = ['UI_element'] menu._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } menu._privelemdict = { 'UI_element' : UI_element, @@ -3346,7 +3346,7 @@ menu._privelemdict = { } menu_item._superclassnames = ['UI_element'] menu_item._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } menu_item._privelemdict = { 'UI_element' : UI_element, @@ -3394,7 +3394,7 @@ menu_item._privelemdict = { } outline._superclassnames = ['UI_element'] outline._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } outline._privelemdict = { 'UI_element' : UI_element, @@ -3441,8 +3441,8 @@ outline._privelemdict = { } application_process._superclassnames = ['process'] application_process._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'application_file' : application_file, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, + 'application_file' : _Prop_application_file, } application_process._privelemdict = { 'UI_element' : UI_element, @@ -3491,8 +3491,8 @@ application_process._privelemdict = { } desk_accessory_process._superclassnames = ['process'] desk_accessory_process._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'desk_accessory_file' : desk_accessory_file, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, + 'desk_accessory_file' : _Prop_desk_accessory_file, } desk_accessory_process._privelemdict = { 'UI_element' : UI_element, @@ -3541,7 +3541,7 @@ desk_accessory_process._privelemdict = { } pop_up_button._superclassnames = ['UI_element'] pop_up_button._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } pop_up_button._privelemdict = { 'UI_element' : UI_element, @@ -3588,21 +3588,21 @@ pop_up_button._privelemdict = { } process._superclassnames = ['UI_element'] process._privpropdict = { - 'Classic' : Classic, - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'accepts_high_level_events' : accepts_high_level_events, - 'accepts_remote_events' : accepts_remote_events, - 'creator_type' : creator_type, - 'displayed_name' : displayed_name, - 'file' : file, - 'file_type' : file_type, - 'frontmost' : frontmost, - 'has_scripting_terminology' : has_scripting_terminology, - 'name' : name, - 'partition_space_used' : partition_space_used, - 'properties' : properties, - 'total_partition_size' : total_partition_size, - 'visible' : visible, + 'Classic' : _Prop_Classic, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, + 'accepts_high_level_events' : _Prop_accepts_high_level_events, + 'accepts_remote_events' : _Prop_accepts_remote_events, + 'creator_type' : _Prop_creator_type, + 'displayed_name' : _Prop_displayed_name, + 'file' : _Prop_file, + 'file_type' : _Prop_file_type, + 'frontmost' : _Prop_frontmost, + 'has_scripting_terminology' : _Prop_has_scripting_terminology, + 'name' : _Prop_name, + 'partition_space_used' : _Prop_partition_space_used, + 'properties' : _Prop_properties, + 'total_partition_size' : _Prop_total_partition_size, + 'visible' : _Prop_visible, } process._privelemdict = { 'UI_element' : UI_element, @@ -3651,7 +3651,7 @@ process._privelemdict = { } progress_indicator._superclassnames = ['UI_element'] progress_indicator._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } progress_indicator._privelemdict = { 'UI_element' : UI_element, @@ -3698,7 +3698,7 @@ progress_indicator._privelemdict = { } radio_button._superclassnames = ['UI_element'] radio_button._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } radio_button._privelemdict = { 'UI_element' : UI_element, @@ -3745,7 +3745,7 @@ radio_button._privelemdict = { } relevance_indicator._superclassnames = ['UI_element'] relevance_indicator._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } relevance_indicator._privelemdict = { 'UI_element' : UI_element, @@ -3792,7 +3792,7 @@ relevance_indicator._privelemdict = { } radio_group._superclassnames = ['UI_element'] radio_group._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } radio_group._privelemdict = { 'UI_element' : UI_element, @@ -3840,7 +3840,7 @@ radio_group._privelemdict = { } scroll_area._superclassnames = ['UI_element'] scroll_area._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } scroll_area._privelemdict = { 'UI_element' : UI_element, @@ -3887,7 +3887,7 @@ scroll_area._privelemdict = { } scroll_bar._superclassnames = ['UI_element'] scroll_bar._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } scroll_bar._privelemdict = { 'UI_element' : UI_element, @@ -3936,7 +3936,7 @@ scroll_bar._privelemdict = { } group._superclassnames = ['UI_element'] group._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } group._privelemdict = { 'UI_element' : UI_element, @@ -3985,7 +3985,7 @@ group._privelemdict = { } sheet._superclassnames = ['UI_element'] sheet._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } sheet._privelemdict = { 'UI_element' : UI_element, @@ -4032,7 +4032,7 @@ sheet._privelemdict = { } slider._superclassnames = ['UI_element'] slider._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } slider._privelemdict = { 'UI_element' : UI_element, @@ -4079,7 +4079,7 @@ slider._privelemdict = { } splitter_group._superclassnames = ['UI_element'] splitter_group._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } splitter_group._privelemdict = { 'UI_element' : UI_element, @@ -4126,7 +4126,7 @@ splitter_group._privelemdict = { } splitter._superclassnames = ['UI_element'] splitter._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } splitter._privelemdict = { 'UI_element' : UI_element, @@ -4173,7 +4173,7 @@ splitter._privelemdict = { } static_text._superclassnames = ['UI_element'] static_text._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } static_text._privelemdict = { 'UI_element' : UI_element, @@ -4221,7 +4221,7 @@ static_text._privelemdict = { } system_wide_UI_element._superclassnames = ['UI_element'] system_wide_UI_element._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } system_wide_UI_element._privelemdict = { 'UI_element' : UI_element, @@ -4268,7 +4268,7 @@ system_wide_UI_element._privelemdict = { } tab_group._superclassnames = ['UI_element'] tab_group._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } tab_group._privelemdict = { 'UI_element' : UI_element, @@ -4315,7 +4315,7 @@ tab_group._privelemdict = { } table._superclassnames = ['UI_element'] table._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } table._privelemdict = { 'UI_element' : UI_element, @@ -4362,7 +4362,7 @@ table._privelemdict = { } tool_bar._superclassnames = ['UI_element'] tool_bar._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } tool_bar._privelemdict = { 'UI_element' : UI_element, @@ -4409,7 +4409,7 @@ tool_bar._privelemdict = { } text_area._superclassnames = ['UI_element'] text_area._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } text_area._privelemdict = { 'UI_element' : UI_element, @@ -4456,7 +4456,7 @@ text_area._privelemdict = { } text_field._superclassnames = ['UI_element'] text_field._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } text_field._privelemdict = { 'UI_element' : UI_element, @@ -4504,23 +4504,23 @@ text_field._privelemdict = { import Standard_Suite UI_element._superclassnames = ['item'] UI_element._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'class_' : class_, - 'description' : description, - 'enabled' : enabled, - 'focused' : focused, - 'help' : help, - 'maximum' : maximum, - 'minimum' : minimum, - 'name' : name, - 'orientation' : orientation, - 'position' : position, - 'role' : role, - 'selected' : selected, - 'size' : size, - 'subrole' : subrole, - 'title' : title, - 'value' : value, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, + 'class_' : _Prop_class_, + 'description' : _Prop_description, + 'enabled' : _Prop_enabled, + 'focused' : _Prop_focused, + 'help' : _Prop_help, + 'maximum' : _Prop_maximum, + 'minimum' : _Prop_minimum, + 'name' : _Prop_name, + 'orientation' : _Prop_orientation, + 'position' : _Prop_position, + 'role' : _Prop_role, + 'selected' : _Prop_selected, + 'size' : _Prop_size, + 'subrole' : _Prop_subrole, + 'title' : _Prop_title, + 'value' : _Prop_value, } UI_element._privelemdict = { 'UI_element' : UI_element, @@ -4567,7 +4567,7 @@ UI_element._privelemdict = { } value_indicator._superclassnames = ['UI_element'] value_indicator._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } value_indicator._privelemdict = { 'UI_element' : UI_element, @@ -4676,46 +4676,3 @@ _classdeclarations = { 'uiel' : UI_element, 'vali' : value_indicator, } - -_propdeclarations = { - 'appf' : application_file, - 'appt' : total_partition_size, - 'asty' : file_type, - 'c@#^' : _3c_Inheritance_3e_, - 'clsc' : Classic, - 'dafi' : desk_accessory_file, - 'desc' : description, - 'dnam' : displayed_name, - 'enab' : enabled, - 'fcrt' : creator_type, - 'file' : file, - 'focu' : focused, - 'help' : help, - 'hscr' : has_scripting_terminology, - 'isab' : accepts_high_level_events, - 'maxi' : maximum, - 'mini' : minimum, - 'orie' : orientation, - 'pALL' : properties, - 'pcls' : class_, - 'pisf' : frontmost, - 'pnam' : name, - 'posn' : position, - 'ptsz' : size, - 'pusd' : partition_space_used, - 'pvis' : visible, - 'revt' : accepts_remote_events, - 'role' : role, - 'sbrl' : subrole, - 'selE' : selected, - 'titl' : title, - 'valu' : value, -} - -_compdeclarations = { -} - -_enumdeclarations = { - 'eMds' : _Enum_eMds, - 'eMky' : _Enum_eMky, -} diff --git a/Lib/plat-mac/lib-scriptpackages/SystemEvents/Standard_Suite.py b/Lib/plat-mac/lib-scriptpackages/SystemEvents/Standard_Suite.py index 814b6e456de..27a978e7ddf 100644 --- a/Lib/plat-mac/lib-scriptpackages/SystemEvents/Standard_Suite.py +++ b/Lib/plat-mac/lib-scriptpackages/SystemEvents/Standard_Suite.py @@ -333,19 +333,19 @@ class Standard_Suite_Events: class application(aetools.ComponentItem): """application - An application's top level scripting object. """ want = 'capp' -class _3c_Inheritance_3e_(aetools.NProperty): +class _Prop__3c_Inheritance_3e_(aetools.NProperty): """<Inheritance> - All of the properties of the superclass. """ which = 'c@#^' want = 'cobj' -class frontmost(aetools.NProperty): +class _Prop_frontmost(aetools.NProperty): """frontmost - Is this the frontmost (active) application? """ which = 'pisf' want = 'bool' -class name(aetools.NProperty): +class _Prop_name(aetools.NProperty): """name - The name of the application. """ which = 'pnam' want = 'utxt' -class version(aetools.NProperty): +class _Prop_version(aetools.NProperty): """version - The version of the application. """ which = 'vers' want = 'utxt' @@ -357,11 +357,11 @@ applications = application class item(aetools.ComponentItem): """item - A scriptable object. """ want = 'cobj' -class class_(aetools.NProperty): +class _Prop_class_(aetools.NProperty): """class - The class of the object. """ which = 'pcls' want = 'type' -class properties(aetools.NProperty): +class _Prop_properties(aetools.NProperty): """properties - All of the object's properties. """ which = 'pALL' want = 'reco' @@ -377,59 +377,59 @@ colors = color class window(aetools.ComponentItem): """window - A window. """ want = 'cwin' -class bounds(aetools.NProperty): +class _Prop_bounds(aetools.NProperty): """bounds - The bounding rectangle of the window. """ which = 'pbnd' want = 'qdrt' -class closeable(aetools.NProperty): +class _Prop_closeable(aetools.NProperty): """closeable - Whether the window has a close box. """ which = 'hclb' want = 'bool' -class document(aetools.NProperty): +class _Prop_document(aetools.NProperty): """document - The document whose contents are being displayed in the window. """ which = 'docu' want = 'docu' -class floating(aetools.NProperty): +class _Prop_floating(aetools.NProperty): """floating - Whether the window floats. """ which = 'isfl' want = 'bool' -class id(aetools.NProperty): +class _Prop_id(aetools.NProperty): """id - The unique identifier of the window. """ which = 'ID ' want = 'long' -class index(aetools.NProperty): +class _Prop_index(aetools.NProperty): """index - The index of the window in the back-to-front window ordering. """ which = 'pidx' want = 'long' -class miniaturizable(aetools.NProperty): +class _Prop_miniaturizable(aetools.NProperty): """miniaturizable - Whether the window can be miniaturized. """ which = 'ismn' want = 'bool' -class miniaturized(aetools.NProperty): +class _Prop_miniaturized(aetools.NProperty): """miniaturized - Whether the window is currently miniaturized. """ which = 'pmnd' want = 'bool' -class modal(aetools.NProperty): +class _Prop_modal(aetools.NProperty): """modal - Whether the window is the application's current modal window. """ which = 'pmod' want = 'bool' -class resizable(aetools.NProperty): +class _Prop_resizable(aetools.NProperty): """resizable - Whether the window can be resized. """ which = 'prsz' want = 'bool' -class titled(aetools.NProperty): +class _Prop_titled(aetools.NProperty): """titled - Whether the window has a title bar. """ which = 'ptit' want = 'bool' -class visible(aetools.NProperty): +class _Prop_visible(aetools.NProperty): """visible - Whether the window is currently visible. """ which = 'pvis' want = 'bool' -class zoomable(aetools.NProperty): +class _Prop_zoomable(aetools.NProperty): """zoomable - Whether the window can be zoomed. """ which = 'iszm' want = 'bool' -class zoomed(aetools.NProperty): +class _Prop_zoomed(aetools.NProperty): """zoomed - Whether the window is currently zoomed. """ which = 'pzum' want = 'bool' @@ -439,11 +439,11 @@ windows = window class document(aetools.ComponentItem): """document - A document. """ want = 'docu' -class modified(aetools.NProperty): +class _Prop_modified(aetools.NProperty): """modified - Has the document been modified since the last save? """ which = 'imod' want = 'bool' -class path(aetools.NProperty): +class _Prop_path(aetools.NProperty): """path - The document's path. """ which = 'ppth' want = 'utxt' @@ -451,10 +451,10 @@ class path(aetools.NProperty): documents = document application._superclassnames = ['item'] application._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'frontmost' : frontmost, - 'name' : name, - 'version' : version, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, + 'frontmost' : _Prop_frontmost, + 'name' : _Prop_name, + 'version' : _Prop_version, } application._privelemdict = { 'document' : document, @@ -462,44 +462,44 @@ application._privelemdict = { } item._superclassnames = [] item._privpropdict = { - 'class_' : class_, - 'properties' : properties, + 'class_' : _Prop_class_, + 'properties' : _Prop_properties, } item._privelemdict = { } color._superclassnames = ['item'] color._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, } color._privelemdict = { } window._superclassnames = ['item'] window._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'bounds' : bounds, - 'closeable' : closeable, - 'document' : document, - 'floating' : floating, - 'id' : id, - 'index' : index, - 'miniaturizable' : miniaturizable, - 'miniaturized' : miniaturized, - 'modal' : modal, - 'name' : name, - 'resizable' : resizable, - 'titled' : titled, - 'visible' : visible, - 'zoomable' : zoomable, - 'zoomed' : zoomed, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, + 'bounds' : _Prop_bounds, + 'closeable' : _Prop_closeable, + 'document' : _Prop_document, + 'floating' : _Prop_floating, + 'id' : _Prop_id, + 'index' : _Prop_index, + 'miniaturizable' : _Prop_miniaturizable, + 'miniaturized' : _Prop_miniaturized, + 'modal' : _Prop_modal, + 'name' : _Prop_name, + 'resizable' : _Prop_resizable, + 'titled' : _Prop_titled, + 'visible' : _Prop_visible, + 'zoomable' : _Prop_zoomable, + 'zoomed' : _Prop_zoomed, } window._privelemdict = { } document._superclassnames = ['item'] document._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'modified' : modified, - 'name' : name, - 'path' : path, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, + 'modified' : _Prop_modified, + 'name' : _Prop_name, + 'path' : _Prop_path, } document._privelemdict = { } @@ -536,43 +536,3 @@ _classdeclarations = { 'cwin' : window, 'docu' : document, } - -_propdeclarations = { - 'ID ' : id, - 'c@#^' : _3c_Inheritance_3e_, - 'docu' : document, - 'hclb' : closeable, - 'imod' : modified, - 'isfl' : floating, - 'ismn' : miniaturizable, - 'iszm' : zoomable, - 'pALL' : properties, - 'pbnd' : bounds, - 'pcls' : class_, - 'pidx' : index, - 'pisf' : frontmost, - 'pmnd' : miniaturized, - 'pmod' : modal, - 'pnam' : name, - 'ppth' : path, - 'prsz' : resizable, - 'ptit' : titled, - 'pvis' : visible, - 'pzum' : zoomed, - 'vers' : version, -} - -_compdeclarations = { - '< ' : _3c_, - '<= ' : _b2_, - '= ' : _3d_, - '> ' : _3e_, - '>= ' : _b3_, - 'bgwt' : starts_with, - 'cont' : contains, - 'ends' : ends_with, -} - -_enumdeclarations = { - 'savo' : _Enum_savo, -} diff --git a/Lib/plat-mac/lib-scriptpackages/SystemEvents/System_Events_Suite.py b/Lib/plat-mac/lib-scriptpackages/SystemEvents/System_Events_Suite.py index ace4516bfde..1f6af424d3f 100644 --- a/Lib/plat-mac/lib-scriptpackages/SystemEvents/System_Events_Suite.py +++ b/Lib/plat-mac/lib-scriptpackages/SystemEvents/System_Events_Suite.py @@ -18,19 +18,19 @@ class System_Events_Suite_Events: class application(aetools.ComponentItem): """application - The System Events application """ want = 'capp' -class _3c_Inheritance_3e_(aetools.NProperty): +class _Prop__3c_Inheritance_3e_(aetools.NProperty): """<Inheritance> - All of the properties of the superclass. """ which = 'c@#^' want = 'capp' -class folder_actions_enabled(aetools.NProperty): +class _Prop_folder_actions_enabled(aetools.NProperty): """folder actions enabled - Are Folder Actions currently being processed? """ which = 'faen' want = 'bool' -class properties(aetools.NProperty): +class _Prop_properties(aetools.NProperty): """properties - every property of the System Events application """ which = 'pALL' want = '****' -class system_wide_UI_element(aetools.NProperty): +class _Prop_system_wide_UI_element(aetools.NProperty): """system wide UI element - the UI element for the entire system """ which = 'swui' want = 'uiel' @@ -56,10 +56,10 @@ import Folder_Actions_Suite import Login_Items_Suite import Processes_Suite application._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'folder_actions_enabled' : folder_actions_enabled, - 'properties' : properties, - 'system_wide_UI_element' : system_wide_UI_element, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, + 'folder_actions_enabled' : _Prop_folder_actions_enabled, + 'properties' : _Prop_properties, + 'system_wide_UI_element' : _Prop_system_wide_UI_element, } application._privelemdict = { 'UI_element' : Processes_Suite.UI_element, @@ -83,16 +83,3 @@ application._privelemdict = { _classdeclarations = { 'capp' : application, } - -_propdeclarations = { - 'c@#^' : _3c_Inheritance_3e_, - 'faen' : folder_actions_enabled, - 'pALL' : properties, - 'swui' : system_wide_UI_element, -} - -_compdeclarations = { -} - -_enumdeclarations = { -} diff --git a/Lib/plat-mac/lib-scriptpackages/SystemEvents/Text_Suite.py b/Lib/plat-mac/lib-scriptpackages/SystemEvents/Text_Suite.py index 86912649515..7deaec79551 100644 --- a/Lib/plat-mac/lib-scriptpackages/SystemEvents/Text_Suite.py +++ b/Lib/plat-mac/lib-scriptpackages/SystemEvents/Text_Suite.py @@ -18,11 +18,11 @@ class Text_Suite_Events: class attachment(aetools.ComponentItem): """attachment - Represents an inline text attachment. This class is used mainly for make commands. """ want = 'atts' -class _3c_Inheritance_3e_(aetools.NProperty): +class _Prop__3c_Inheritance_3e_(aetools.NProperty): """<Inheritance> - All of the properties of the superclass. """ which = 'c@#^' want = 'ctxt' -class file_name(aetools.NProperty): +class _Prop_file_name(aetools.NProperty): """file name - The path to the file for the attachment """ which = 'atfn' want = 'utxt' @@ -34,15 +34,15 @@ class file_name(aetools.NProperty): class attribute_run(aetools.ComponentItem): """attribute run - This subdivides the text into chunks that all have the same attributes. """ want = 'catr' -class color(aetools.NProperty): +class _Prop_color(aetools.NProperty): """color - The color of the first character. """ which = 'colr' want = 'colr' -class font(aetools.NProperty): +class _Prop_font(aetools.NProperty): """font - The name of the font of the first character. """ which = 'font' want = 'utxt' -class size(aetools.NProperty): +class _Prop_size(aetools.NProperty): """size - The size in points of the first character. """ which = 'ptsz' want = 'long' @@ -92,8 +92,8 @@ class word(aetools.ComponentItem): words = word attachment._superclassnames = ['text'] attachment._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'file_name' : file_name, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, + 'file_name' : _Prop_file_name, } attachment._privelemdict = { 'attribute_run' : attribute_run, @@ -104,10 +104,10 @@ attachment._privelemdict = { import Standard_Suite attribute_run._superclassnames = ['item'] attribute_run._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'color' : color, - 'font' : font, - 'size' : size, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, + 'color' : _Prop_color, + 'font' : _Prop_font, + 'size' : _Prop_size, } attribute_run._privelemdict = { 'attribute_run' : attribute_run, @@ -117,10 +117,10 @@ attribute_run._privelemdict = { } character._superclassnames = ['item'] character._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'color' : color, - 'font' : font, - 'size' : size, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, + 'color' : _Prop_color, + 'font' : _Prop_font, + 'size' : _Prop_size, } character._privelemdict = { 'attribute_run' : attribute_run, @@ -130,10 +130,10 @@ character._privelemdict = { } paragraph._superclassnames = ['item'] paragraph._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'color' : color, - 'font' : font, - 'size' : size, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, + 'color' : _Prop_color, + 'font' : _Prop_font, + 'size' : _Prop_size, } paragraph._privelemdict = { 'attribute_run' : attribute_run, @@ -143,10 +143,10 @@ paragraph._privelemdict = { } text._superclassnames = ['item'] text._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'color' : color, - 'font' : font, - 'size' : size, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, + 'color' : _Prop_color, + 'font' : _Prop_font, + 'size' : _Prop_size, } text._privelemdict = { 'attribute_run' : attribute_run, @@ -156,10 +156,10 @@ text._privelemdict = { } word._superclassnames = ['item'] word._privpropdict = { - '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'color' : color, - 'font' : font, - 'size' : size, + '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, + 'color' : _Prop_color, + 'font' : _Prop_font, + 'size' : _Prop_size, } word._privelemdict = { 'attribute_run' : attribute_run, @@ -179,17 +179,3 @@ _classdeclarations = { 'ctxt' : text, 'cwor' : word, } - -_propdeclarations = { - 'atfn' : file_name, - 'c@#^' : _3c_Inheritance_3e_, - 'colr' : color, - 'font' : font, - 'ptsz' : size, -} - -_compdeclarations = { -} - -_enumdeclarations = { -} diff --git a/Lib/plat-mac/lib-scriptpackages/SystemEvents/__init__.py b/Lib/plat-mac/lib-scriptpackages/SystemEvents/__init__.py index 6a639ff9fd4..de0737737d7 100644 --- a/Lib/plat-mac/lib-scriptpackages/SystemEvents/__init__.py +++ b/Lib/plat-mac/lib-scriptpackages/SystemEvents/__init__.py @@ -73,8 +73,6 @@ getbaseclasses(paragraph) getbaseclasses(word) getbaseclasses(attribute_run) getbaseclasses(text) -getbaseclasses(script) -getbaseclasses(folder_action) getbaseclasses(file) getbaseclasses(alias) getbaseclasses(item) @@ -85,47 +83,8 @@ getbaseclasses(window) getbaseclasses(application) getbaseclasses(item) getbaseclasses(document) -getbaseclasses(login_item) -getbaseclasses(StdSuites.Type_Names_Suite.double_integer) -getbaseclasses(StdSuites.Type_Names_Suite.version) -getbaseclasses(StdSuites.Type_Names_Suite.RGB16_color) -getbaseclasses(StdSuites.Type_Names_Suite.system_dictionary) -getbaseclasses(StdSuites.Type_Names_Suite.color_table) -getbaseclasses(StdSuites.Type_Names_Suite.fixed_point) -getbaseclasses(StdSuites.Type_Names_Suite.TIFF_picture) -getbaseclasses(StdSuites.Type_Names_Suite.type_element_info) -getbaseclasses(StdSuites.Type_Names_Suite.type_event_info) -getbaseclasses(StdSuites.Type_Names_Suite.machine_location) -getbaseclasses(StdSuites.Type_Names_Suite.PostScript_picture) -getbaseclasses(StdSuites.Type_Names_Suite.point) -getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_point) -getbaseclasses(StdSuites.Type_Names_Suite.menu_item) -getbaseclasses(StdSuites.Type_Names_Suite.scrap_styles) -getbaseclasses(StdSuites.Type_Names_Suite.application_dictionary) -getbaseclasses(StdSuites.Type_Names_Suite.unsigned_integer) -getbaseclasses(StdSuites.Type_Names_Suite.menu) -getbaseclasses(StdSuites.Type_Names_Suite.fixed_rectangle) -getbaseclasses(StdSuites.Type_Names_Suite.type_property_info) -getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_rectangle) -getbaseclasses(StdSuites.Type_Names_Suite.long_fixed) -getbaseclasses(StdSuites.Type_Names_Suite.type_suite_info) -getbaseclasses(StdSuites.Type_Names_Suite.rotation) -getbaseclasses(StdSuites.Type_Names_Suite.small_integer) -getbaseclasses(StdSuites.Type_Names_Suite.fixed) -getbaseclasses(StdSuites.Type_Names_Suite.long_point) -getbaseclasses(StdSuites.Type_Names_Suite.type_class_info) -getbaseclasses(StdSuites.Type_Names_Suite.RGB96_color) -getbaseclasses(StdSuites.Type_Names_Suite.target_id) -getbaseclasses(StdSuites.Type_Names_Suite.pixel_map_record) -getbaseclasses(StdSuites.Type_Names_Suite.type_parameter_info) -getbaseclasses(StdSuites.Type_Names_Suite.extended_real) -getbaseclasses(StdSuites.Type_Names_Suite.long_rectangle) -getbaseclasses(StdSuites.Type_Names_Suite.dash_style) -getbaseclasses(StdSuites.Type_Names_Suite.plain_text) -getbaseclasses(StdSuites.Type_Names_Suite.small_real) -getbaseclasses(StdSuites.Type_Names_Suite.null) -getbaseclasses(StdSuites.Type_Names_Suite.location_reference) -getbaseclasses(StdSuites.Type_Names_Suite.bounding_rectangle) +getbaseclasses(script) +getbaseclasses(folder_action) getbaseclasses(window) getbaseclasses(radio_button) getbaseclasses(list) @@ -170,7 +129,48 @@ getbaseclasses(color_well) getbaseclasses(scroll_bar) getbaseclasses(combo_box) getbaseclasses(browser) +getbaseclasses(StdSuites.Type_Names_Suite.double_integer) +getbaseclasses(StdSuites.Type_Names_Suite.version) +getbaseclasses(StdSuites.Type_Names_Suite.RGB16_color) +getbaseclasses(StdSuites.Type_Names_Suite.system_dictionary) +getbaseclasses(StdSuites.Type_Names_Suite.color_table) +getbaseclasses(StdSuites.Type_Names_Suite.fixed_point) +getbaseclasses(StdSuites.Type_Names_Suite.TIFF_picture) +getbaseclasses(StdSuites.Type_Names_Suite.type_element_info) +getbaseclasses(StdSuites.Type_Names_Suite.type_event_info) +getbaseclasses(StdSuites.Type_Names_Suite.machine_location) +getbaseclasses(StdSuites.Type_Names_Suite.PostScript_picture) +getbaseclasses(StdSuites.Type_Names_Suite.point) +getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_point) +getbaseclasses(StdSuites.Type_Names_Suite.menu_item) +getbaseclasses(StdSuites.Type_Names_Suite.scrap_styles) +getbaseclasses(StdSuites.Type_Names_Suite.application_dictionary) +getbaseclasses(StdSuites.Type_Names_Suite.unsigned_integer) +getbaseclasses(StdSuites.Type_Names_Suite.menu) +getbaseclasses(StdSuites.Type_Names_Suite.fixed_rectangle) +getbaseclasses(StdSuites.Type_Names_Suite.type_property_info) +getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_rectangle) +getbaseclasses(StdSuites.Type_Names_Suite.long_fixed) +getbaseclasses(StdSuites.Type_Names_Suite.type_suite_info) +getbaseclasses(StdSuites.Type_Names_Suite.rotation) +getbaseclasses(StdSuites.Type_Names_Suite.small_integer) +getbaseclasses(StdSuites.Type_Names_Suite.fixed) +getbaseclasses(StdSuites.Type_Names_Suite.long_point) +getbaseclasses(StdSuites.Type_Names_Suite.type_class_info) +getbaseclasses(StdSuites.Type_Names_Suite.RGB96_color) +getbaseclasses(StdSuites.Type_Names_Suite.target_id) +getbaseclasses(StdSuites.Type_Names_Suite.pixel_map_record) +getbaseclasses(StdSuites.Type_Names_Suite.type_parameter_info) +getbaseclasses(StdSuites.Type_Names_Suite.extended_real) +getbaseclasses(StdSuites.Type_Names_Suite.long_rectangle) +getbaseclasses(StdSuites.Type_Names_Suite.dash_style) +getbaseclasses(StdSuites.Type_Names_Suite.string) +getbaseclasses(StdSuites.Type_Names_Suite.small_real) +getbaseclasses(StdSuites.Type_Names_Suite.null) +getbaseclasses(StdSuites.Type_Names_Suite.location_reference) +getbaseclasses(StdSuites.Type_Names_Suite.bounding_rectangle) getbaseclasses(application) +getbaseclasses(login_item) # # Indices of types declared in this module @@ -182,8 +182,6 @@ _classdeclarations = { 'cwor' : word, 'catr' : attribute_run, 'ctxt' : text, - 'scpt' : script, - 'foac' : folder_action, 'file' : file, 'alis' : alias, 'cobj' : item, @@ -194,47 +192,8 @@ _classdeclarations = { 'capp' : application, 'cobj' : item, 'docu' : document, - 'logi' : login_item, - 'comp' : StdSuites.Type_Names_Suite.double_integer, - 'vers' : StdSuites.Type_Names_Suite.version, - 'tr16' : StdSuites.Type_Names_Suite.RGB16_color, - 'aeut' : StdSuites.Type_Names_Suite.system_dictionary, - 'clrt' : StdSuites.Type_Names_Suite.color_table, - 'fpnt' : StdSuites.Type_Names_Suite.fixed_point, - 'TIFF' : StdSuites.Type_Names_Suite.TIFF_picture, - 'elin' : StdSuites.Type_Names_Suite.type_element_info, - 'evin' : StdSuites.Type_Names_Suite.type_event_info, - 'mLoc' : StdSuites.Type_Names_Suite.machine_location, - 'EPS ' : StdSuites.Type_Names_Suite.PostScript_picture, - 'QDpt' : StdSuites.Type_Names_Suite.point, - 'lfpt' : StdSuites.Type_Names_Suite.long_fixed_point, - 'cmen' : StdSuites.Type_Names_Suite.menu_item, - 'styl' : StdSuites.Type_Names_Suite.scrap_styles, - 'aete' : StdSuites.Type_Names_Suite.application_dictionary, - 'magn' : StdSuites.Type_Names_Suite.unsigned_integer, - 'cmnu' : StdSuites.Type_Names_Suite.menu, - 'frct' : StdSuites.Type_Names_Suite.fixed_rectangle, - 'pinf' : StdSuites.Type_Names_Suite.type_property_info, - 'lfrc' : StdSuites.Type_Names_Suite.long_fixed_rectangle, - 'lfxd' : StdSuites.Type_Names_Suite.long_fixed, - 'suin' : StdSuites.Type_Names_Suite.type_suite_info, - 'trot' : StdSuites.Type_Names_Suite.rotation, - 'shor' : StdSuites.Type_Names_Suite.small_integer, - 'fixd' : StdSuites.Type_Names_Suite.fixed, - 'lpnt' : StdSuites.Type_Names_Suite.long_point, - 'gcli' : StdSuites.Type_Names_Suite.type_class_info, - 'tr96' : StdSuites.Type_Names_Suite.RGB96_color, - 'targ' : StdSuites.Type_Names_Suite.target_id, - 'tpmm' : StdSuites.Type_Names_Suite.pixel_map_record, - 'pmin' : StdSuites.Type_Names_Suite.type_parameter_info, - 'exte' : StdSuites.Type_Names_Suite.extended_real, - 'lrct' : StdSuites.Type_Names_Suite.long_rectangle, - 'tdas' : StdSuites.Type_Names_Suite.dash_style, - 'TEXT' : StdSuites.Type_Names_Suite.plain_text, - 'sing' : StdSuites.Type_Names_Suite.small_real, - 'null' : StdSuites.Type_Names_Suite.null, - 'insl' : StdSuites.Type_Names_Suite.location_reference, - 'qdrt' : StdSuites.Type_Names_Suite.bounding_rectangle, + 'scpt' : script, + 'foac' : folder_action, 'cwin' : window, 'radB' : radio_button, 'list' : list, @@ -279,7 +238,48 @@ _classdeclarations = { 'scrb' : scroll_bar, 'comB' : combo_box, 'broW' : browser, + 'comp' : StdSuites.Type_Names_Suite.double_integer, + 'vers' : StdSuites.Type_Names_Suite.version, + 'tr16' : StdSuites.Type_Names_Suite.RGB16_color, + 'aeut' : StdSuites.Type_Names_Suite.system_dictionary, + 'clrt' : StdSuites.Type_Names_Suite.color_table, + 'fpnt' : StdSuites.Type_Names_Suite.fixed_point, + 'TIFF' : StdSuites.Type_Names_Suite.TIFF_picture, + 'elin' : StdSuites.Type_Names_Suite.type_element_info, + 'evin' : StdSuites.Type_Names_Suite.type_event_info, + 'mLoc' : StdSuites.Type_Names_Suite.machine_location, + 'EPS ' : StdSuites.Type_Names_Suite.PostScript_picture, + 'QDpt' : StdSuites.Type_Names_Suite.point, + 'lfpt' : StdSuites.Type_Names_Suite.long_fixed_point, + 'cmen' : StdSuites.Type_Names_Suite.menu_item, + 'styl' : StdSuites.Type_Names_Suite.scrap_styles, + 'aete' : StdSuites.Type_Names_Suite.application_dictionary, + 'magn' : StdSuites.Type_Names_Suite.unsigned_integer, + 'cmnu' : StdSuites.Type_Names_Suite.menu, + 'frct' : StdSuites.Type_Names_Suite.fixed_rectangle, + 'pinf' : StdSuites.Type_Names_Suite.type_property_info, + 'lfrc' : StdSuites.Type_Names_Suite.long_fixed_rectangle, + 'lfxd' : StdSuites.Type_Names_Suite.long_fixed, + 'suin' : StdSuites.Type_Names_Suite.type_suite_info, + 'trot' : StdSuites.Type_Names_Suite.rotation, + 'shor' : StdSuites.Type_Names_Suite.small_integer, + 'fixd' : StdSuites.Type_Names_Suite.fixed, + 'lpnt' : StdSuites.Type_Names_Suite.long_point, + 'gcli' : StdSuites.Type_Names_Suite.type_class_info, + 'tr96' : StdSuites.Type_Names_Suite.RGB96_color, + 'targ' : StdSuites.Type_Names_Suite.target_id, + 'tpmm' : StdSuites.Type_Names_Suite.pixel_map_record, + 'pmin' : StdSuites.Type_Names_Suite.type_parameter_info, + 'exte' : StdSuites.Type_Names_Suite.extended_real, + 'lrct' : StdSuites.Type_Names_Suite.long_rectangle, + 'tdas' : StdSuites.Type_Names_Suite.dash_style, + 'TEXT' : StdSuites.Type_Names_Suite.string, + 'sing' : StdSuites.Type_Names_Suite.small_real, + 'null' : StdSuites.Type_Names_Suite.null, + 'insl' : StdSuites.Type_Names_Suite.location_reference, + 'qdrt' : StdSuites.Type_Names_Suite.bounding_rectangle, 'capp' : application, + 'logi' : login_item, } |