summaryrefslogtreecommitdiffstats
path: root/Mac/Lib/lib-scripting/Finder_Suite.py
blob: 293851b094505ddb6ef1eeacdbf89cf20265abd2 (plain)
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
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
"""Suite Finder Suite: Objects and Events for the Finder
Level 1, version 1

Generated from flap:System Folder:Extensions:Finder Scripting Extension
AETE/AEUT resource version 0/144, language 0, script 0
"""

import aetools
import MacOS

_code = 'fndr'

class Finder_Suite:

	_argmap_clean_up = {
		'by' : 'by  ',
	}

	def clean_up(self, _object, _attributes={}, **_arguments):
		"""clean up: Arrange items in window nicely
		Required argument: the window to clean up
		Keyword argument by: the order in which to clean up the objects
		Keyword argument _attributes: AppleEvent attribute dictionary
		"""
		_code = 'fndr'
		_subcode = 'fclu'

		aetools.keysubst(_arguments, self._argmap_clean_up)
		_arguments['----'] = _object


		_reply, _arguments, _attributes = self.send(_code, _subcode,
				_arguments, _attributes)
		if _arguments.has_key('errn'):
			raise aetools.Error, aetools.decodeerror(_arguments)
		# XXXX Optionally decode result
		if _arguments.has_key('----'):
			return _arguments['----']

	_argmap_computer = {
		'has' : 'has ',
	}

	def computer(self, _object, _attributes={}, **_arguments):
		"""computer: Test attributes of this computer
		Required argument: the attribute to test
		Keyword argument has: test specific bits of response
		Keyword argument _attributes: AppleEvent attribute dictionary
		Returns: the result of the query
		"""
		_code = 'fndr'
		_subcode = 'gstl'

		aetools.keysubst(_arguments, self._argmap_computer)
		_arguments['----'] = _object


		_reply, _arguments, _attributes = self.send(_code, _subcode,
				_arguments, _attributes)
		if _arguments.has_key('errn'):
			raise aetools.Error, aetools.decodeerror(_arguments)
		# XXXX Optionally decode result
		if _arguments.has_key('----'):
			return _arguments['----']

	def eject(self, _object=None, _attributes={}, **_arguments):
		"""eject: Eject the specified disk(s), or every ejectable disk if no parameter is specified
		Required argument: the items to eject
		Keyword argument _attributes: AppleEvent attribute dictionary
		"""
		_code = 'fndr'
		_subcode = 'ejct'

		if _arguments: raise TypeError, 'No optional args expected'
		_arguments['----'] = _object


		_reply, _arguments, _attributes = self.send(_code, _subcode,
				_arguments, _attributes)
		if _arguments.has_key('errn'):
			raise aetools.Error, aetools.decodeerror(_arguments)
		# XXXX Optionally decode result
		if _arguments.has_key('----'):
			return _arguments['----']

	def empty(self, _object=None, _attributes={}, **_arguments):
		"""empty: Empty the trash
		Required argument: ³empty² and ³empty trash² both do the same thing
		Keyword argument _attributes: AppleEvent attribute dictionary
		"""
		_code = 'fndr'
		_subcode = 'empt'

		if _arguments: raise TypeError, 'No optional args expected'
		_arguments['----'] = _object


		_reply, _arguments, _attributes = self.send(_code, _subcode,
				_arguments, _attributes)
		if _arguments.has_key('errn'):
			raise aetools.Error, aetools.decodeerror(_arguments)
		# XXXX Optionally decode result
		if _arguments.has_key('----'):
			return _arguments['----']

	def erase(self, _object, _attributes={}, **_arguments):
		"""erase: Erase the specified disk(s)
		Required argument: the items to erase
		Keyword argument _attributes: AppleEvent attribute dictionary
		"""
		_code = 'fndr'
		_subcode = 'fera'

		if _arguments: raise TypeError, 'No optional args expected'
		_arguments['----'] = _object


		_reply, _arguments, _attributes = self.send(_code, _subcode,
				_arguments, _attributes)
		if _arguments.has_key('errn'):
			raise aetools.Error, aetools.decodeerror(_arguments)
		# XXXX Optionally decode result
		if _arguments.has_key('----'):
			return _arguments['----']

	_argmap_put_away = {
		'items' : 'fsel',
	}

	def put_away(self, _object, _attributes={}, **_arguments):
		"""put away: Put away the specified object(s)
		Required argument: the items to put away
		Keyword argument items: DO NOT USE: provided for backwards compatibility with old event suite.  Will be removed in future Finders
		Keyword argument _attributes: AppleEvent attribute dictionary
		Returns: the object put away in its put-away location
		"""
		_code = 'fndr'
		_subcode = 'ptwy'

		aetools.keysubst(_arguments, self._argmap_put_away)
		_arguments['----'] = _object


		_reply, _arguments, _attributes = self.send(_code, _subcode,
				_arguments, _attributes)
		if _arguments.has_key('errn'):
			raise aetools.Error, aetools.decodeerror(_arguments)
		# XXXX Optionally decode result
		if _arguments.has_key('----'):
			return _arguments['----']

	def restart(self, _no_object=None, _attributes={}, **_arguments):
		"""restart: Restart the Macintosh
		Keyword argument _attributes: AppleEvent attribute dictionary
		"""
		_code = 'fndr'
		_subcode = 'rest'

		if _arguments: raise TypeError, 'No optional args expected'
		if _no_object != None: raise TypeError, 'No direct arg expected'


		_reply, _arguments, _attributes = self.send(_code, _subcode,
				_arguments, _attributes)
		if _arguments.has_key('errn'):
			raise aetools.Error, aetools.decodeerror(_arguments)
		# XXXX Optionally decode result
		if _arguments.has_key('----'):
			return _arguments['----']

	def reveal(self, _object, _attributes={}, **_arguments):
		"""reveal: Bring the specified object(s) into view
		Required argument: the object to be made visible
		Keyword argument _attributes: AppleEvent attribute dictionary
		"""
		_code = 'misc'
		_subcode = 'mvis'

		if _arguments: raise TypeError, 'No optional args expected'
		_arguments['----'] = _object


		_reply, _arguments, _attributes = self.send(_code, _subcode,
				_arguments, _attributes)
		if _arguments.has_key('errn'):
			raise aetools.Error, aetools.decodeerror(_arguments)
		# XXXX Optionally decode result
		if _arguments.has_key('----'):
			return _arguments['----']

	def select(self, _object, _attributes={}, **_arguments):
		"""select: Select the specified object(s)
		Required argument: the object to select
		Keyword argument _attributes: AppleEvent attribute dictionary
		"""
		_code = 'misc'
		_subcode = 'slct'

		if _arguments: raise TypeError, 'No optional args expected'
		_arguments['----'] = _object


		_reply, _arguments, _attributes = self.send(_code, _subcode,
				_arguments, _attributes)
		if _arguments.has_key('errn'):
			raise aetools.Error, aetools.decodeerror(_arguments)
		# XXXX Optionally decode result
		if _arguments.has_key('----'):
			return _arguments['----']

	def shut_down(self, _no_object=None, _attributes={}, **_arguments):
		"""shut down: Shut Down the Macintosh
		Keyword argument _attributes: AppleEvent attribute dictionary
		"""
		_code = 'fndr'
		_subcode = 'shut'

		if _arguments: raise TypeError, 'No optional args expected'
		if _no_object != None: raise TypeError, 'No direct arg expected'


		_reply, _arguments, _attributes = self.send(_code, _subcode,
				_arguments, _attributes)
		if _arguments.has_key('errn'):
			raise aetools.Error, aetools.decodeerror(_arguments)
		# XXXX Optionally decode result
		if _arguments.has_key('----'):
			return _arguments['----']

	def sleep(self, _no_object=None, _attributes={}, **_arguments):
		"""sleep: Sleep the Macintosh
		Keyword argument _attributes: AppleEvent attribute dictionary
		"""
		_code = 'fndr'
		_subcode = 'snoz'

		if _arguments: raise TypeError, 'No optional args expected'
		if _no_object != None: raise TypeError, 'No direct arg expected'


		_reply, _arguments, _attributes = self.send(_code, _subcode,
				_arguments, _attributes)
		if _arguments.has_key('errn'):
			raise aetools.Error, aetools.decodeerror(_arguments)
		# XXXX Optionally decode result
		if _arguments.has_key('----'):
			return _arguments['----']

	_argmap_sort = {
		'by' : 'by  ',
	}

	def sort(self, _object, _attributes={}, **_arguments):
		"""sort: Return the specified object(s) in a sorted list
		Required argument: a list of finder objects to sort
		Keyword argument by: the property to sort the items by
		Keyword argument _attributes: AppleEvent attribute dictionary
		Returns: the sorted items in their new order
		"""
		_code = 'DATA'
		_subcode = 'SORT'

		aetools.keysubst(_arguments, self._argmap_sort)
		_arguments['----'] = _object


		_reply, _arguments, _attributes = self.send(_code, _subcode,
				_arguments, _attributes)
		if _arguments.has_key('errn'):
			raise aetools.Error, aetools.decodeerror(_arguments)
		# XXXX Optionally decode result
		if _arguments.has_key('----'):
			return _arguments['----']

	def update(self, _object, _attributes={}, **_arguments):
		"""update: Update the display of the specified object(s) to match their on-disk representation
		Required argument: the item to update
		Keyword argument _attributes: AppleEvent attribute dictionary
		"""
		_code = 'fndr'
		_subcode = 'fupd'

		if _arguments: raise TypeError, 'No optional args expected'
		_arguments['----'] = _object


		_reply, _arguments, _attributes = self.send(_code, _subcode,
				_arguments, _attributes)
		if _arguments.has_key('errn'):
			raise aetools.Error, aetools.decodeerror(_arguments)
		# XXXX Optionally decode result
		if _arguments.has_key('----'):
			return _arguments['----']


