1"""Suite Files: Classes representing files 2Level 1, version 1 3 4Generated from /System/Library/CoreServices/Finder.app 5AETE/AEUT resource version 0/144, language 0, script 0 6""" 7 8import aetools 9import MacOS 10 11_code = 'fndr' 12 13class Files_Events: 14 15 pass 16 17 18class alias_file(aetools.ComponentItem): 19 """alias file - An alias file (created with \xd2Make Alias\xd3) """ 20 want = 'alia' 21class _Prop__3c_Inheritance_3e_(aetools.NProperty): 22 """<Inheritance> - inherits some of its properties from the file class """ 23 which = 'c@#^' 24 want = 'file' 25class _Prop_original_item(aetools.NProperty): 26 """original item - the original item pointed to by the alias """ 27 which = 'orig' 28 want = 'obj ' 29 30alias_files = alias_file 31 32class application_file(aetools.ComponentItem): 33 """application file - An application's file on disk """ 34 want = 'appf' 35class _Prop_accepts_high_level_events(aetools.NProperty): 36 """accepts high level events - Is the application high-level event aware? (OBSOLETE: always returns true) """ 37 which = 'isab' 38 want = 'bool' 39class _Prop_has_scripting_terminology(aetools.NProperty): 40 """has scripting terminology - Does the process have a scripting terminology, i.e., can it be scripted? """ 41 which = 'hscr' 42 want = 'bool' 43class _Prop_minimum_size(aetools.NProperty): 44 """minimum size - the smallest memory size with which the application can be launched """ 45 which = 'mprt' 46 want = 'long' 47class _Prop_opens_in_Classic(aetools.NProperty): 48 """opens in Classic - Should the application launch in the Classic environment? """ 49 which = 'Clsc' 50 want = 'bool' 51class _Prop_preferred_size(aetools.NProperty): 52 """preferred size - the memory size with which the application will be launched """ 53 which = 'appt' 54 want = 'long' 55class _Prop_suggested_size(aetools.NProperty): 56 """suggested size - the memory size with which the developer recommends the application be launched """ 57 which = 'sprt' 58 want = 'long' 59 60application_files = application_file 61 62class clipping(aetools.ComponentItem): 63 """clipping - A clipping """ 64 want = 'clpf' 65class _Prop_clipping_window(aetools.NProperty): 66 """clipping window - (NOT AVAILABLE YET) the clipping window for this clipping """ 67 which = 'lwnd' 68 want = 'obj ' 69 70clippings = clipping 71 72class document_file(aetools.ComponentItem): 73 """document file - A document file """ 74 want = 'docf' 75 76document_files = document_file 77 78class file(aetools.ComponentItem): 79 """file - A file """ 80 want = 'file' 81class _Prop_creator_type(aetools.NProperty): 82 """creator type - the OSType identifying the application that created the item """ 83 which = 'fcrt' 84 want = 'type' 85class _Prop_file_type(aetools.NProperty): 86 """file type - the OSType identifying the type of data contained in the item """ 87 which = 'asty' 88 want = 'type' 89class _Prop_product_version(aetools.NProperty): 90 """product version - the version of the product (visible at the top of the \xd2Get Info\xd3 window) """ 91 which = 'ver2' 92 want = 'utxt' 93class _Prop_stationery(aetools.NProperty): 94 """stationery - Is the file a stationery pad? """ 95 which = 'pspd' 96 want = 'bool' 97class _Prop_version(aetools.NProperty): 98 """version - the version of the file (visible at the bottom of the \xd2Get Info\xd3 window) """ 99 which = 'vers' 100 want = 'utxt' 101 102files = file 103 104class internet_location_file(aetools.ComponentItem): 105 """internet location file - An file containing an internet location """ 106 want = 'inlf' 107class _Prop_location(aetools.NProperty): 108 """location - the internet location """ 109 which = 'iloc' 110 want = 'utxt' 111 112internet_location_files = internet_location_file 113 114class package(aetools.ComponentItem): 115 """package - A package """ 116 want = 'pack' 117 118packages = package 119alias_file._superclassnames = ['file'] 120alias_file._privpropdict = { 121 '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, 122 'original_item' : _Prop_original_item, 123} 124alias_file._privelemdict = { 125} 126application_file._superclassnames = ['file'] 127application_file._privpropdict = { 128 '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, 129 'accepts_high_level_events' : _Prop_accepts_high_level_events, 130 'has_scripting_terminology' : _Prop_has_scripting_terminology, 131 'minimum_size' : _Prop_minimum_size, 132 'opens_in_Classic' : _Prop_opens_in_Classic, 133 'preferred_size' : _Prop_preferred_size, 134 'suggested_size' : _Prop_suggested_size, 135} 136application_file._privelemdict = { 137} 138clipping._superclassnames = ['file'] 139clipping._privpropdict = { 140 '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, 141 'clipping_window' : _Prop_clipping_window, 142} 143clipping._privelemdict = { 144} 145document_file._superclassnames = ['file'] 146document_file._privpropdict = { 147 '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, 148} 149document_file._privelemdict = { 150} 151import Finder_items 152file._superclassnames = ['item'] 153file._privpropdict = { 154 '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, 155 'creator_type' : _Prop_creator_type, 156 'file_type' : _Prop_file_type, 157 'product_version' : _Prop_product_version, 158 'stationery' : _Prop_stationery, 159 'version' : _Prop_version, 160} 161file._privelemdict = { 162} 163internet_location_file._superclassnames = ['file'] 164internet_location_file._privpropdict = { 165 '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, 166 'location' : _Prop_location, 167} 168internet_location_file._privelemdict = { 169} 170package._superclassnames = ['item'] 171package._privpropdict = { 172 '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, 173} 174package._privelemdict = { 175} 176 177# 178# Indices of types declared in this module 179# 180_classdeclarations = { 181 'alia' : alias_file, 182 'appf' : application_file, 183 'clpf' : clipping, 184 'docf' : document_file, 185 'file' : file, 186 'inlf' : internet_location_file, 187 'pack' : package, 188} 189 190_propdeclarations = { 191 'Clsc' : _Prop_opens_in_Classic, 192 'appt' : _Prop_preferred_size, 193 'asty' : _Prop_file_type, 194 'c@#^' : _Prop__3c_Inheritance_3e_, 195 'fcrt' : _Prop_creator_type, 196 'hscr' : _Prop_has_scripting_terminology, 197 'iloc' : _Prop_location, 198 'isab' : _Prop_accepts_high_level_events, 199 'lwnd' : _Prop_clipping_window, 200 'mprt' : _Prop_minimum_size, 201 'orig' : _Prop_original_item, 202 'pspd' : _Prop_stationery, 203 'sprt' : _Prop_suggested_size, 204 'ver2' : _Prop_product_version, 205 'vers' : _Prop_version, 206} 207 208_compdeclarations = { 209} 210 211_enumdeclarations = { 212} 213