1 """Suite Type Definitions: Definitions of records used in scripting the Finder 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 = 'tpdf' 12 13 class Type_Definitions_Events: 14 15 pass 16 17 18 class alias_list(aetools.ComponentItem): 19 """alias list - A list of aliases. Use \xd4as alias list\xd5 when a list of aliases is needed (instead of a list of file system item references). """ 20 want = 'alst' 21 22 class label(aetools.ComponentItem): 23 """label - (NOT AVAILABLE YET) A Finder label (name and color) """ 24 want = 'clbl' 25 class _Prop_color(aetools.NProperty): 26 """color - the color associated with the label """ 27 which = 'colr' 28 want = 'cRGB' 29 class _Prop_index(aetools.NProperty): 30 """index - the index in the front-to-back ordering within its container """ 31 which = 'pidx' 32 want = 'long' 33 class _Prop_name(aetools.NProperty): 34 """name - the name associated with the label """ 35 which = 'pnam' 36 want = 'utxt' 37 38 class preferences(aetools.ComponentItem): 39 """preferences - (NOT AVAILABLE, SUBJECT TO CHANGE) The Finder Preferences """ 40 want = 'cprf' 41 class _Prop_button_view_arrangement(aetools.NProperty): 42 """button view arrangement - the method of arrangement of icons in default Finder button view windows """ 43 which = 'barr' 44 want = 'earr' 45 class _Prop_button_view_icon_size(aetools.NProperty): 46 """button view icon size - the size of icons displayed in Finder button view windows. """ 47 which = 'bisz' 48 want = 'long' 49 class _Prop_calculates_folder_sizes(aetools.NProperty): 50 """calculates folder sizes - Are folder sizes calculated and displayed in Finder list view windows? """ 51 which = 'sfsz' 52 want = 'bool' 53 class _Prop_delay_before_springing(aetools.NProperty): 54 """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) """ 55 which = 'dela' 56 want = 'shor' 57 class _Prop_list_view_icon_size(aetools.NProperty): 58 """list view icon size - the size of icons displayed in Finder list view windows. """ 59 which = 'lisz' 60 want = 'long' 61 class _Prop_shows_comments(aetools.NProperty): 62 """shows comments - Are comments displayed in default Finder list view windows? """ 63 which = 'scom' 64 want = 'bool' 65 class _Prop_shows_creation_date(aetools.NProperty): 66 """shows creation date - Are creation dates displayed in default Finder list view windows? """ 67 which = 'scda' 68 want = 'bool' 69 class _Prop_shows_kind(aetools.NProperty): 70 """shows kind - Are document kinds displayed in default Finder list view windows? """ 71 which = 'sknd' 72 want = 'bool' 73 class _Prop_shows_label(aetools.NProperty): 74 """shows label - Are labels displayed in default Finder list view windows? """ 75 which = 'slbl' 76 want = 'bool' 77 class _Prop_shows_modification_date(aetools.NProperty): 78 """shows modification date - Are modification dates displayed in default Finder list view windows? """ 79 which = 'sdat' 80 want = 'bool' 81 class _Prop_shows_size(aetools.NProperty): 82 """shows size - Are file sizes displayed in default Finder list view windows? """ 83 which = 'ssiz' 84 want = 'bool' 85 class _Prop_shows_version(aetools.NProperty): 86 """shows version - Are file versions displayed in default Finder list view windows? """ 87 which = 'svrs' 88 want = 'bool' 89 class _Prop_spatial_view_arrangement(aetools.NProperty): 90 """spatial view arrangement - the method of arrangement of icons in default Finder spatial view windows """ 91 which = 'iarr' 92 want = 'earr' 93 class _Prop_spatial_view_icon_size(aetools.NProperty): 94 """spatial view icon size - the size of icons displayed in Finder spatial view windows. """ 95 which = 'iisz' 96 want = 'long' 97 class _Prop_spring_open_folders(aetools.NProperty): 98 """spring open folders - Spring open folders after the specified delay? """ 99 which = 'sprg' 100 want = 'bool' 101 class _Prop_uses_relative_dates(aetools.NProperty): 102 """uses relative dates - Are relative dates (e.g., today, yesterday) shown in Finder list view windows? """ 103 which = 'urdt' 104 want = 'bool' 105 class _Prop_uses_simple_menus(aetools.NProperty): 106 """uses simple menus - Use simplified Finder menus? """ 107 which = 'usme' 108 want = 'bool' 109 class _Prop_uses_wide_grid(aetools.NProperty): 110 """uses wide grid - Space icons on a wide grid? """ 111 which = 'uswg' 112 want = 'bool' 113 class _Prop_view_font(aetools.NProperty): 114 """view font - the id of the font used in Finder views. """ 115 which = 'vfnt' 116 want = 'long' 117 class _Prop_view_font_size(aetools.NProperty): 118 """view font size - the size of the font used in Finder views """ 119 which = 'vfsz' 120 want = 'long' 121 class _Prop_window(aetools.NProperty): 122 """window - the window that would open if Finder preferences was opened """ 123 which = 'cwin' 124 want = 'pwnd' 125 # element 'clbl' as ['indx', 'name'] 126 127 class icon_view_options(aetools.ComponentItem): 128 """icon view options - the icon view options """ 129 want = 'icop' 130 131 _Prop_arrangement = _Prop_spatial_view_arrangement 132 class _Prop_icon_size(aetools.NProperty): 133 """icon size - the size of icons displayed in the icon view """ 134 which = 'lvis' 135 want = 'shor' 136 137 class icon_family(aetools.ComponentItem): 138 """icon family - (NOT AVAILABLE YET) A family of icons """ 139 want = 'ifam' 140 class _Prop_large_32_bit_icon(aetools.NProperty): 141 """large 32 bit icon - the large 32-bit color icon """ 142 which = 'il32' 143 want = 'il32' 144 class _Prop_large_4_bit_icon(aetools.NProperty): 145 """large 4 bit icon - the large 4-bit color icon """ 146 which = 'icl4' 147 want = 'icl4' 148 class _Prop_large_8_bit_icon(aetools.NProperty): 149 """large 8 bit icon - the large 8-bit color icon """ 150 which = 'icl8' 151 want = 'icl8' 152 class _Prop_large_8_bit_mask(aetools.NProperty): 153 """large 8 bit mask - the large 8-bit mask for large 32-bit icons """ 154 which = 'l8mk' 155 want = 'l8mk' 156 class _Prop_large_monochrome_icon_and_mask(aetools.NProperty): 157 """large monochrome icon and mask - the large black-and-white icon and the mask for large icons """ 158 which = 'ICN#' 159 want = 'ICN#' 160 class _Prop_small_32_bit_icon(aetools.NProperty): 161 """small 32 bit icon - the small 32-bit color icon """ 162 which = 'is32' 163 want = 'is32' 164 class _Prop_small_4_bit_icon(aetools.NProperty): 165 """small 4 bit icon - the small 4-bit color icon """ 166 which = 'ics4' 167 want = 'ics4' 168 class _Prop_small_8_bit_icon(aetools.NProperty): 169 """small 8 bit icon - the small 8-bit color icon """ 170 which = 'ics8' 171 want = 'ics8' 172 173 _Prop_small_8_bit_mask = _Prop_small_8_bit_icon 174 class _Prop_small_monochrome_icon_and_mask(aetools.NProperty): 175 """small monochrome icon and mask - the small black-and-white icon and the mask for small icons """ 176 which = 'ics#' 177 want = 'ics#' 178 179 class column(aetools.ComponentItem): 180 """column - a column of a list view """ 181 want = 'lvcl' 182 class _Prop_sort_direction(aetools.NProperty): 183 """sort direction - The direction in which the window is sorted """ 184 which = 'sord' 185 want = 'sodr' 186 class _Prop_visible(aetools.NProperty): 187 """visible - is this column visible """ 188 which = 'pvis' 189 want = 'bool' 190 class _Prop_width(aetools.NProperty): 191 """width - the width of this column """ 192 which = 'clwd' 193 want = 'shor' 194 195 columns = column 196 197 class list_view_options(aetools.ComponentItem): 198 """list view options - the list view options """ 199 want = 'lvop' 200 class _Prop_sort_column(aetools.NProperty): 201 """sort column - the column that the list view is sorted on """ 202 which = 'srtc' 203 want = 'lvcl' 204 # element 'lvcl' as ['indx', 'rele', 'rang', 'test'] 205 alias_list._superclassnames = [] 206 alias_list._privpropdict = { 207 } 208 alias_list._privelemdict = { 209 } 210 label._superclassnames = [] 211 label._privpropdict = { 212 'color' : _Prop_color, 213 'index' : _Prop_index, 214 'name' : _Prop_name, 215 } 216 label._privelemdict = { 217 } 218 preferences._superclassnames = [] 219 preferences._privpropdict = { 220 'button_view_arrangement' : _Prop_button_view_arrangement, 221 'button_view_icon_size' : _Prop_button_view_icon_size, 222 'calculates_folder_sizes' : _Prop_calculates_folder_sizes, 223 'delay_before_springing' : _Prop_delay_before_springing, 224 'list_view_icon_size' : _Prop_list_view_icon_size, 225 'shows_comments' : _Prop_shows_comments, 226 'shows_creation_date' : _Prop_shows_creation_date, 227 'shows_kind' : _Prop_shows_kind, 228 'shows_label' : _Prop_shows_label, 229 'shows_modification_date' : _Prop_shows_modification_date, 230 'shows_size' : _Prop_shows_size, 231 'shows_version' : _Prop_shows_version, 232 'spatial_view_arrangement' : _Prop_spatial_view_arrangement, 233 'spatial_view_icon_size' : _Prop_spatial_view_icon_size, 234 'spring_open_folders' : _Prop_spring_open_folders, 235 'uses_relative_dates' : _Prop_uses_relative_dates, 236 'uses_simple_menus' : _Prop_uses_simple_menus, 237 'uses_wide_grid' : _Prop_uses_wide_grid, 238 'view_font' : _Prop_view_font, 239 'view_font_size' : _Prop_view_font_size, 240 'window' : _Prop_window, 241 } 242 preferences._privelemdict = { 243 'label' : label, 244 } 245 icon_view_options._superclassnames = [] 246 icon_view_options._privpropdict = { 247 'arrangement' : _Prop_arrangement, 248 'icon_size' : _Prop_icon_size, 249 } 250 icon_view_options._privelemdict = { 251 } 252 icon_family._superclassnames = [] 253 icon_family._privpropdict = { 254 'large_32_bit_icon' : _Prop_large_32_bit_icon, 255 'large_4_bit_icon' : _Prop_large_4_bit_icon, 256 'large_8_bit_icon' : _Prop_large_8_bit_icon, 257 'large_8_bit_mask' : _Prop_large_8_bit_mask, 258 'large_monochrome_icon_and_mask' : _Prop_large_monochrome_icon_and_mask, 259 'small_32_bit_icon' : _Prop_small_32_bit_icon, 260 'small_4_bit_icon' : _Prop_small_4_bit_icon, 261 'small_8_bit_icon' : _Prop_small_8_bit_icon, 262 'small_8_bit_mask' : _Prop_small_8_bit_mask, 263 'small_monochrome_icon_and_mask' : _Prop_small_monochrome_icon_and_mask, 264 } 265 icon_family._privelemdict = { 266 } 267 column._superclassnames = [] 268 column._privpropdict = { 269 'index' : _Prop_index, 270 'name' : _Prop_name, 271 'sort_direction' : _Prop_sort_direction, 272 'visible' : _Prop_visible, 273 'width' : _Prop_width, 274 } 275 column._privelemdict = { 276 } 277 list_view_options._superclassnames = [] 278 list_view_options._privpropdict = { 279 'calculates_folder_sizes' : _Prop_calculates_folder_sizes, 280 'icon_size' : _Prop_icon_size, 281 'sort_column' : _Prop_sort_column, 282 'uses_relative_dates' : _Prop_uses_relative_dates, 283 } 284 list_view_options._privelemdict = { 285 'column' : column, 286 } 287 288 # 289 # Indices of types declared in this module 290 # 291 _classdeclarations = { 292 'alst' : alias_list, 293 'clbl' : label, 294 'cprf' : preferences, 295 'icop' : icon_view_options, 296 'ifam' : icon_family, 297 'lvcl' : column, 298 'lvop' : list_view_options, 299 } 300 301 _propdeclarations = { 302 'ICN#' : _Prop_large_monochrome_icon_and_mask, 303 'barr' : _Prop_button_view_arrangement, 304 'bisz' : _Prop_button_view_icon_size, 305 'clwd' : _Prop_width, 306 'colr' : _Prop_color, 307 'cwin' : _Prop_window, 308 'dela' : _Prop_delay_before_springing, 309 'iarr' : _Prop_spatial_view_arrangement, 310 'icl4' : _Prop_large_4_bit_icon, 311 'icl8' : _Prop_large_8_bit_icon, 312 'ics#' : _Prop_small_monochrome_icon_and_mask, 313 'ics4' : _Prop_small_4_bit_icon, 314 'ics8' : _Prop_small_8_bit_icon, 315 'iisz' : _Prop_spatial_view_icon_size, 316 'il32' : _Prop_large_32_bit_icon, 317 'is32' : _Prop_small_32_bit_icon, 318 'l8mk' : _Prop_large_8_bit_mask, 319 'lisz' : _Prop_list_view_icon_size, 320 'lvis' : _Prop_icon_size, 321 'pidx' : _Prop_index, 322 'pnam' : _Prop_name, 323 'pvis' : _Prop_visible, 324 'scda' : _Prop_shows_creation_date, 325 'scom' : _Prop_shows_comments, 326 'sdat' : _Prop_shows_modification_date, 327 'sfsz' : _Prop_calculates_folder_sizes, 328 'sknd' : _Prop_shows_kind, 329 'slbl' : _Prop_shows_label, 330 'sord' : _Prop_sort_direction, 331 'sprg' : _Prop_spring_open_folders, 332 'srtc' : _Prop_sort_column, 333 'ssiz' : _Prop_shows_size, 334 'svrs' : _Prop_shows_version, 335 'urdt' : _Prop_uses_relative_dates, 336 'usme' : _Prop_uses_simple_menus, 337 'uswg' : _Prop_uses_wide_grid, 338 'vfnt' : _Prop_view_font, 339 'vfsz' : _Prop_view_font_size, 340 } 341 342 _compdeclarations = { 343 } 344 345 _enumdeclarations = { 346 } 347