class accessory_process(aetools.ComponentItem):
	"""accessory process - A process launched from a desk accessory file"""
	want = 'pcda'
class desk_accessory_file(aetools.NProperty):
	"""desk accessory file - the desk accessory file from which this process was launched"""
	which = 'dafi'
	want = 'obj '

accessory_processes = accessory_process

class accessory_suitcase(aetools.ComponentItem):
	"""accessory suitcase - A desk accessory suitcase"""
	want = 'dsut'
#        element 'cobj' as ['indx', 'name']

accessory_suitcases = accessory_suitcase

class alias_file(aetools.ComponentItem):
	"""alias file - An alias file (created with ³Make Alias²)"""
	want = 'alia'
class original_item(aetools.NProperty):
	"""original item - the original item pointed to by the alias"""
	which = 'orig'
	want = 'obj '

alias_files = alias_file

class application(aetools.ComponentItem):
	"""application - An application program"""
	want = 'capp'
class about_this_macintosh(aetools.NProperty):
	"""about this macintosh - the ³About this Macintosh² dialog, and the list of running processes displayed in it"""
	which = 'abbx'
	want = 'obj '
class apple_menu_items_folder(aetools.NProperty):
	"""apple menu items folder - the special folder ³Apple Menu Items,² the contents of which appear in the Apple menu"""
	which = 'amnu'
	want = 'obj '
class clipboard(aetools.NProperty):
	"""clipboard - the Finder's clipboard window"""
	which = 'pcli'
	want = 'obj '
class control_panels_folder(aetools.NProperty):
	"""control panels folder - the special folder ³Control Panels²"""
	which = 'ctrl'
	want = 'obj '
class desktop(aetools.NProperty):
	"""desktop - the desktop"""
	which = 'desk'
	want = 'obj '
class extensions_folder(aetools.NProperty):
	"""extensions folder - the special folder ³Extensions²"""
	which = 'extn'
	want = 'obj '
class file_sharing(aetools.NProperty):
	"""file sharing - Is file sharing on?"""
	which = 'fshr'
	want = 'bool'
class fonts_folder(aetools.NProperty):
	"""fonts folder - the special folder ³Fonts²"""
	which = 'ffnt'
	want = 'obj '
class frontmost(aetools.NProperty):
	"""frontmost - Is this the frontmost application?"""
	which = 'pisf'
	want = 'bool'
class insertion_location(aetools.NProperty):
	"""insertion location - the container that a new folder would appear in if ³New Folder² was selected"""
	which = 'pins'
	want = 'obj '
class largest_free_block(aetools.NProperty):
	"""largest free block - the largest free block of process memory available to launch an application"""
	which = 'mfre'
	want = 'long'
class preferences_folder(aetools.NProperty):
	"""preferences folder - the special folder ³Preferences²"""
	which = 'pref'
	want = 'obj '
class product_version(aetools.NProperty):
	"""product version - the version of the System software running on this Macintosh"""
	which = 'ver2'
	want = 'itxt'
class selection(aetools.NProperty):
	"""selection - the selection visible to the user"""
	which = 'sele'
	want = 'obj '
class sharing_starting_up(aetools.NProperty):
	"""sharing starting up - Is File sharing in the process of starting up (still off, but soon to be on)?"""
	which = 'fsup'
	want = 'bool'
class shortcuts(aetools.NProperty):
	"""shortcuts - the ³Finder Shortcuts² item in the Finder's help menu"""
	which = 'scut'
	want = 'obj '
class shutdown_items_folder(aetools.NProperty):
	"""shutdown items folder - the special folder ³Shutdown Items²"""
	which = 'shdf'
	want = 'obj '
class startup_items_folder(aetools.NProperty):
	"""startup items folder - the special folder ³Startup Items²"""
	which = 'strt'
	want = 'obj '
