diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2000-08-22 20:35:17 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2000-08-22 20:35:17 (GMT) |
commit | 6c091c8ff2de5ba2249705fe9e963c364b39186b (patch) | |
tree | da5fdb00705134d2d28cdbc8de00083e220c9e11 /Mac/Lib | |
parent | 9d6d2c0c972b296eeb93413e08aa913f71fa11ba (diff) | |
download | cpython-6c091c8ff2de5ba2249705fe9e963c364b39186b.zip cpython-6c091c8ff2de5ba2249705fe9e963c364b39186b.tar.gz cpython-6c091c8ff2de5ba2249705fe9e963c364b39186b.tar.bz2 |
Regenerated to take advantage of support for multiple names for a single property.
Diffstat (limited to 'Mac/Lib')
10 files changed, 37 insertions, 105 deletions
diff --git a/Mac/Lib/lib-scriptpackages/Finder/Containers_and_folders.py b/Mac/Lib/lib-scriptpackages/Finder/Containers_and_folders.py index 41e9ba6..ed4ddda 100644 --- a/Mac/Lib/lib-scriptpackages/Finder/Containers_and_folders.py +++ b/Mac/Lib/lib-scriptpackages/Finder/Containers_and_folders.py @@ -46,7 +46,6 @@ 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' -# repeated property icon_size ... alternatively, you can specify the icons size as a constant # element 'cobj' as ['indx', 'name'] # element 'ctnr' as ['indx', 'name'] # element 'sctr' as ['indx', 'name'] @@ -70,7 +69,6 @@ containers = container class sharable_container(aetools.ComponentItem): """sharable container - A container that may be shared (disks and folders) """ want = 'sctr' -# repeated property _3c_Inheritance_3e_ inherits some of its properties from the container class class owner(aetools.NProperty): """owner - the user that owns the container (file sharing must be on to use this property) """ which = 'sown' @@ -150,7 +148,6 @@ class make_changes(aetools.NProperty): class disk(aetools.ComponentItem): """disk - A disk """ want = 'cdis' -# repeated property _3c_Inheritance_3e_ inherits some of its properties from the sharable container class class capacity(aetools.NProperty): """capacity - the total number of bytes (free or used) on the disk """ which = 'capa' @@ -194,7 +191,6 @@ disks = disk class folder(aetools.ComponentItem): """folder - A folder """ want = 'cfol' -# repeated property _3c_Inheritance_3e_ inherits some of its properties from the sharable container class # element 'cobj' as ['indx', 'name'] # element 'ctnr' as ['indx', 'name'] # element 'sctr' as ['indx', 'name'] @@ -218,7 +214,6 @@ folders = folder class desktop_2d_object(aetools.ComponentItem): """desktop-object - Desktop-object is the class of the ³desktop² object """ want = 'cdsk' -# repeated property _3c_Inheritance_3e_ inherits some of its properties from the container class (NOTE: some container properties are not valid for the desktop) class startup_disk(aetools.NProperty): """startup disk - the startup disk """ which = 'sdsk' @@ -249,7 +244,6 @@ class trash(aetools.NProperty): class trash_2d_object(aetools.ComponentItem): """trash-object - Trash-object is the class of the ³trash² object """ want = 'ctrs' -# repeated property _3c_Inheritance_3e_ inherits some of its properties from the container class class warns_before_emptying(aetools.NProperty): """warns before emptying - Display a dialog when emptying the trash? """ which = 'warn' diff --git a/Mac/Lib/lib-scriptpackages/Finder/Earlier_terms.py b/Mac/Lib/lib-scriptpackages/Finder/Earlier_terms.py index 95d2484..077da58 100644 --- a/Mac/Lib/lib-scriptpackages/Finder/Earlier_terms.py +++ b/Mac/Lib/lib-scriptpackages/Finder/Earlier_terms.py @@ -107,7 +107,6 @@ class scriptable(aetools.NProperty): class container_window(aetools.ComponentItem): """container window - A window that contains items """ want = 'cwnd' -# repeated property _3c_Inheritance_3e_ inherits some of its properties from the window class class container(aetools.NProperty): """container - the container from which the window was opened """ which = 'ctnr' @@ -198,8 +197,6 @@ internet_locations = internet_location class information_window(aetools.ComponentItem): """information window - An information window (opened by ³Get Info²) """ want = 'iwnd' -# repeated property _3c_Inheritance_3e_ inherits some of its properties from the window class -# repeated property item the item from which this window was opened class comment(aetools.NProperty): """comment - the comment """ which = 'comt' @@ -220,9 +217,6 @@ class modification_date(aetools.NProperty): """modification date - the date on which the item was last modified """ which = 'asmo' want = 'ldt ' -# repeated property suggested_partition_size the memory size with which the developer recommends the application be launched -# repeated property minimum_partition_size the smallest memory size with which the application can be launched (only applies to information windows for applications) -# repeated property partition_size the memory size with which the application will be launched (only applies to information windows for applications) class icon(aetools.NProperty): """icon - the icon bitmap of the item """ which = 'iimg' @@ -239,14 +233,10 @@ 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' -# repeated property product_version the version of the product (visible at the top of the ³Get Info² window) -# repeated property version the version of the file (visible at the bottom of the ³Get Info² window) class item(aetools.ComponentItem): """item - An item """ want = 'cobj' -# repeated property properties property that allows getting and setting of multiple properties -# repeated property name the name of the item class index(aetools.NProperty): """index - the index in the front-to-back ordering within its container """ which = 'pidx' @@ -255,7 +245,6 @@ class id(aetools.NProperty): """id - an id that identifies the item """ which = 'ID ' want = 'long' -# repeated property container the container of the item class disk(aetools.NProperty): """disk - the disk on which the item is stored """ which = 'cdis' @@ -284,12 +273,6 @@ class description(aetools.NProperty): """description - a description of the item """ which = 'dscr' want = 'itxt' -# repeated property comment the comment of the item, displayed in the ³Get Info² window -# repeated property size the logical size of the item -# repeated property physical_size the actual space used by the item on disk -# repeated property creation_date the date on which the item was created -# repeated property modification_date the date on which the item was last modified -# repeated property icon the icon bitmap of the item class selected(aetools.NProperty): """selected - Is the item selected? """ which = 'issl' @@ -310,10 +293,6 @@ class information_window(aetools.NProperty): class process(aetools.ComponentItem): """process - A process running on this computer """ want = 'prcs' -# repeated property properties property that allows getting and setting of multiple properties -# repeated property name the name of the process -# repeated property visible Is the process' layer visible? -# repeated property frontmost Is the process the frontmost process? class file(aetools.NProperty): """file - the file from which the process was launched """ which = 'file' @@ -326,12 +305,10 @@ class creator_type(aetools.NProperty): """creator type - the OSType of the creator of the process (the signature) """ which = 'fcrt' want = 'type' -# repeated property scriptable Is the process high-level event aware (accepts open application, open document, print document, and quit)? class remote_events(aetools.NProperty): """remote events - Does the process accept remote events? """ which = 'revt' want = 'bool' -# repeated property partition_size the size of the partition with which the process was launched class partition_space_used(aetools.NProperty): """partition space used - the number of bytes currently used in the process' partition """ which = 'pusd' @@ -340,7 +317,6 @@ class partition_space_used(aetools.NProperty): class sharable_container(aetools.ComponentItem): """sharable container - A container that may be shared (disks and folders) """ want = 'sctr' -# repeated property _3c_Inheritance_3e_ inherits some of its properties from the container class class owner(aetools.NProperty): """owner - the user that owns the container (file sharing must be on to use this property) """ which = 'sown' @@ -385,30 +361,18 @@ class protected(aetools.NProperty): class trash_2d_object(aetools.ComponentItem): """trash-object - Trash-object is the class of the ³trash² object """ want = 'ctrs' -# repeated property _3c_Inheritance_3e_ inherits some of its properties from the container class -# repeated property warn_before_emptying Display a dialog when emptying the trash? class preferences(aetools.ComponentItem): """preferences - The Finder Preferences """ want = 'cprf' -# repeated property window the window that would open if Finder preferences was opened -# repeated property calculate_folder_sizes Are folder sizes calculated and displayed in Finder list view windows? 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' -# repeated property show_comments Are comments displayed in default Finder list view windows? -# repeated property show_creation_date Are creation dates displayed in default Finder list view windows? -# repeated property show_kind Are document kinds displayed in default Finder list view windows? -# repeated property show_label Are labels displayed in default Finder list view windows? -# repeated property show_modification_date Are modification dates displayed in default Finder list view windows? -# repeated property show_size Are file sizes displayed in default Finder list view windows? -# repeated property show_version Are file versions displayed in default Finder list view windows? class spring_open_folders(aetools.NProperty): """spring open folders - Spring open folders after the specified delay? """ which = 'sprg' want = 'bool' -# repeated property use_relative_dates Are relative dates (e.g., today, yesterday) shown in Finder list view windows? class use_simple_menus(aetools.NProperty): """use simple menus - Use simplified Finder menus? """ which = 'usme' @@ -421,15 +385,10 @@ class use_wide_grid(aetools.NProperty): class window(aetools.ComponentItem): """window - A window """ want = 'cwin' -# repeated property properties property that allows getting and setting of multiple properties -# repeated property position the upper left position of the window -# repeated property bounds the boundary rectangle for the window class titled(aetools.NProperty): """titled - Does the window have a title bar? """ which = 'ptit' want = 'bool' -# repeated property name the name of the window -# repeated property index the number of the window in the front-to-back layer ordering class closeable(aetools.NProperty): """closeable - Does the window have a close box? """ which = 'hclb' @@ -442,7 +401,8 @@ class modal(aetools.NProperty): """modal - Is the window modal? """ which = 'pmod' want = 'bool' -# repeated property resizable Is the window resizable? + +resizable = titled class zoomable(aetools.NProperty): """zoomable - Is the window zoomable? """ which = 'iszm' @@ -455,7 +415,6 @@ 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' -# repeated property visible Is the window visible (always true for open Finder windows)? 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' diff --git a/Mac/Lib/lib-scriptpackages/Finder/Enumerations.py b/Mac/Lib/lib-scriptpackages/Finder/Enumerations.py index 4aa9d46..3d3f3e1 100644 --- a/Mac/Lib/lib-scriptpackages/Finder/Enumerations.py +++ b/Mac/Lib/lib-scriptpackages/Finder/Enumerations.py @@ -16,30 +16,30 @@ 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', # + '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', # + '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', # + '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 = { @@ -55,19 +55,19 @@ _Enum_isiz = { _Enum_vwby = { 'conflicts' : 'cflc', # - 'existing_items' : 'exsi', # - 'small_icon' : 'smic', # + 'existing items' : 'exsi', # + 'small icon' : 'smic', # 'icon' : 'iimg', # 'name' : 'pnam', # - 'modification_date' : 'asmo', # + 'modification date' : 'asmo', # 'size' : 'ptsz', # 'kind' : 'kind', # 'comment' : 'comt', # 'label' : 'labi', # 'version' : 'vers', # - 'creation_date' : 'ascd', # - 'small_button' : 'smbu', # - 'large_button' : 'lgbu', # + 'creation date' : 'ascd', # + 'small button' : 'smbu', # + 'large button' : 'lgbu', # 'grid' : 'grid', # 'all' : 'kyal', # } @@ -77,10 +77,10 @@ _Enum_gsen = { 'FPU' : 'fpu ', # 'MMU' : 'mmu ', # 'hardware' : 'hdwr', # - 'operating_system' : 'os ', # - 'sound_system' : 'snd ', # - 'memory_available' : 'lram', # - 'memory_installed' : 'ram ', # + 'operating system' : 'os ', # + 'sound system' : 'snd ', # + 'memory available' : 'lram', # + 'memory installed' : 'ram ', # } diff --git a/Mac/Lib/lib-scriptpackages/Finder/Files_and_suitcases.py b/Mac/Lib/lib-scriptpackages/Finder/Files_and_suitcases.py index 2e77ba9..1d56862 100644 --- a/Mac/Lib/lib-scriptpackages/Finder/Files_and_suitcases.py +++ b/Mac/Lib/lib-scriptpackages/Finder/Files_and_suitcases.py @@ -52,7 +52,6 @@ files = file class alias_file(aetools.ComponentItem): """alias file - An alias file (created with ³Make Alias²) """ want = 'alia' -# repeated property _3c_Inheritance_3e_ inherits some of its properties from the file class class original_item(aetools.NProperty): """original item - the original item pointed to by the alias """ which = 'orig' @@ -63,7 +62,6 @@ alias_files = alias_file class application_file(aetools.ComponentItem): """application file - An application's file on disk """ want = 'appf' -# repeated property _3c_Inheritance_3e_ inherits some of its properties from the file class class suggested_size(aetools.NProperty): """suggested size - the memory size with which the developer recommends the application be launched """ which = 'sprt' @@ -90,28 +88,24 @@ application_files = application_file class document_file(aetools.ComponentItem): """document file - A document file """ want = 'docf' -# repeated property _3c_Inheritance_3e_ inherits some of its properties from the file class document_files = document_file class font_file(aetools.ComponentItem): """font file - A font file """ want = 'fntf' -# repeated property _3c_Inheritance_3e_ inherits some of its properties from the file class font_files = font_file class desk_accessory_file(aetools.ComponentItem): """desk accessory file - A desk accessory file """ want = 'dafi' -# repeated property _3c_Inheritance_3e_ inherits some of its properties from the file class desk_accessory_files = desk_accessory_file class internet_location_file(aetools.ComponentItem): """internet location file - An file containing an internet location """ want = 'inlf' -# repeated property _3c_Inheritance_3e_ inherits some of its properties from the file class class location(aetools.NProperty): """location - the internet location """ which = 'iloc' @@ -122,7 +116,6 @@ internet_location_files = internet_location_file class sound_file(aetools.ComponentItem): """sound file - A sound file """ want = 'sndf' -# repeated property _3c_Inheritance_3e_ inherits some of its properties from the file class class sound(aetools.NProperty): """sound - the sound data """ which = 'snd ' @@ -133,21 +126,18 @@ sound_files = sound_file class clipping(aetools.ComponentItem): """clipping - A clipping """ want = 'clpf' -# repeated property _3c_Inheritance_3e_ inherits some of its properties from the file class clippings = clipping class package(aetools.ComponentItem): """package - A package """ want = 'pack' -# repeated property _3c_Inheritance_3e_ inherits some of its properties from the item class packages = package class suitcase(aetools.ComponentItem): """suitcase - A font or desk accessory suitcase """ want = 'stcs' -# repeated property _3c_Inheritance_3e_ inherits some of its properties from the file class # element 'cobj' as ['indx', 'name'] suitcases = suitcase @@ -155,7 +145,6 @@ suitcases = suitcase class font_suitcase(aetools.ComponentItem): """font suitcase - A font suitcase """ want = 'fsut' -# repeated property _3c_Inheritance_3e_ inherits some of its properties from the suitcase class # element 'cobj' as ['indx', 'name'] font_suitcases = font_suitcase @@ -163,7 +152,6 @@ font_suitcases = font_suitcase class desk_accessory_suitcase(aetools.ComponentItem): """desk accessory suitcase - A desk accessory suitcase """ want = 'dsut' -# repeated property _3c_Inheritance_3e_ inherits some of its properties from the suitcase class # element 'cobj' as ['indx', 'name'] desk_accessory_suitcases = desk_accessory_suitcase diff --git a/Mac/Lib/lib-scriptpackages/Finder/Obsolete_terms.py b/Mac/Lib/lib-scriptpackages/Finder/Obsolete_terms.py index 1d35def..501d1b0 100644 --- a/Mac/Lib/lib-scriptpackages/Finder/Obsolete_terms.py +++ b/Mac/Lib/lib-scriptpackages/Finder/Obsolete_terms.py @@ -65,7 +65,6 @@ 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 ' -# repeated property locked_obsolete Is the item locked (applies only to file and application information windows)? (DEPRECATED - for use with scripts compiled before Finder 8.0. Will be removed in the next release) 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' @@ -74,14 +73,10 @@ class modification_date_obsolete(aetools.NProperty): class item(aetools.ComponentItem): """item - An item """ want = 'cobj' -# repeated property 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) -# repeated property folder_obsolete the folder in which the item is stored (DEPRECATED - for use with scripts compiled before Finder 8.0. Will be removed in the next release) -# repeated property 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) class process(aetools.ComponentItem): """process - A process running on this computer """ want = 'prcs' -# repeated property file_type_obsolete the OSType of the file type of the process (DEPRECATED - for use with scripts compiled before Finder 8.0. Will be removed in the next release) class sharable_container(aetools.ComponentItem): """sharable container - A container that may be shared (disks and folders) """ @@ -106,7 +101,6 @@ class container(aetools.NProperty): """container - the container from which this window was opened """ which = 'ctnr' want = 'obj ' -# repeated property folder_obsolete the folder from which this window was opened (DEPRECATED - for use with scripts compiled before Finder 8.0. Will be removed in the next release) sharing_windows = sharing_window diff --git a/Mac/Lib/lib-scriptpackages/Finder/Process_classes.py b/Mac/Lib/lib-scriptpackages/Finder/Process_classes.py index f0a3c4a..17e36dc 100644 --- a/Mac/Lib/lib-scriptpackages/Finder/Process_classes.py +++ b/Mac/Lib/lib-scriptpackages/Finder/Process_classes.py @@ -82,7 +82,6 @@ application_processes = application_process class desk_accessory_process(aetools.ComponentItem): """desk accessory process - A process launched from a desk accessory file """ want = 'pcda' -# repeated property _3c_Inheritance_3e_ inherits some of its properties from the process class class desk_accessory_file(aetools.NProperty): """desk accessory file - the desk accessory file from which this process was launched """ which = 'dafi' diff --git a/Mac/Lib/lib-scriptpackages/Finder/Standard_Suite.py b/Mac/Lib/lib-scriptpackages/Finder/Standard_Suite.py index 4a851c5..ef2ad1b 100644 --- a/Mac/Lib/lib-scriptpackages/Finder/Standard_Suite.py +++ b/Mac/Lib/lib-scriptpackages/Finder/Standard_Suite.py @@ -315,8 +315,8 @@ class Standard_Suite_Events: if _arguments.has_key('----'): return _arguments['----'] -# XXXX enum list not found!! -# XXXX enum bool not found!! +_Enum_list = None # XXXX enum list not found!! +_Enum_bool = None # XXXX enum bool not found!! # # Indices of types declared in this module diff --git a/Mac/Lib/lib-scriptpackages/Finder/Type_Definitions.py b/Mac/Lib/lib-scriptpackages/Finder/Type_Definitions.py index 0f750d8..5d13cd0 100644 --- a/Mac/Lib/lib-scriptpackages/Finder/Type_Definitions.py +++ b/Mac/Lib/lib-scriptpackages/Finder/Type_Definitions.py @@ -155,7 +155,8 @@ class small_32_bit_icon(aetools.NProperty): """small 32 bit icon - the small 32-bit color icon """ which = 'is32' want = 'is32' -# repeated property small_8_bit_icon the small 8-bit color icon + +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' diff --git a/Mac/Lib/lib-scriptpackages/Finder/Window_classes.py b/Mac/Lib/lib-scriptpackages/Finder/Window_classes.py index 0fa2e81..17a3c36 100644 --- a/Mac/Lib/lib-scriptpackages/Finder/Window_classes.py +++ b/Mac/Lib/lib-scriptpackages/Finder/Window_classes.py @@ -50,7 +50,8 @@ class modal(aetools.NProperty): """modal - Is the window modal? """ which = 'pmod' want = 'bool' -# repeated property resizable Is the window resizable? + +resizable = titled class zoomable(aetools.NProperty): """zoomable - Is the window zoomable? """ which = 'iszm' @@ -163,8 +164,6 @@ container_windows = container_window class information_window(aetools.ComponentItem): """information window - An information window (opened by ³Get Info²) """ want = 'iwnd' -# repeated property _3c_Inheritance_3e_ inherits some of its properties from the window class -# repeated property item the item from which this window was opened class current_panel(aetools.NProperty): """current panel - the current panel in the information window """ which = 'panl' @@ -231,13 +230,10 @@ information_windows = information_window class preferences_window(aetools.ComponentItem): """preferences window - The Finder Preferences window """ want = 'pwnd' -# repeated property _3c_Inheritance_3e_ inherits some of its properties from the window class -# repeated property current_panel The current panel in the Finder preferences window class clipping_window(aetools.ComponentItem): """clipping window - The window containing a clipping """ want = 'lwnd' -# repeated property _3c_Inheritance_3e_ inherits some of its properties from the window class clipping_windows = clipping_window diff --git a/Mac/Lib/lib-scriptpackages/Finder/__init__.py b/Mac/Lib/lib-scriptpackages/Finder/__init__.py index 2ebe142..9447dac 100644 --- a/Mac/Lib/lib-scriptpackages/Finder/__init__.py +++ b/Mac/Lib/lib-scriptpackages/Finder/__init__.py @@ -3,6 +3,7 @@ Package generated from Macintosh HD:Systeemmap:Finder Resource aete resid 0 """ import aetools +Error = aetools.Error import Standard_Suite import Earlier_terms import Finder_Basics |