diff options
Diffstat (limited to 'Mac/Lib/lib-scriptpackages/StdSuites')
10 files changed, 316 insertions, 336 deletions
diff --git a/Mac/Lib/lib-scriptpackages/StdSuites/AppleScript_Suite.py b/Mac/Lib/lib-scriptpackages/StdSuites/AppleScript_Suite.py index 58d265c..6f67fc3 100644 --- a/Mac/Lib/lib-scriptpackages/StdSuites/AppleScript_Suite.py +++ b/Mac/Lib/lib-scriptpackages/StdSuites/AppleScript_Suite.py @@ -1,7 +1,7 @@ """Suite AppleScript Suite: Standard terms for AppleScript Level 1, version 1 -Generated from Macintosh HD:Systeemmap:Extensies:AppleScript +Generated from Moes:Systeemmap:Extensies:AppleScript AETE/AEUT resource version 1/0, language 0, script 0 """ @@ -305,7 +305,7 @@ class AppleScript_Suite_Events: Returns: anything """ _code = 'ascr' - _subcode = '\255 ' + _subcode = '\xad ' if _arguments: raise TypeError, 'No optional args expected' _arguments['----'] = _object @@ -785,14 +785,12 @@ lists = list class linked_list(aetools.ComponentItem): """linked list - An ordered collection of items """ want = 'llst' -# repeated property length the length of a list linked_lists = linked_list class vector(aetools.ComponentItem): """vector - An ordered collection of items """ want = 'vect' -# repeated property length the length of a list vectors = vector @@ -1882,37 +1880,37 @@ _Enum_eMds = { } _Enum_ekst = { - 'escape_key' : 'ks5\000', # - 'delete_key' : 'ks3\000', # - 'tab_key' : 'ks0\000', # - 'return_key' : 'ks$\000', # - 'clear_key' : 'ksG\000', # - 'enter_key' : 'ksL\000', # - 'up_arrow_key' : 'ks~\000', # - 'down_arrow_key' : 'ks}\000', # - 'left_arrow_key' : 'ks{\000', # - 'right_arrow_key' : 'ks|\000', # - 'help_key' : 'ksr\000', # - 'home_key' : 'kss\000', # - 'page_up_key' : 'kst\000', # - 'page_down_key' : 'ksy\000', # - 'forward_del_key' : 'ksu\000', # - 'end_key' : 'ksw\000', # - 'F1_key' : 'ksz\000', # - 'F2_key' : 'ksx\000', # - 'F3_key' : 'ksc\000', # - 'F4_key' : 'ksv\000', # - 'F5_key' : 'ks`\000', # - 'F6_key' : 'ksa\000', # - 'F7_key' : 'ksb\000', # - 'F8_key' : 'ksd\000', # - 'F9_key' : 'kse\000', # - 'F10_key' : 'ksm\000', # - 'F11_key' : 'ksg\000', # - 'F12_key' : 'kso\000', # - 'F13_key' : 'ksi\000', # - 'F14_key' : 'ksk\000', # - 'F15_key' : 'ksq\000', # + 'escape_key' : 'ks5\x00', # + 'delete_key' : 'ks3\x00', # + 'tab_key' : 'ks0\x00', # + 'return_key' : 'ks$\x00', # + 'clear_key' : 'ksG\x00', # + 'enter_key' : 'ksL\x00', # + 'up_arrow_key' : 'ks~\x00', # + 'down_arrow_key' : 'ks}\x00', # + 'left_arrow_key' : 'ks{\x00', # + 'right_arrow_key' : 'ks|\x00', # + 'help_key' : 'ksr\x00', # + 'home_key' : 'kss\x00', # + 'page_up_key' : 'kst\x00', # + 'page_down_key' : 'ksy\x00', # + 'forward_del_key' : 'ksu\x00', # + 'end_key' : 'ksw\x00', # + 'F1_key' : 'ksz\x00', # + 'F2_key' : 'ksx\x00', # + 'F3_key' : 'ksc\x00', # + 'F4_key' : 'ksv\x00', # + 'F5_key' : 'ks`\x00', # + 'F6_key' : 'ksa\x00', # + 'F7_key' : 'ksb\x00', # + 'F8_key' : 'ksd\x00', # + 'F9_key' : 'kse\x00', # + 'F10_key' : 'ksm\x00', # + 'F11_key' : 'ksg\x00', # + 'F12_key' : 'kso\x00', # + 'F13_key' : 'ksi\x00', # + 'F14_key' : 'ksk\x00', # + 'F15_key' : 'ksq\x00', # } @@ -1920,155 +1918,155 @@ _Enum_ekst = { # Indices of types declared in this module # _classdeclarations = { + 'jul ' : July, + 'may ' : May, + 'TEXT' : string, + 'cmet' : cubic_metres, + 'STXT' : styled_text, + 'nds ' : number_2c__date_or_text, + 'feet' : feet, + 'feb ' : February, 'nmbr' : number, - 'ctxt' : text, - 'fss ' : file_specification, - 'sat ' : Saturday, - 'ccmt' : cubic_centimetres, - 'cfet' : cubic_feet, - 'lbs ' : pounds, - 'yard' : yards, - 'sqyd' : square_yards, - 'mach' : machine, - 'utxt' : Unicode_text, - 'cstr' : C_string, - 'rdat' : data, - 'doub' : real, - 'hand' : handler, - 'sutx' : styled_Unicode_text, - 'sqmi' : square_miles, - 'undf' : _empty_ae_name, - 'reco' : record, - 'cha ' : character, - 'cobj' : item, - 'kfrm' : reference_form, - 'enum' : constant, - 'inch' : inches, - 'sqrm' : square_metres, - 'bool' : boolean, - 'prop' : property, - '****' : anything, - 'scpt' : script, - 'kgrm' : kilograms, - 'sep ' : September, - 'snd ' : sound, - 'mon ' : Monday, - 'capp' : app, - 'lr ' : list_or_record, - 'fri ' : Friday, - 'cuin' : cubic_inches, - 'mar ' : March, - 'galn' : gallons, - 'encs' : encoded_string, + 'mile' : miles, + 'kprs' : keystroke, + 'psct' : writing_code, + 'degf' : degrees_Fahrenheit, + 'lrs ' : list_2c__record_or_text, + 'ldt ' : date, 'litr' : litres, - 'case' : upper_case, - 'styl' : styled_Clipboard_text, - 'llst' : linked_list, - 'pcls' : _class, - 'jun ' : June, - 'ns ' : number_or_string, - 'ozs ' : ounces, - 'mnth' : month, - 'metr' : metres, - 'jan ' : January, + 'nd ' : number_or_date, + 'cmtr' : centimetres, + 'evnt' : event, 'pstr' : Pascal_string, - 'alis' : alias, - 'gram' : grams, - 'msng' : missing_value, - 'qrts' : quarts, - 'nov ' : November, - 'list' : list, - 'sqft' : square_feet, - 'kmtr' : kilometres, + 'zone' : zone, + 'PICT' : picture, + 'ls ' : list_or_string, + 'long' : integer, + 'sf ' : alias_or_string, + 'citl' : writing_code_info, + 'citm' : text_item, + 'mach' : machine, + 'type' : type_class, + 'prep' : preposition, + 'tue ' : Tuesday, + 'case' : upper_case, + 'vers' : version, + 'wed ' : Wednesday, + 'dec ' : December, + 'sqkm' : square_kilometres, + 'obj ' : reference, + 'vect' : vector, + 'wkdy' : weekday, 'cRGB' : RGB_color, + 'sun ' : Sunday, 'itxt' : international_text, 'scnd' : seconds, - 'apr ' : April, - 'nd ' : number_or_date, - 'wkdy' : weekday, - 'vect' : vector, - 'obj ' : reference, - 'sqkm' : square_kilometres, - 'dec ' : December, - 'wed ' : Wednesday, - 'cyrd' : cubic_yards, - 'vers' : version, - 'tue ' : Tuesday, - 'prep' : preposition, - 'type' : type_class, - 'citm' : text_item, - 'citl' : writing_code_info, - 'sf ' : alias_or_string, + 'mar ' : March, + 'kmtr' : kilometres, + 'sqft' : square_feet, + 'list' : list, + 'doub' : real, + 'nov ' : November, + 'qrts' : quarts, 'degc' : degrees_Celsius, - 'long' : integer, - 'ls ' : list_or_string, - 'PICT' : picture, - 'zone' : zone, - 'psct' : writing_code, - 'lrs ' : list_2c__record_or_text, - 'cmtr' : centimetres, - 'evnt' : event, - 'oct ' : October, + 'msng' : missing_value, + 'alis' : alias, + 'jan ' : January, + 'metr' : metres, + 'mnth' : month, + 'ns ' : number_or_string, + 'jun ' : June, + 'aug ' : August, + 'llst' : linked_list, + 'styl' : styled_Clipboard_text, + 'encs' : encoded_string, + 'galn' : gallons, + 'cuin' : cubic_inches, + 'fri ' : Friday, + 'sutx' : styled_Unicode_text, + 'lr ' : list_or_record, 'degk' : degrees_Kelvin, - 'ldt ' : date, + 'mon ' : Monday, + 'snd ' : sound, + 'pcls' : _class, + 'kgrm' : kilograms, + 'scpt' : script, + '****' : anything, + 'prop' : property, + 'reco' : record, + 'bool' : boolean, + 'oct ' : October, + 'sqrm' : square_metres, + 'inch' : inches, + 'kfrm' : reference_form, + 'cobj' : item, + 'gram' : grams, + 'cha ' : character, + 'apr ' : April, + 'undf' : _empty_ae_name, + 'capp' : app, + 'enum' : constant, + 'hand' : handler, + 'sqmi' : square_miles, + 'rdat' : data, + 'cstr' : C_string, + 'utxt' : Unicode_text, 'thu ' : Thursday, - 'degf' : degrees_Fahrenheit, - 'kprs' : keystroke, - 'mile' : miles, - 'feb ' : February, - 'feet' : feet, - 'nds ' : number_2c__date_or_text, - 'STXT' : styled_text, - 'cmet' : cubic_metres, - 'sun ' : Sunday, - 'aug ' : August, - 'may ' : May, - 'jul ' : July, - 'TEXT' : string, + 'sqyd' : square_yards, + 'yard' : yards, + 'cyrd' : cubic_yards, + 'ozs ' : ounces, + 'lbs ' : pounds, + 'cfet' : cubic_feet, + 'ccmt' : cubic_centimetres, + 'sat ' : Saturday, + 'sep ' : September, + 'fss ' : file_specification, + 'ctxt' : text, } _propdeclarations = { - 'pscd' : script_code, - 'rslt' : result, - 'pnam' : name, - 'time' : time, - 'txdl' : text_item_delimiters, - 'prln' : print_length, - 'prdp' : print_depth, + 'week' : weeks, 'kMod' : modifiers, - 'days' : days, - 'spac' : space, - 'kMsg' : key, - 'plcd' : language_code, - 'ret ' : _return, - 'tstr' : time_string, + 'pare' : parent, + 'leng' : length, 'hour' : hours, - 'tab ' : tab, - 'rvse' : reverse, + 'mnth' : month, + 'min ' : minutes, 'wkdy' : weekday, - 'day ' : day, - 'ID ' : id, - 'c@#^' : _3c_Inheritance_3e_, - 'kknd' : key_kind, - 'ascr' : AppleScript, - 'rest' : rest, 'dstr' : date_string, - 'min ' : minutes, - 'pi ' : pi, - 'leng' : length, + 'rest' : rest, + 'ascr' : AppleScript, + 'kknd' : key_kind, + 'c@#^' : _3c_Inheritance_3e_, + 'ID ' : id, 'year' : year, - 'pare' : parent, - 'mnth' : month, - 'week' : weeks, + 'rvse' : reverse, + 'tab ' : tab, + 'tstr' : time_string, + 'pi ' : pi, + 'ret ' : _return, + 'plcd' : language_code, + 'kMsg' : key, + 'spac' : space, + 'days' : days, + 'txdl' : text_item_delimiters, + 'prdp' : print_depth, + 'prln' : print_length, + 'pscd' : script_code, + 'time' : time, + 'pnam' : name, + 'rslt' : result, + 'day ' : day, } _compdeclarations = { } _enumdeclarations = { - 'boov' : _Enum_boov, - 'ekst' : _Enum_ekst, - 'misc' : _Enum_misc, - 'cons' : _Enum_cons, 'eMds' : _Enum_eMds, + 'cons' : _Enum_cons, + 'misc' : _Enum_misc, + 'ekst' : _Enum_ekst, + 'boov' : _Enum_boov, } diff --git a/Mac/Lib/lib-scriptpackages/StdSuites/Macintosh_Connectivity_Clas.py b/Mac/Lib/lib-scriptpackages/StdSuites/Macintosh_Connectivity_Clas.py index ce1bb76..9eb9f7f 100644 --- a/Mac/Lib/lib-scriptpackages/StdSuites/Macintosh_Connectivity_Clas.py +++ b/Mac/Lib/lib-scriptpackages/StdSuites/Macintosh_Connectivity_Clas.py @@ -1,7 +1,7 @@ """Suite Macintosh Connectivity Classes: Classes relating to Apple Macintosh personal computer connectivity Level 1, version 1 -Generated from Macintosh HD:Systeemmap:Extensies:AppleScript +Generated from Moes:Systeemmap:Extensies:AppleScript AETE/AEUT resource version 1/0, language 0, script 0 """ @@ -36,7 +36,6 @@ device_specifications = device_specification class address_specification(aetools.ComponentItem): """address specification - Unique designation of a device or service connected to this computer """ want = 'cadr' -# repeated property properties property that allows getting and setting of multiple properties class conduit(aetools.NProperty): """conduit - How the addressee is physically connected """ which = 'pcon' @@ -65,7 +64,6 @@ ADB_addresses = ADB_address class AppleTalk_address(aetools.ComponentItem): """AppleTalk address - Addresses a device or service connected via the AppleTalk protocol """ want = 'cat ' -# repeated property _3c_inheritance_3e_ inherits some of its properties from this class class AppleTalk_machine(aetools.NProperty): """AppleTalk machine - the machine name part of the address """ which = 'patm' @@ -84,32 +82,24 @@ AppleTalk_addresses = AppleTalk_address class bus_slot(aetools.ComponentItem): """bus slot - Addresses a PC, PCI, or NuBus card """ want = 'cbus' -# repeated property _3c_inheritance_3e_ inherits some of its properties from this class -# repeated property ID the slot number bus_slots = bus_slot class Ethernet_address(aetools.ComponentItem): """Ethernet address - Addresses a device by its Ethernet address """ want = 'cen ' -# repeated property _3c_inheritance_3e_ inherits some of its properties from this class -# repeated property ID the Ethernet address Ethernet_addresses = Ethernet_address class FireWire_address(aetools.ComponentItem): """FireWire address - Addresses a device on the FireWire bus """ want = 'cfw ' -# repeated property _3c_inheritance_3e_ inherits some of its properties from this class -# repeated property ID the FireWire device ID FireWire_addresses = FireWire_address class IP_address(aetools.ComponentItem): """IP address - Addresses a device or service via the Internet Protocol (IP) """ want = 'cip ' -# repeated property _3c_inheritance_3e_ inherits some of its properties from this class -# repeated property ID the address in the form "127.201.0.1" class DNS_form(aetools.NProperty): """DNS form - the address in the form "apple.com" """ which = 'pdns' @@ -124,7 +114,6 @@ IP_addresses = IP_address class LocalTalk_address(aetools.ComponentItem): """LocalTalk address - Addresses a device by its LocalTalk address """ want = 'clt ' -# repeated property _3c_inheritance_3e_ inherits some of its properties from this class class network(aetools.NProperty): """network - the LocalTalk network number """ which = 'pnet' @@ -143,12 +132,10 @@ LocalTalk_addresses = LocalTalk_address class SCSI_address(aetools.ComponentItem): """SCSI address - Addresses a SCSI device """ want = 'cscs' -# repeated property _3c_inheritance_3e_ inherits some of its properties from this class class SCSI_bus(aetools.NProperty): """SCSI bus - the SCSI bus number """ which = 'pscb' want = 'shor' -# repeated property ID the SCSI ID class LUN(aetools.NProperty): """LUN - the SCSI logical unit number """ which = 'pslu' @@ -159,15 +146,12 @@ SCSI_addresses = SCSI_address class Token_Ring_address(aetools.ComponentItem): """Token Ring address - Addresses a device or service via the Token Ring protocol """ want = 'ctok' -# repeated property _3c_inheritance_3e_ inherits some of its properties from this class -# repeated property ID the Token Ring ID Token_Ring_addresses = Token_Ring_address class USB_address(aetools.ComponentItem): """USB address - Addresses a device on the Universal Serial Bus """ want = 'cusb' -# repeated property _3c_inheritance_3e_ inherits some of its properties from this class class name(aetools.NProperty): """name - the USB device name """ which = 'pnam' @@ -332,39 +316,39 @@ _Enum_epro = { # Indices of types declared in this module # _classdeclarations = { - 'cen ' : Ethernet_address, - 'clt ' : LocalTalk_address, - 'cip ' : IP_address, - 'cusb' : USB_address, - 'cadb' : ADB_address, - 'cscs' : SCSI_address, - 'cbus' : bus_slot, - 'cdev' : device_specification, + 'cat ' : AppleTalk_address, + 'cadr' : address_specification, 'ctok' : Token_Ring_address, 'cfw ' : FireWire_address, - 'cadr' : address_specification, - 'cat ' : AppleTalk_address, + 'cbus' : bus_slot, + 'cscs' : SCSI_address, + 'cadb' : ADB_address, + 'cusb' : USB_address, + 'cdev' : device_specification, + 'clt ' : LocalTalk_address, + 'cip ' : IP_address, + 'cen ' : Ethernet_address, } _propdeclarations = { - 'pnod' : node, - 'pslu' : LUN, - 'patm' : AppleTalk_machine, - 'pdva' : device_address, - 'pscb' : SCSI_bus, + 'pdns' : DNS_form, 'ppor' : port, - 'pALL' : properties, - 'ID ' : ID, - 'c@#^' : _3c_inheritance_3e_, - 'pdvt' : device_type, - 'pnet' : network, + 'patt' : AppleTalk_type, + 'pprt' : protocol, + 'pcon' : conduit, 'patz' : AppleTalk_zone, + 'pnet' : network, + 'pdvt' : device_type, 'pnam' : name, - 'pcon' : conduit, - 'pprt' : protocol, - 'patt' : AppleTalk_type, + 'c@#^' : _3c_inheritance_3e_, + 'ID ' : ID, + 'pALL' : properties, + 'pscb' : SCSI_bus, + 'pdva' : device_address, + 'patm' : AppleTalk_machine, 'psoc' : socket, - 'pdns' : DNS_form, + 'pslu' : LUN, + 'pnod' : node, } _compdeclarations = { @@ -372,6 +356,6 @@ _compdeclarations = { _enumdeclarations = { 'econ' : _Enum_econ, - 'epro' : _Enum_epro, 'edvt' : _Enum_edvt, + 'epro' : _Enum_epro, } diff --git a/Mac/Lib/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suite.py b/Mac/Lib/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suite.py index 74ba319..cf29e47 100644 --- a/Mac/Lib/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suite.py +++ b/Mac/Lib/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suite.py @@ -1,7 +1,7 @@ """Suite QuickDraw Graphics Suite: A set of basic classes for graphics Level 1, version 1 -Generated from Macintosh HD:Systeemmap:Extensies:AppleScript +Generated from Moes:Systeemmap:Extensies:AppleScript AETE/AEUT resource version 1/0, language 0, script 0 """ @@ -188,7 +188,6 @@ ovals = oval class pixel(aetools.ComponentItem): """pixel - A pixel """ want = 'cpxl' -# repeated property color the color pixels = pixel @@ -344,62 +343,62 @@ _Enum_arro = { # Indices of types declared in this module # _classdeclarations = { - 'crec' : rectangle, - 'cpix' : pixel_map, - 'carc' : arc, + 'cpic' : graphic_group, + 'covl' : oval, + 'cgtx' : graphic_text, 'cgsh' : graphic_shape, + 'glin' : graphic_line, + 'cgob' : graphic_object, + 'cdrw' : drawing_area, + 'cpgn' : polygon, 'cpxl' : pixel, 'crrc' : rounded_rectangle, - 'cpgn' : polygon, - 'cdrw' : drawing_area, - 'cgob' : graphic_object, - 'glin' : graphic_line, - 'cgtx' : graphic_text, - 'covl' : oval, - 'cpic' : graphic_group, + 'carc' : arc, + 'cpix' : pixel_map, + 'crec' : rectangle, } _propdeclarations = { + 'pbpt' : background_pattern, + 'flcl' : fill_color, + 'parc' : arc_angle, + 'pbnd' : bounds, + 'colr' : color, + 'flpt' : fill_pattern, + 'ustl' : uniform_styles, + 'font' : font, 'pend' : end_point, - 'pupd' : update_on_change, 'pstp' : start_point, - 'pdrt' : definition_rect, - 'pnam' : name, - 'pbcl' : background_color, + 'pang' : start_angle, 'pptm' : transfer_mode, - 'pnel' : default_location, - 'pdpt' : pixel_depth, - 'gobs' : ordering, - 'ustl' : uniform_styles, - 'ptlt' : point_list, - 'pdst' : dash_style, - 'psct' : writing_code, - 'txst' : style, - 'font' : font, - 'pchd' : corner_curve_height, - 'arro' : arrow_style, - 'ppwd' : pen_width, - 'ptps' : default_size, - 'ppcl' : pen_color, + 'cltb' : color_table, + 'ptxc' : text_color, 'ptxf' : default_font, + 'ppcl' : pen_color, + 'ptps' : default_size, + 'ppwd' : pen_width, + 'arro' : arrow_style, 'pcwd' : corner_curve_width, - 'ptxc' : text_color, - 'cltb' : color_table, - 'pppa' : pen_pattern, - 'pang' : start_angle, - 'flpt' : fill_pattern, - 'colr' : color, - 'pbnd' : bounds, + 'txst' : style, + 'psct' : writing_code, + 'pdst' : dash_style, + 'ptlt' : point_list, + 'gobs' : ordering, + 'pdpt' : pixel_depth, + 'pnel' : default_location, + 'pchd' : corner_curve_height, + 'pbcl' : background_color, + 'pnam' : name, + 'pdrt' : definition_rect, 'ptsz' : size, - 'parc' : arc_angle, - 'flcl' : fill_color, - 'pbpt' : background_pattern, + 'pupd' : update_on_change, + 'pppa' : pen_pattern, } _compdeclarations = { } _enumdeclarations = { - 'tran' : _Enum_tran, 'arro' : _Enum_arro, + 'tran' : _Enum_tran, } diff --git a/Mac/Lib/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suppleme.py b/Mac/Lib/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suppleme.py index 880a772..74ef6da 100644 --- a/Mac/Lib/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suppleme.py +++ b/Mac/Lib/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suppleme.py @@ -1,7 +1,7 @@ """Suite QuickDraw Graphics Supplemental Suite: Defines transformations of graphic objects Level 1, version 1 -Generated from Macintosh HD:Systeemmap:Extensies:AppleScript +Generated from Moes:Systeemmap:Extensies:AppleScript AETE/AEUT resource version 1/0, language 0, script 0 """ @@ -60,8 +60,8 @@ _classdeclarations = { _propdeclarations = { 'prot' : rotation, - 'pscl' : scale, 'ptrs' : translation, + 'pscl' : scale, } _compdeclarations = { diff --git a/Mac/Lib/lib-scriptpackages/StdSuites/Required_Suite.py b/Mac/Lib/lib-scriptpackages/StdSuites/Required_Suite.py index 952a10e..cb84ffe 100644 --- a/Mac/Lib/lib-scriptpackages/StdSuites/Required_Suite.py +++ b/Mac/Lib/lib-scriptpackages/StdSuites/Required_Suite.py @@ -1,7 +1,7 @@ """Suite Required Suite: Every application supports open, print, run, and quit Level 1, version 1 -Generated from Macintosh HD:Systeemmap:Extensies:AppleScript +Generated from Moes:Systeemmap:Extensies:AppleScript AETE/AEUT resource version 1/0, language 0, script 0 """ @@ -10,7 +10,8 @@ import MacOS _code = 'reqd' -class Required_Suite_Events: +from _builtinSuites.builtin_Suite import * +class Required_Suite_Events(builtin_Suite_Events): pass diff --git a/Mac/Lib/lib-scriptpackages/StdSuites/Standard_Suite.py b/Mac/Lib/lib-scriptpackages/StdSuites/Standard_Suite.py index 7870acd..1eefb87 100644 --- a/Mac/Lib/lib-scriptpackages/StdSuites/Standard_Suite.py +++ b/Mac/Lib/lib-scriptpackages/StdSuites/Standard_Suite.py @@ -1,7 +1,7 @@ """Suite Standard Suite: Common terms for most applications Level 1, version 1 -Generated from Macintosh HD:Systeemmap:Extensies:AppleScript +Generated from Moes:Systeemmap:Extensies:AppleScript AETE/AEUT resource version 1/0, language 0, script 0 """ @@ -10,7 +10,8 @@ import MacOS _code = 'core' -class Standard_Suite_Events: +from _builtinSuites.builtin_Suite import * +class Standard_Suite_Events(builtin_Suite_Events): def open(self, _object, _attributes={}, **_arguments): """open: Open the specified object(s) @@ -655,49 +656,49 @@ _Enum_styl = { # Indices of types declared in this module # _classdeclarations = { - 'docu' : document, - 'cins' : insertion_point, - 'capp' : application, - 'alis' : alias, - 'csel' : selection_2d_object, - 'file' : file, 'cwin' : window, + 'file' : file, + 'csel' : selection_2d_object, + 'alis' : alias, + 'capp' : application, + 'cins' : insertion_point, + 'docu' : document, } _propdeclarations = { - 'ptit' : titled, + 'prsz' : resizable, + 'vers' : version, 'pidx' : index, - 'pnam' : name, - 'pzum' : zoomed, - 'pcnt' : contents, - 'pcli' : clipboard, - 'hclb' : closeable, - 'iszm' : zoomable, - 'isfl' : floating, - 'pspd' : stationery, - 'pisf' : frontmost, - 'sele' : selection, - 'pbnd' : bounds, - 'imod' : modified, 'pvis' : visible, + 'imod' : modified, + 'pbnd' : bounds, + 'sele' : selection, + 'pisf' : frontmost, + 'pspd' : stationery, + 'isfl' : floating, + 'iszm' : zoomable, + 'hclb' : closeable, + 'pcli' : clipboard, 'pmod' : modal, - 'vers' : version, - 'prsz' : resizable, + 'pcnt' : contents, + 'pnam' : name, + 'pzum' : zoomed, + 'ptit' : titled, } _compdeclarations = { - '> ' : _3e_, - 'bgwt' : starts_with, + '< ' : _3c_, + 'ends' : ends_with, '>= ' : _b3_, - '= ' : _3d_, - '<= ' : _b2_, 'cont' : contains, - 'ends' : ends_with, - '< ' : _3c_, + '<= ' : _b2_, + '= ' : _3d_, + 'bgwt' : starts_with, + '> ' : _3e_, } _enumdeclarations = { - 'styl' : _Enum_styl, 'savo' : _Enum_savo, + 'styl' : _Enum_styl, 'kfrm' : _Enum_kfrm, } diff --git a/Mac/Lib/lib-scriptpackages/StdSuites/Table_Suite.py b/Mac/Lib/lib-scriptpackages/StdSuites/Table_Suite.py index 0e62666..db3bca3 100644 --- a/Mac/Lib/lib-scriptpackages/StdSuites/Table_Suite.py +++ b/Mac/Lib/lib-scriptpackages/StdSuites/Table_Suite.py @@ -1,7 +1,7 @@ """Suite Table Suite: Classes for manipulating tables Level 1, version 1 -Generated from Macintosh HD:Systeemmap:Extensies:AppleScript +Generated from Moes:Systeemmap:Extensies:AppleScript AETE/AEUT resource version 1/0, language 0, script 0 """ @@ -81,15 +81,15 @@ _Enum_prtn = { # _classdeclarations = { 'ccel' : cell, - 'ctbl' : table, 'ccol' : column, + 'ctbl' : table, 'crow' : row, } _propdeclarations = { - 'ppro' : protection, - 'pfor' : formula, 'pnam' : name, + 'pfor' : formula, + 'ppro' : protection, } _compdeclarations = { diff --git a/Mac/Lib/lib-scriptpackages/StdSuites/Text_Suite.py b/Mac/Lib/lib-scriptpackages/StdSuites/Text_Suite.py index 2f18df1..997adc8 100644 --- a/Mac/Lib/lib-scriptpackages/StdSuites/Text_Suite.py +++ b/Mac/Lib/lib-scriptpackages/StdSuites/Text_Suite.py @@ -1,7 +1,7 @@ """Suite Text Suite: A set of basic classes for text processing Level 1, version 1 -Generated from Macintosh HD:Systeemmap:Extensies:AppleScript +Generated from Moes:Systeemmap:Extensies:AppleScript AETE/AEUT resource version 1/0, language 0, script 0 """ @@ -26,7 +26,6 @@ class _3c_inheritance_3e_(aetools.NProperty): class line(aetools.ComponentItem): """line - A line of text """ want = 'clin' -# repeated property _3c_inheritance_3e_ inherits some of its properties from this class class justification(aetools.NProperty): """justification - the justification of the text """ which = 'pjst' @@ -37,7 +36,6 @@ lines = line class paragraph(aetools.ComponentItem): """paragraph - A paragraph """ want = 'cpar' -# repeated property _3c_inheritance_3e_ inherits some of its properties from this class paragraphs = paragraph @@ -77,7 +75,6 @@ class uniform_styles(aetools.NProperty): class text_flow(aetools.ComponentItem): """text flow - A contiguous block of text. Page layout applications call this a •story.Ơ """ want = 'cflo' -# repeated property _3c_inheritance_3e_ inherits some of its properties from this class class name(aetools.NProperty): """name - the name """ which = 'pnam' @@ -102,7 +99,6 @@ text_style_infos = text_style_info class word(aetools.ComponentItem): """word - A word """ want = 'cwor' -# repeated property _3c_inheritance_3e_ inherits some of its properties from this class words = word character._propdict = { @@ -183,27 +179,27 @@ _Enum_styl = { # Indices of types declared in this module # _classdeclarations = { - 'clin' : line, - 'ctxt' : text, - 'cwor' : word, - 'cflo' : text_flow, 'cpar' : paragraph, - 'tsty' : text_style_info, 'cha ' : character, + 'cflo' : text_flow, + 'tsty' : text_style_info, + 'clin' : line, + 'cwor' : word, + 'ctxt' : text, } _propdeclarations = { - 'psct' : writing_code, - 'txst' : style, + 'ptsz' : size, + 'ofst' : off_styles, + 'pjst' : justification, 'colr' : color, - 'font' : font, - 'pnam' : name, + 'txst' : style, + 'psct' : writing_code, 'ustl' : uniform_styles, - 'pjst' : justification, - 'ofst' : off_styles, - 'onst' : on_styles, - 'ptsz' : size, 'c@#^' : _3c_inheritance_3e_, + 'pnam' : name, + 'font' : font, + 'onst' : on_styles, } _compdeclarations = { diff --git a/Mac/Lib/lib-scriptpackages/StdSuites/Type_Names_Suite.py b/Mac/Lib/lib-scriptpackages/StdSuites/Type_Names_Suite.py index d47e0b3..54f5f75 100644 --- a/Mac/Lib/lib-scriptpackages/StdSuites/Type_Names_Suite.py +++ b/Mac/Lib/lib-scriptpackages/StdSuites/Type_Names_Suite.py @@ -1,7 +1,7 @@ """Suite Type Names Suite: Terminology for Registry data types Level 1, version 1 -Generated from Macintosh HD:Systeemmap:Extensies:AppleScript +Generated from Moes:Systeemmap:Extensies:AppleScript AETE/AEUT resource version 1/0, language 0, script 0 """ @@ -347,46 +347,46 @@ target_id._elemdict = { # Indices of types declared in this module # _classdeclarations = { - 'targ' : target_id, - 'null' : null, - 'lfxd' : long_fixed, - 'TIFF' : TIFF_picture, + 'shor' : small_integer, + 'tr16' : RGB16_color, 'vers' : version, + 'aeut' : system_dictionary, + 'clrt' : color_table, + 'fpnt' : fixed_point, + 'TEXT' : plain_text, + 'elin' : type_element_info, + 'insl' : location_reference, + 'mLoc' : machine_location, + 'EPS ' : PostScript_picture, + 'QDpt' : point, + 'cmen' : menu_item, + 'tpmm' : pixel_map_record, + 'aete' : application_dictionary, 'magn' : unsigned_integer, - 'exte' : extended_real, - 'qdrt' : bounding_rectangle, - 'lrct' : long_rectangle, - 'lfpt' : long_fixed_point, - 'pmin' : type_parameter_info, - 'pinf' : type_property_info, - 'tdas' : dash_style, - 'tr96' : RGB96_color, 'cmnu' : menu, - 'gcli' : type_class_info, - 'lpnt' : long_point, - 'suin' : type_suite_info, - 'trot' : rotation, - 'fixd' : fixed, - 'lfrc' : long_fixed_rectangle, 'frct' : fixed_rectangle, + 'lfrc' : long_fixed_rectangle, 'evin' : type_event_info, 'sing' : small_real, - 'aete' : application_dictionary, - 'tpmm' : pixel_map_record, - 'cmen' : menu_item, - 'QDpt' : point, - 'EPS ' : PostScript_picture, - 'mLoc' : machine_location, - 'insl' : location_reference, - 'elin' : type_element_info, - 'comp' : double_integer, - 'fpnt' : fixed_point, - 'clrt' : color_table, + 'suin' : type_suite_info, + 'trot' : rotation, + 'pmin' : type_parameter_info, + 'fixd' : fixed, 'styl' : scrap_styles, - 'aeut' : system_dictionary, - 'tr16' : RGB16_color, - 'shor' : small_integer, - 'TEXT' : plain_text, + 'lpnt' : long_point, + 'gcli' : type_class_info, + 'TIFF' : TIFF_picture, + 'tr96' : RGB96_color, + 'tdas' : dash_style, + 'exte' : extended_real, + 'pinf' : type_property_info, + 'lfpt' : long_fixed_point, + 'lrct' : long_rectangle, + 'qdrt' : bounding_rectangle, + 'comp' : double_integer, + 'lfxd' : long_fixed, + 'null' : null, + 'targ' : target_id, } _propdeclarations = { diff --git a/Mac/Lib/lib-scriptpackages/StdSuites/__init__.py b/Mac/Lib/lib-scriptpackages/StdSuites/__init__.py index fd6c61e..ac21829 100644 --- a/Mac/Lib/lib-scriptpackages/StdSuites/__init__.py +++ b/Mac/Lib/lib-scriptpackages/StdSuites/__init__.py @@ -1,8 +1,9 @@ """ -Package generated from Macintosh HD:Systeemmap:Extensies:AppleScript +Package generated from Moes:Systeemmap:Extensies:AppleScript Resource aeut resid 0 Standard Event Suites for English """ import aetools +Error = aetools.Error import AppleScript_Suite import Required_Suite import Standard_Suite |