class system_folder(aetools.NProperty):
	"""system folder - the System folder"""
	which = 'macs'
	want = 'obj '
class temporary_items_folder(aetools.NProperty):
	"""temporary items folder - the special folder ³Temporary Items² (invisible)"""
	which = 'temp'
	want = 'obj '
class version(aetools.NProperty):
	"""version - the version of the Finder Scripting Extension"""
	which = 'vers'
	want = 'itxt'
class view_preferences(aetools.NProperty):
	"""view preferences - the view preferences control panel"""
	which = 'pvwp'
	want = 'obj '
class visible(aetools.NProperty):
	"""visible - Is the Finder's layer visible?"""
	which = 'pvis'
	want = 'bool'
#        element 'dsut' as ['indx', 'name']
#        element 'alia' as ['indx', 'name']
#        element 'appf' as ['indx', 'name', 'ID  ']
#        element 'ctnr' as ['indx', 'name']
#        element 'cwnd' as ['indx', 'name']
#        element 'dwnd' as ['indx', 'name']
#        element 'ccdv' as ['indx', 'name']
#        element 'dafi' as ['indx', 'name']
#        element 'cdsk' as ['indx', 'name']
#        element 'cdis' as ['indx', 'name', 'ID  ']
#        element 'docf' as ['indx', 'name']
#        element 'file' as ['indx', 'name']
#        element 'cfol' as ['indx', 'name', 'ID  ']
#        element 'fntf' as ['indx', 'name']
#        element 'fsut' as ['indx', 'name']
#        element 'iwnd' as ['indx', 'name']
#        element 'cobj' as ['indx', 'name']
#        element 'sctr' as ['indx', 'name']
#        element 'swnd' as ['indx', 'name']
#        element 'sndf' as ['indx', 'name']
#        element 'stcs' as ['indx', 'name']
#        element 'ctrs' as ['indx', 'name']
#        element 'cwin' as ['indx', 'name']

class application_file(aetools.ComponentItem):
	"""application file - An application's file on disk"""
	want = 'appf'
class minimum_partition_size(aetools.NProperty):
	"""minimum partition size - the smallest memory size that the application can possibly be launched with"""
	which = 'mprt'
	want = 'long'
class partition_size(aetools.NProperty):
	"""partition size - the memory size that the application will be launched with"""
	which = 'appt'
	want = 'long'
class scriptable(aetools.NProperty):
	"""scriptable - Is this application high-level event aware (accepts open application, open document, print document, and quit)?"""
	which = 'isab'
	want = 'bool'
class suggested_partition_size(aetools.NProperty):
	"""suggested partition size - the memory size that the developer recommends that the application should be launched with"""
	which = 'sprt'
	want = 'long'

application_files = application_file

class application_process(aetools.ComponentItem):
	"""application process - A process launched from an application file"""
	want = 'pcap'
class application_file(aetools.NProperty):
	"""application file - the application file from which this process was launched"""
	which = 'appf'
	want = 'appf'

application_processes = application_process

class container(aetools.ComponentItem):
	"""container - An item that contains other items"""
	want = 'ctnr'
class completely_expanded(aetools.NProperty):
	"""completely expanded - Is the container and all of its children open in outline view?"""
	which = 'pexc'
	want = 'bool'
class container_window(aetools.NProperty):
	"""container window - the main window for the container"""
	which = 'cwnd'
	want = 'obj '
class entire_contents(aetools.NProperty):
	"""entire contents - the entire contents of the container, including the contents of its children"""
	which = 'ects'
	want = 'obj '
class expandable(aetools.NProperty):
	"""expandable - Is the container capable of being expanded into outline view?"""
	which = 'pexa'
	want = 'bool'
class expanded(aetools.NProperty):
	"""expanded - Is the container open in outline view?"""
	which = 'pexp'
	want = 'bool'
class previous_list_view(aetools.NProperty):
	"""previous list view - the last non-icon view (by name, by date, etc.) selected for the container (forgotten as soon as the window is closed)"""
	which = 'svew'
	want = 'long'
# repeated property selection the selection visible to the user
class view(aetools.NProperty):
	"""view - the view selected for the container (by icon, by name, by date, etc.)"""
	which = 'pvew'
	want = 'long'
#        element 'dsut' as ['indx', 'name']
#        element 'alia' as ['indx', 'name']
#        element 'appf' as ['indx', 'name']
#        element 'ctnr' as ['indx', 'name']
#        element 'ccdv' as ['indx', 'name']
#        element 'dafi' as ['indx', 'name']
#        element 'docf' as ['indx', 'name']
#        element 'file' as ['indx', 'name']
#        element 'cfol' as ['indx', 'name']
#        element 'fntf' as ['indx', 'name']
#        element 'fsut' as ['indx', 'name']
#        element 'cobj' as ['indx', 'name']
#        element 'sctr' as ['indx', 'name']
#        element 'sndf' as ['indx', 'name']
#        element 'stcs' as ['indx', 'name']

containers = container

class container_window(aetools.ComponentItem):
	"""container window - A window that contains items"""
	want = 'cwnd'
class container(aetools.NProperty):
	"""container - the container this window is opened from"""
	which = 'ctnr'
	want = 'obj '
class disk(aetools.NProperty):
	"""disk - the disk on which the item this window was opened from is stored"""
	which = 'cdis'
	want = 'obj '
class folder(aetools.NProperty):
	"""folder - the folder this window is opened from"""
	which = 'cfol'
	want = 'obj '
class item(aetools.NProperty):
	"""item - the item this window is opened from"""
	which = 'cobj'
	want = 'obj '
# repeated property previous_list_view the last non-icon view (by name, by date, etc.) selected for the window (forgotten as soon as the window is closed)
# repeated property selection the selection visible to the user
# repeated property view the view selected for the window (by icon, by name, by date, etc.)
#        element 'dsut' as ['indx', 'name']
#        element 'alia' as ['indx', 'name']
#        element 'appf' as ['indx', 'name']
#        element 'ctnr' as ['indx', 'name']
#        element 'ccdv' as ['indx', 'name']
#        element 'dafi' as ['indx', 'name']
#        element 'docf' as ['indx', 'name']
#        element 'file' as ['indx', 'name']
#        element 'cfol' as ['indx', 'name']
#        element 'fntf' as ['indx', 'name']
#        element 'fsut' as ['indx', 'name']
#        element 'cobj' as ['indx', 'name']
#        element 'sctr' as ['indx', 'name']
#        element 'sndf' as ['indx', 'name']
#        element 'stcs' as ['indx', 'name']

container_windows = container_window

class content_space(aetools.ComponentItem):
	"""content space - All windows, including the desktop window (³Window² does not include the desktop window)"""
	want = 'dwnd'

content_spaces = content_space

class control_panel(aetools.ComponentItem):
	"""control panel - A control panel"""
	want = 'ccdv'
