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