1 """Suite Files: Classes representing files 2 Level 1, version 1 3 4 Generated from /System/Library/CoreServices/Finder.app 5 AETE/AEUT resource version 0/144, language 0, script 0 6 """ 7 8 import aetools 9 import MacOS 10 11 _code = 'fndr' 12 13 class Files_Events: 14 15 pass 16 17 18 class alias_file(aetools.ComponentItem): 19 """alias file - An alias file (created with \xd2Make Alias\xd3) """ 20 want = 'alia' 21 class _Prop__3c_Inheritance_3e_(aetools.NProperty): 22 """<Inheritance> - inherits some of its properties from the file class """ 23 which = 'c@#^' 24 want = 'file' 25 class _Prop_original_item(aetools.NProperty): 26 """original item - the original item pointed to by the alias """ 27 which = 'orig' 28 want = 'obj ' 29 30 alias_files = alias_file 31 32 class application_file(aetools.ComponentItem): 33 """application file - An application's file on disk """ 34 want = 'appf' 35 class _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' 39 class _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' 43 class _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' 47 class _Prop_opens_in_Classic(aetools.NProperty): 48 """opens in Classic - Should the application launch in the Classic environment? """ 49 which = 'Clsc' 50 want = 'bool' 51 class _Prop_preferred_size(aetools.NProperty): 52 """preferred size - the memory size with which the application will be launched """ 53 which = 'appt' 54 want = 'long' 55 class _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 60 application_files = application_file 61 62 class clipping(aetools.ComponentItem): 63 """clipping - A clipping """ 64 want = 'clpf' 65 class _Prop_clipping_window(aetools.NProperty): 66 """clipping window - (NOT AVAILABLE YET) the clipping window for this clipping """ 67 which = 'lwnd' 68 want = 'obj ' 69 70 clippings = clipping 71 72 class document_file(aetools.ComponentItem): 73 """document file - A document file """ 74 want = 'docf' 75 76 document_files = document_file 77 78 class file(aetools.ComponentItem): 79 """file - A file """ 80 want = 'file' 81 class _Prop_creator_type(aetools.NProperty): 82 """creator type - the OSType identifying the application that created the item """ 83 which = 'fcrt' 84 want = 'type' 85 class _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' 89 class _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' 93 class _Prop_stationery(aetools.NProperty): 94 """stationery - Is the file a stationery pad? """ 95 which = 'pspd' 96 want = 'bool' 97 class _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 102 files = file 103 104 class internet_location_file(aetools.ComponentItem): 105 """internet location file - A file containing an internet location """ 106 want = 'inlf' 107 class _Prop_location(aetools.NProperty): 108 """location - the internet location """ 109 which = 'iloc' 110 want = 'utxt' 111 112 internet_location_files = internet_location_file 113 114 class package(aetools.ComponentItem): 115 """package - A package """ 116 want = 'pack' 117 118 packages = package 119 alias_file._superclassnames = ['file'] 120 alias_file._privpropdict = { 121 '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, 122 'original_item' : _Prop_original_item, 123 } 124 alias_file._privelemdict = { 125 } 126 application_file._superclassnames = ['file'] 127 application_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 } 136 application_file._privelemdict = { 137 } 138 clipping._superclassnames = ['file'] 139 clipping._privpropdict = { 140 '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, 141 'clipping_window' : _Prop_clipping_window, 142 } 143 clipping._privelemdict = { 144 } 145 document_file._superclassnames = ['file'] 146 document_file._privpropdict = { 147 '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, 148 } 149 document_file._privelemdict = { 150 } 151 import Finder_items 152 file._superclassnames = ['item'] 153 file._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 } 161 file._privelemdict = { 162 } 163 internet_location_file._superclassnames = ['file'] 164 internet_location_file._privpropdict = { 165 '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, 166 'location' : _Prop_location, 167 } 168 internet_location_file._privelemdict = { 169 } 170 package._superclassnames = ['item'] 171 package._privpropdict = { 172 '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, 173 } 174 package._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