class calculate_folder_sizes(aetools.NProperty):
	"""calculate folder sizes - (Views) Are folder sizes calculated and displayed in Finder list windows?"""
	which = 'sfsz'
	want = 'bool'
class comment_heading(aetools.NProperty):
	"""comment heading - (Views) Are comments displayed in Finder list windows?"""
	which = 'scom'
	want = 'bool'
class date_heading(aetools.NProperty):
	"""date heading - (Views) Are modification dates displayed in Finder list windows?"""
	which = 'sdat'
	want = 'bool'
class disk_information_heading(aetools.NProperty):
	"""disk information heading - (Views) Is information about the volume displayed in Finder list windows?"""
	which = 'sdin'
	want = 'bool'
class icon_size(aetools.NProperty):
	"""icon size - (Views) the size of icons displayed in Finder list windows"""
	which = 'lvis'
	want = 'long'
class kind_heading(aetools.NProperty):
	"""kind heading - (Views) Are document kinds displayed in Finder list windows?"""
	which = 'sknd'
	want = 'bool'
class label_heading(aetools.NProperty):
	"""label heading - (Views) Are labels displayed in Finder list windows?"""
	which = 'slbl'
	want = 'bool'
class size_heading(aetools.NProperty):
	"""size heading - (Views) Are file sizes displayed in Finder list windows"""
	which = 'ssiz'
	want = 'bool'
class snap_to_grid(aetools.NProperty):
	"""snap to grid - (Views) Are items always snapped to the nearest grid point when they are moved?"""
	which = 'fgrd'
	want = 'bool'
class staggered_grid(aetools.NProperty):
	"""staggered grid - (Views) Are grid lines staggered?"""
	which = 'fstg'
	want = 'bool'
class version_heading(aetools.NProperty):
	"""version heading - (Views) Are file versions displayed in Finder list windows?"""
	which = 'svrs'
	want = 'bool'
class view_font(aetools.NProperty):
	"""view font - (Views) the id of the font used in Finder views"""
	which = 'vfnt'
	want = 'long'
class view_font_size(aetools.NProperty):
	"""view font size - (Views) the size of the font used in Finder views"""
	which = 'vfsz'
	want = 'long'

control_panels = control_panel

class desk_accessory_file(aetools.ComponentItem):
	"""desk accessory file - A desk accessory file"""
	want = 'dafi'

desk_accessory_files = desk_accessory_file

class desktop_2d_object(aetools.ComponentItem):
	"""desktop-object - Desktop-object is the class of the ³desktop² object"""
	want = 'cdsk'
class startup_disk(aetools.NProperty):
	"""startup disk - the startup disk"""
	which = 'sdsk'
	want = 'obj '
class trash(aetools.NProperty):
	"""trash - the trash"""
	which = 'trsh'
	want = 'obj '
#        element 'dsut' as ['indx', 'name']
#        element 'alia' as ['indx', 'name']
#        element 'appf' as ['indx', 'name']
#        element 'ctnr' as ['indx', 'name']
#        element 'ccdv' as ['indx', 'name']
#        element 'dafi' as ['indx', 'name']
#        element 'docf' as ['indx', 'name']
#        element 'file' as ['indx', 'name']
#        element 'cfol' as ['indx', 'name']
#        element 'fntf' as ['indx', 'name']
#        element 'fsut' as ['indx', 'name']
#        element 'cobj' as ['indx', 'name']
#        element 'sctr' as ['indx', 'name']
#        element 'sndf' as ['indx', 'name']
#        element 'stcs' as ['indx', 'name']

class disk(aetools.ComponentItem):
	"""disk - A disk"""
	want = 'cdis'
class capacity(aetools.NProperty):
	"""capacity - the total number of bytes (free or used) on the disk"""
	which = 'capa'
	want = 'long'
class ejectable(aetools.NProperty):
	"""ejectable - Can the media can be ejected (floppies, CD's, syquest)?"""
	which = 'isej'
	want = 'bool'
class free_space(aetools.NProperty):
	"""free space - the number of free bytes left on the disk"""
	which = 'frsp'
	want = 'long'
class local_volume(aetools.NProperty):
	"""local volume - Is the media is a local volume (rather than a file server)?"""
	which = 'isrv'
	want = 'bool'
class startup(aetools.NProperty):
	"""startup - Is this disk the boot disk?"""
	which = 'istd'
	want = 'bool'
#        element 'dsut' as ['indx', 'name']
#        element 'alia' as ['indx', 'name']
#        element 'appf' as ['indx', 'name']
#        element 'ctnr' as ['indx', 'name']
#        element 'ccdv' as ['indx', 'name']
#        element 'dafi' as ['indx', 'name']
#        element 'docf' as ['indx', 'name']
#        element 'file' as ['indx', 'name']
#        element 'cfol' as ['indx', 'ID  ', 'name']
#        element 'fntf' as ['indx', 'name']
#        element 'fsut' as ['indx', 'name']
#        element 'cobj' as ['indx', 'name']
#        element 'sctr' as ['indx', 'name']
#        element 'sndf' as ['indx', 'name']
#        element 'stcs' as ['indx', 'name']

disks = disk

class document_file(aetools.ComponentItem):
	"""document file - A document file"""
	want = 'docf'

document_files = document_file

class file(aetools.ComponentItem):
	"""file - A file"""
	want = 'file'
class creator_type(aetools.NProperty):
	"""creator type - the OSType identifying the application that created the item"""
	which = 'fcrt'
	want = 'type'
class file_type(aetools.NProperty):
	"""file type - the OSType identifying the type of data contained in the item"""
	which = 'fitp'
	want = 'type'
class locked(aetools.NProperty):
	"""locked - Is the file locked?"""
	which = 'islk'
	want = 'bool'
# repeated property product_version the version of the product (visible at the top of the ³Get Info² dialog)
class stationery(aetools.NProperty):
	"""stationery - Is the item a stationery pad?"""
	which = 'pspd'
	want = 'bool'
# repeated property version the version of the file (visible at the bottom of the ³Get Info² dialog)

files = file

class folder(aetools.ComponentItem):
	"""folder - A folder"""
	want = 'cfol'
#        element 'dsut' as ['indx', 'name']
#        element 'alia' as ['indx', 'name']
#        element 'appf' as ['indx', 'name']
#        element 'ctnr' as ['indx', 'name']
#        element 'ccdv' as ['indx', 'name']
#        element 'dafi' as ['indx', 'name']
#        element 'docf' as ['indx', 'name']
#        element 'file' as ['indx', 'name']
#        element 'cfol' as ['indx', 'name']
#        element 'fntf' as ['indx', 'name']
#        element 'fsut' as ['indx', 'name']
#        element 'cobj' as ['indx', 'name']
#        element 'sctr' as ['indx', 'name']
#        element 'sndf' as ['indx', 'name']
#        element 'stcs' as ['indx', 'name']

folders = folder

class font_file(aetools.ComponentItem):
	"""font file - A font file"""
	want = 'fntf'

font_files = font_file

class font_suitcase(aetools.ComponentItem):
	"""font suitcase - A font suitcase"""
	want = 'fsut'
#        element 'cobj' as ['indx', 'name']

font_suitcases = font_suitcase

class group(aetools.ComponentItem):
	"""group - A Group in the Users and Groups control panel"""
	want = 'sgrp'
class bounds(aetools.NProperty):
	"""bounds - the bounding rectangle of the group"""
	which = 'pbnd'
	want = 'qdrt'
class icon(aetools.NProperty):
	"""icon - the icon bitmap of the group"""
	which = 'iimg'
	want = 'ifam'
class label_index(aetools.NProperty):
	"""label index - the label of the group"""
	which = 'labi'
	want = 'long'
class name(aetools.NProperty):
	"""name - the name of the group"""
	which = 'pnam'
	want = 'itxt'
class position(aetools.NProperty):
	"""position - the position of the group within its parent window"""
	which = 'posn'
	want = 'QDpt'

groups = group

class information_window(aetools.ComponentItem):
	"""information window - An information window (opened by ³Get InfoŠ²)"""
	want = 'iwnd'
class comment(aetools.NProperty):
	"""comment - the comment"""
	which = 'comt'
	want = 'itxt'
class creation_date(aetools.NProperty):
	"""creation date - the date on which the item was created"""
	which = 'crtd'
	want = 'ldt '
# repeated property icon the icon bitmap of the item
# repeated property item the item this window was opened from
# repeated property locked Is the item locked?
# repeated property minimum_partition_size the smallest memory size that the application can possibly be launched with
class modification_date(aetools.NProperty):
	"""modification date - the date on which the item was last modified"""
	which = 'modd'
	want = 'ldt '
# repeated property partition_size the memory size that the application will be launched with
class physical_size(aetools.NProperty):
	"""physical size - the actual space used by the item on disk"""
	which = 'phys'
	want = 'long'
# repeated property product_version the version of the product (visible at the top of the ³Get Info² dialog)
class size(aetools.NProperty):
	"""size - the logical size of the item"""
	which = 'ptsz'
	want = 'long'
# repeated property stationery Is the item a stationery pad?
# repeated property suggested_partition_size the memory size that the developer recommends that the application should be launched with
# repeated property version the version of the file (visible at the bottom of the ³Get Info² dialog)
class warn_before_emptying(aetools.NProperty):
	"""warn before emptying - Is a dialog displayed when ³Empty trashŠ² is selected?"""
	which = 'warn'
	want = 'bool'

information_windows = information_window

class item(aetools.ComponentItem):
	"""item - An item"""
	want = 'cobj'
# repeated property bounds the bounding rectangle of the item
# repeated property comment the comment displayed in the ³Get Info² window of the item
# repeated property container the container of this item
class content_space(aetools.NProperty):
	"""content space - the window that would open if the item was opened"""
	which = 'dwnd'
	want = 'dwnd'
# repeated property creation_date the date on which the item was created
# repeated property disk the disk on which the item is stored
# repeated property folder the folder in which the item is stored
# repeated property icon the icon bitmap of the item
class id(aetools.NProperty):
	"""id - an id that identifies the item"""
	which = 'ID  '
	want = 'long'
class information_window(aetools.NProperty):
	"""information window - the information window for the item"""
	which = 'iwnd'
	want = 'obj '
class kind(aetools.NProperty):
	"""kind - the kind of the item"""
	which = 'kind'
	want = 'itxt'
# repeated property label_index the label of the item
# repeated property modification_date the date on which the item was last modified
# repeated property name the name of the item
# repeated property physical_size the actual space used by the item on disk
# repeated property position the position of the item within its parent window
class selected(aetools.NProperty):
	"""selected - Is the item selected?"""
	which = 'issl'
	want = 'bool'
# repeated property size the logical size of the item
class window(aetools.NProperty):
	"""window - the window that would open if the item was opened"""
	which = 'cwin'
	want = 'cwin'

items = item

class process(aetools.ComponentItem):
	"""process - A process running on this Macintosh"""
	want = 'prcs'
# repeated property creator_type the creator type of this process
class file(aetools.NProperty):
	"""file - the file that launched this process"""
	which = 'file'
	want = 'obj '
# repeated property file_type the file type of the file that launched this process
# repeated property frontmost Is this the frontmost application?
# repeated property name the name of the process
# repeated property partition_size the size of the partition that this application was launched with
class partition_space_used(aetools.NProperty):
	"""partition space used - the number of bytes currently used in this partition"""
	which = 'pusd'
	want = 'long'
class remote_events(aetools.NProperty):
	"""remote events - Will this process accepts remote events?"""
	which = 'revt'
	want = 'bool'
# repeated property scriptable Is this process high-level event aware (accepts open application, open document, print document, and quit)?
# repeated property visible Is this process' layer visible?

processes = process

class sharable_container(aetools.ComponentItem):
	"""sharable container - A container that may be shared (disks and folders)"""
	want = 'sctr'
class exported(aetools.NProperty):
	"""exported - Is this folder a share point or inside a share point?"""
	which = 'sexp'
	want = 'bool'
class group(aetools.NProperty):
	"""group - the user or group that has special access to the folder"""
	which = 'sgrp'
	want = 'itxt'
class group_privileges(aetools.NProperty):
	"""group privileges - the see folders/see files/make changes privileges for the group"""
	which = 'gppr'
	want = 'priv'
class guest_privileges(aetools.NProperty):
	"""guest privileges - the see folders/see files/make changes privileges for everyone"""
	which = 'gstp'
	want = 'priv'
class inherited_privileges(aetools.NProperty):
	"""inherited privileges - Are the privileges of this item always the same as the container it is stored in?"""
	which = 'iprv'
	want = 'bool'
class mounted(aetools.NProperty):
	"""mounted - Is this folder mounted on another machine's desktop?"""
	which = 'smou'
	want = 'bool'
class owner(aetools.NProperty):
	"""owner - the user that owns this folder"""
	which = 'sown'
	want = 'itxt'
class owner_privileges(aetools.NProperty):
	"""owner privileges - the see folders/see files/make changes privileges for the owner"""
	which = 'ownr'
	want = 'priv'
class protected(aetools.NProperty):
	"""protected - Is container protected from being moved, renamed or deleted?"""
	which = 'spro'
	want = 'bool'
class shared(aetools.NProperty):
	"""shared - Is container a share point?"""
	which = 'shar'
	want = 'bool'
class sharing_window(aetools.NProperty):
	"""sharing window - the sharing window for the container"""
	which = 'swnd'
	want = 'obj '
#        element 'dsut' as ['indx', 'name']
#        element 'alia' as ['indx', 'name']
#        element 'appf' as ['indx', 'name']
#        element 'ctnr' as ['indx', 'name']
#        element 'ccdv' as ['indx', 'name']
#        element 'dafi' as ['indx', 'name']
#        element 'docf' as ['indx', 'name']
#        element 'file' as ['indx', 'name']
#        element 'cfol' as ['indx', 'name']
#        element 'fntf' as ['indx', 'name']
#        element 'fsut' as ['indx', 'name']
#        element 'cobj' as ['indx', 'name']
#        element 'sctr' as ['indx', 'name']
#        element 'sndf' as ['indx', 'name']
#        element 'stcs' as ['indx', 'name']

sharable_containers = sharable_container

class sharing_privileges(aetools.ComponentItem):
	"""sharing privileges - A set of sharing properties"""
	want = 'priv'
class make_changes(aetools.NProperty):
	"""make changes - privileges to make changes"""
	which = 'prvw'
	want = 'bool'
class see_files(aetools.NProperty):
	"""see files - privileges to see files"""
	which = 'prvr'
	want = 'bool'
class see_folders(aetools.NProperty):
	"""see folders - privileges to see folders"""
	which = 'prvs'
	want = 'bool'

class sharing_window(aetools.ComponentItem):
	"""sharing window - A sharing window (opened by ³SharingŠ²)"""
	want = 'swnd'
# repeated property container the container that this window was opened from
# repeated property exported Is this container a share point or inside a share point?
# repeated property folder the folder that this window was opened from
# repeated property group the user or group that has special access to the container
# repeated property group_privileges the see folders/see files/make changes privileges for the group
# repeated property guest_privileges the see folders/see files/make changes privileges for everyone
# repeated property inherited_privileges Are the privileges of this item always the same as the container it is stored in?
# repeated property item the item that this window was opened from
# repeated property mounted Is this container mounted on another machine's desktop?
# repeated property owner the user that owns the container
# repeated property owner_privileges the see folders/see files/make changes privileges for the owner
# repeated property protected Is container protected from being moved, renamed or deleted?
class sharable_container(aetools.NProperty):
	"""sharable container - the sharable container that this window was opened from"""
	which = 'sctr'
	want = 'obj '
# repeated property shared Is container a share point?

sharing_windows = sharing_window

class sound_file(aetools.ComponentItem):
	"""sound file - This class represents sound files"""
	want = 'sndf'

sound_files = sound_file

class status_window(aetools.ComponentItem):
	"""status window - These windows are progress dialogs (copy window, rebuild desktop database, empty trash)"""
	want = 'qwnd'

status_windows = status_window

class suitcase(aetools.ComponentItem):
	"""suitcase - A font or desk accessory suitcase"""
	want = 'stcs'
#        element 'cobj' as ['indx', 'name']

suitcases = suitcase

class trash_2d_object(aetools.ComponentItem):
	"""trash-object - Trash-object is the class of the ³trash² object"""
	want = 'ctrs'
# repeated property warn_before_emptying Is a dialog displayed when ³Empty trashŠ² is selected?
#        element 'dsut' as ['indx', 'name']
#        element 'alia' as ['indx', 'name']
#        element 'appf' as ['indx', 'name']
#        element 'ctnr' as ['indx', 'name']
#        element 'ccdv' as ['indx', 'name']
#        element 'dafi' as ['indx', 'name']
#        element 'docf' as ['indx', 'name']
#        element 'file' as ['indx', 'name']
#        element 'cfol' as ['indx', 'name']
#        element 'fntf' as ['indx', 'name']
#        element 'fsut' as ['indx', 'name']
#        element 'cobj' as ['indx', 'name']
#        element 'sctr' as ['indx', 'name']
#        element 'sndf' as ['indx', 'name']
#        element 'stcs' as ['indx', 'name']

class user(aetools.ComponentItem):
	"""user - A User in the Users and Groups control panel"""
	want = 'cuse'
# repeated property bounds the bounding rectangle of the user
# repeated property icon the icon bitmap of the user
# repeated property label_index the label of the user
# repeated property name the name of the user
# repeated property position the position of the user within its parent window

users = user

class window(aetools.ComponentItem):
	"""window - A window"""
	want = 'cwin'

windows = window
accessory_process._propdict = {
	'desk_accessory_file' : desk_accessory_file,
}
accessory_process._elemdict = {
}
accessory_suitcase._propdict = {
}
accessory_suitcase._elemdict = {
	'item' : item,
}
alias_file._propdict = {
	'original_item' : original_item,
}
alias_file._elemdict = {
}
application._propdict = {
	'about_this_macintosh' : about_this_macintosh,
	'apple_menu_items_folder' : apple_menu_items_folder,
	'clipboard' : clipboard,
	'control_panels_folder' : control_panels_folder,
	'desktop' : desktop,
	'extensions_folder' : extensions_folder,
	'file_sharing' : file_sharing,
	'fonts_folder' : fonts_folder,
	'frontmost' : frontmost,
	'insertion_location' : insertion_location,
	'largest_free_block' : largest_free_block,
	'preferences_folder' : preferences_folder,
	'product_version' : product_version,
	'selection' : selection,
	'sharing_starting_up' : sharing_starting_up,
	'shortcuts' : shortcuts,
	'shutdown_items_folder' : shutdown_items_folder,
	'startup_items_folder' : startup_items_folder,
	'system_folder' : system_folder,
	'temporary_items_folder' : temporary_items_folder,
	'version' : version,
	'view_preferences' : view_preferences,
	'visible' : visible,
}
application._elemdict = {
	'accessory_suitcase' : accessory_suitcase,
	'alias_file' : alias_file,
	'application_file' : application_file,
	'container' : container,
	'container_window' : container_window,
	'content_space' : content_space,
	'control_panel' : control_panel,
	'desk_accessory_file' : desk_accessory_file,
	'desktop_2d_object' : desktop_2d_object,
	'disk' : disk,
	'document_file' : document_file,
	'file' : file,
	'folder' : folder,
	'font_file' : font_file,
	'font_suitcase' : font_suitcase,
	'information_window' : information_window,
	'item' : item,
	'sharable_container' : sharable_container,
	'sharing_window' : sharing_window,
	'sound_file' : sound_file,
	'suitcase' : suitcase,
	'trash_2d_object' : trash_2d_object,
	'window' : window,
}
application_file._propdict = {
	'minimum_partition_size' : minimum_partition_size,
	'partition_size' : partition_size,
	'scriptable' : scriptable,
	'suggested_partition_size' : suggested_partition_size,
}
application_file._elemdict = {
}
application_process._propdict = {
	'application_file' : application_file,
}
application_process._elemdict = {
}
container._propdict = {
	'completely_expanded' : completely_expanded,
	'container_window' : container_window,
	'entire_contents' : entire_contents,
	'expandable' : expandable,
	'expanded' : expanded,
	'previous_list_view' : previous_list_view,
	'selection' : selection,
	'view' : view,
}
container._elemdict = {
	'accessory_suitcase' : accessory_suitcase,
	'alias_file' : alias_file,
	'application_file' : application_file,
	'container' : container,
	'control_panel' : control_panel,
	'desk_accessory_file' : desk_accessory_file,
	'document_file' : document_file,
	'file' : file,
	'folder' : folder,
	'font_file' : font_file,
	'font_suitcase' : font_suitcase,
	'item' : item,
	'sharable_container' : sharable_container,
	'sound_file' : sound_file,
	'suitcase' : suitcase,
}
container_window._propdict = {
	'container' : container,
	'disk' : disk,
	'folder' : folder,
	'item' : item,
	'previous_list_view' : previous_list_view,
	'selection' : selection,
	'view' : view,
}
container_window._elemdict = {
	'accessory_suitcase' : accessory_suitcase,
	'alias_file' : alias_file,
	'application_file' : application_file,
	'container' : container,
	'control_panel' : control_panel,
	'desk_accessory_file' : desk_accessory_file,
	'document_file' : document_file,
	'file' : file,
	'folder' : folder,
	'font_file' : font_file,
	'font_suitcase' : font_suitcase,
	'item' : item,
	'sharable_container' : sharable_container,
	'sound_file' : sound_file,
	'suitcase' : suitcase,
}
content_space._propdict = {
}
content_space._elemdict = {
}
control_panel._propdict = {
	'calculate_folder_sizes' : calculate_folder_sizes,
	'comment_heading' : comment_heading,
	'date_heading' : date_heading,
	'disk_information_heading' : disk_information_heading,
	'icon_size' : icon_size,
	'kind_heading' : kind_heading,
	'label_heading' : label_heading,
	'size_heading' : size_heading,
	'snap_to_grid' : snap_to_grid,
	'staggered_grid' : staggered_grid,
	'version_heading' : version_heading,
	'view_font' : view_font,
	'view_font_size' : view_font_size,
}
control_panel._elemdict = {
}
desk_accessory_file._propdict = {
}
desk_accessory_file._elemdict = {
}
desktop_2d_object._propdict = {
	'startup_disk' : startup_disk,
	'trash' : trash,
}
desktop_2d_object._elemdict = {
	'accessory_suitcase' : accessory_suitcase,
	'alias_file' : alias_file,
	'application_file' : application_file,
	'container' : container,
	'control_panel' : control_panel,
	'desk_accessory_file' : desk_accessory_file,
	'document_file' : document_file,
	'file' : file,
	'folder' : folder,
	'font_file' : font_file,
	'font_suitcase' : font_suitcase,
	'item' : item,
	'sharable_container' : sharable_container,
	'sound_file' : sound_file,
	'suitcase' : suitcase,
}
disk._propdict = {
	'capacity' : capacity,
	'ejectable' : ejectable,
	'free_space' : free_space,
	'local_volume' : local_volume,
	'startup' : startup,
}
disk._elemdict = {
	'accessory_suitcase' : accessory_suitcase,
	'alias_file' : alias_file,
	'application_file' : application_file,
	'container' : container,
	'control_panel' : control_panel,
	'desk_accessory_file' : desk_accessory_file,
	'document_file' : document_file,
	'file' : file,
	'folder' : folder,
	'font_file' : font_file,
	'font_suitcase' : font_suitcase,
	'item' : item,
	'sharable_container' : sharable_container,
	'sound_file' : sound_file,
	'suitcase' : suitcase,
}
document_file._propdict = {
}
document_file._elemdict = {
}
file._propdict = {
	'creator_type' : creator_type,
	'file_type' : file_type,
	'locked' : locked,
	'product_version' : product_version,
	'stationery' : stationery,
	'version' : version,
}
file._elemdict = {
}
folder._propdict = {
}
folder._elemdict = {
	'accessory_suitcase' : accessory_suitcase,
	'alias_file' : alias_file,
	'application_file' : application_file,
	'container' : container,
	'control_panel' : control_panel,
	'desk_accessory_file' : desk_accessory_file,
	'document_file' : document_file,
	'file' : file,
	'folder' : folder,
	'font_file' : font_file,
	'font_suitcase' : font_suitcase,
	'item' : item,
	'sharable_container' : sharable_container,
	'sound_file' : sound_file,
	'suitcase' : suitcase,
}
font_file._propdict = {
}
font_file._elemdict = {
}
font_suitcase._propdict = {
}
font_suitcase._elemdict = {
	'item' : item,
}
group._propdict = {
	'bounds' : bounds,
	'icon' : icon,
	'label_index' : label_index,
	'name' : name,
	'position' : position,
}
group._elemdict = {
}
information_window._propdict = {
	'comment' : comment,
	'creation_date' : creation_date,
	'icon' : icon,
	'item' : item,
	'locked' : locked,
	'minimum_partition_size' : minimum_partition_size,
	'modification_date' : modification_date,
	'partition_size' : partition_size,
	'physical_size' : physical_size,
	'product_version' : product_version,
	'size' : size,
	'stationery' : stationery,
	'suggested_partition_size' : suggested_partition_size,
	'version' : version,
	'warn_before_emptying' : warn_before_emptying,
}
information_window._elemdict = {
}
item._propdict = {
	'bounds' : bounds,
	'comment' : comment,
	'container' : container,
	'content_space' : content_space,
	'creation_date' : creation_date,
	'disk' : disk,
	'folder' : folder,
	'icon' : icon,
	'id' : id,
	'information_window' : information_window,
	'kind' : kind,
	'label_index' : label_index,
	'modification_date' : modification_date,
	'name' : name,
	'physical_size' : physical_size,
	'position' : position,
	'selected' : selected,
	'size' : size,
	'window' : window,
}
item._elemdict = {
}
process._propdict = {
	'creator_type' : creator_type,
	'file' : file,
	'file_type' : file_type,
	'frontmost' : frontmost,
	'name' : name,
	'partition_size' : partition_size,
	'partition_space_used' : partition_space_used,
	'remote_events' : remote_events,
	'scriptable' : scriptable,
	'visible' : visible,
}
process._elemdict = {
}
sharable_container._propdict = {
	'exported' : exported,
	'group' : group,
	'group_privileges' : group_privileges,
	'guest_privileges' : guest_privileges,
	'inherited_privileges' : inherited_privileges,
	'mounted' : mounted,
	'owner' : owner,
	'owner_privileges' : owner_privileges,
	'protected' : protected,
	'shared' : shared,
	'sharing_window' : sharing_window,
}
sharable_container._elemdict = {
	'accessory_suitcase' : accessory_suitcase,
	'alias_file' : alias_file,
	'application_file' : application_file,
	'container' : container,
	'control_panel' : control_panel,
	'desk_accessory_file' : desk_accessory_file,
	'document_file' : document_file,
	'file' : file,
	'folder' : folder,
	'font_file' : font_file,
	'font_suitcase' : font_suitcase,
	'item' : item,
	'sharable_container' : sharable_container,
	'sound_file' : sound_file,
	'suitcase' : suitcase,
}
sharing_privileges._propdict = {
	'make_changes' : make_changes,
	'see_files' : see_files,
	'see_folders' : see_folders,
}
sharing_privileges._elemdict = {
}
sharing_window._propdict = {
	'container' : container,
	'exported' : exported,
	'folder' : folder,
	'group' : group,
	'group_privileges' : group_privileges,
	'guest_privileges' : guest_privileges,
	'inherited_privileges' : inherited_privileges,
	'item' : item,
	'mounted' : mounted,
	'owner' : owner,
	'owner_privileges' : owner_privileges,
	'protected' : protected,
	'sharable_container' : sharable_container,
	'shared' : shared,
}
sharing_window._elemdict = {
}
sound_file._propdict = {
}
sound_file._elemdict = {
}
status_window._propdict = {
}
status_window._elemdict = {
}
suitcase._propdict = {
}
suitcase._elemdict = {
	'item' : item,
}
trash_2d_object._propdict = {
	'warn_before_emptying' : warn_before_emptying,
}
trash_2d_object._elemdict = {
	'accessory_suitcase' : accessory_suitcase,
	'alias_file' : alias_file,
	'application_file' : application_file,
	'container' : container,
	'control_panel' : control_panel,
	'desk_accessory_file' : desk_accessory_file,
	'document_file' : document_file,
	'file' : file,
	'folder' : folder,
	'font_file' : font_file,
	'font_suitcase' : font_suitcase,
	'item' : item,
	'sharable_container' : sharable_container,
	'sound_file' : sound_file,
	'suitcase' : suitcase,
}
user._propdict = {
	'bounds' : bounds,
	'icon' : icon,
	'label_index' : label_index,
	'name' : name,
	'position' : position,
}
user._elemdict = {
}
window._propdict = {
}
window._elemdict = {
}
_Enum_vwby = {
	'conflicts' : 'cflc',	# 
	'existing_items' : 'exsi',	# 
	'small_icon' : 'smic',	# 
	'all' : 'kyal',	# 
}

_Enum_gsen = {
	'CPU' : 'proc',	# 
	'FPU' : 'fpu ',	# 
	'MMU' : 'mmu ',	# 
	'hardware' : 'hdwr',	# 
	'operating_system' : 'os  ',	# 
	'sound_system' : 'snd ',	# 
	'memory_available' : 'lram',	# 
	'memory_installed' : 'ram ',	# 
}


#
# Indices of types declared in this module
#
_classdeclarations = {
	'swnd' : sharing_window,
	'iwnd' : information_window,
	'ccdv' : control_panel,
	'cwnd' : container_window,
	'appf' : application_file,
	'prcs' : process,
	'cdis' : disk,
	'cwin' : window,
	'dafi' : desk_accessory_file,
	'sgrp' : group,
	'alia' : alias_file,
	'ctnr' : container,
	'qwnd' : status_window,
	'fsut' : font_suitcase,
	'sndf' : sound_file,
	'priv' : sharing_privileges,
	'dwnd' : content_space,
	'pcap' : application_process,
	'stcs' : suitcase,
	'ctrs' : trash_2d_object,
	'file' : file,
	'cobj' : item,
	'cuse' : user,
	'cdsk' : desktop_2d_object,
	'pcda' : accessory_process,
	'capp' : application,
	'cfol' : folder,
	'sctr' : sharable_container,
	'dsut' : accessory_suitcase,
	'docf' : document_file,
	'fntf' : font_file,
}

_propdeclarations = {
	'swnd' : sharing_window,
	'fshr' : file_sharing,
	'pvew' : view,
	'pusd' : partition_space_used,
	'fcrt' : creator_type,
	'sdat' : date_heading,
	'sdin' : disk_information_heading,
	'strt' : startup_items_folder,
	'issl' : selected,
	'pvis' : visible,
	'slbl' : label_heading,
	'cdis' : disk,
	'fitp' : file_type,
	'smou' : mounted,
	'pexc' : completely_expanded,
	'pexa' : expandable,
	'comt' : comment,
	'svew' : previous_list_view,
	'labi' : label_index,
	'sctr' : sharable_container,
	'sknd' : kind_heading,
	'trsh' : trash,
	'fstg' : staggered_grid,
	'macs' : system_folder,
	'vfsz' : view_font_size,
	'pexp' : expanded,
	'posn' : position,
	'cobj' : item,
	'amnu' : apple_menu_items_folder,
	'pvwp' : view_preferences,
	'desk' : desktop,
	'pnam' : name,
	'mprt' : minimum_partition_size,
	'cwin' : window,
	'pcli' : clipboard,
	'spro' : protected,
	'islk' : locked,
	'sprt' : suggested_partition_size,
	'pisf' : frontmost,
	'sele' : selection,
	'ffnt' : fonts_folder,
	'istd' : startup,
	'sdsk' : startup_disk,
	'shar' : shared,
	'dwnd' : content_space,
	'file' : file,
	'sfsz' : calculate_folder_sizes,
	'ID  ' : id,
	'prvw' : make_changes,
	'iprv' : inherited_privileges,
	'prvr' : see_files,
	'prvs' : see_folders,
	'phys' : physical_size,
	'ctrl' : control_panels_folder,
	'cwnd' : container_window,
	'extn' : extensions_folder,
	'ownr' : owner_privileges,
	'modd' : modification_date,
	'dafi' : desk_accessory_file,
	'sgrp' : group,
	'temp' : temporary_items_folder,
	'fgrd' : snap_to_grid,
	'ptsz' : size,
	'kind' : kind,
	'scut' : shortcuts,
	'abbx' : about_this_macintosh,
	'ctnr' : container,
	'isej' : ejectable,
	'svrs' : version_heading,
	'vfnt' : view_font,
	'warn' : warn_before_emptying,
	'isab' : scriptable,
	'isrv' : local_volume,
	'lvis' : icon_size,
	'shdf' : shutdown_items_folder,
	'gstp' : guest_privileges,
	'vers' : version,
	'appf' : application_file,
	'iwnd' : information_window,
	'revt' : remote_events,
	'frsp' : free_space,
	'capa' : capacity,
	'pspd' : stationery,
	'scom' : comment_heading,
	'pins' : insertion_location,
	'orig' : original_item,
	'pref' : preferences_folder,
	'fsup' : sharing_starting_up,
	'sown' : owner,
	'cfol' : folder,
	'mfre' : largest_free_block,
	'ssiz' : size_heading,
	'iimg' : icon,
	'appt' : partition_size,
	'gppr' : group_privileges,
	'pbnd' : bounds,
	'ects' : entire_contents,
	'sexp' : exported,
	'ver2' : product_version,
	'crtd' : creation_date,
}

_compdeclarations = {
}

_enumdeclarations = {
	'gsen' : _Enum_gsen,
	'vwby' : _Enum_vwby,
}