| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | """Suite Disk-Folder-File Suite: Terms and Events for controlling Disks, Folders, and Files
 | 
					
						
							|  |  |  | Level 1, version 1 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Generated from /System/Library/CoreServices/System Events.app | 
					
						
							|  |  |  | AETE/AEUT resource version 1/0, language 0, script 0 | 
					
						
							|  |  |  | """
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-04-21 15:44:20 +00:00
										 |  |  | # Crutch for recursive import | 
					
						
							|  |  |  | import sys | 
					
						
							|  |  |  | import SystemEvents | 
					
						
							|  |  |  | SystemEvents.Disk_Folder_File_Suite = sys.modules[__name__] | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | import aetools | 
					
						
							|  |  |  | import MacOS | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | _code = 'cdis' | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-05-01 22:06:15 +00:00
										 |  |  | class Disk_Folder_File_Suite_Events: | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     _argmap_move = { | 
					
						
							|  |  |  |         'to' : 'insh', | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     def move(self, _object, _attributes={}, **_arguments): | 
					
						
							|  |  |  |         """move: Move disk item(s) to a new location.
 | 
					
						
							|  |  |  |         Required argument: the object for the command | 
					
						
							|  |  |  |         Keyword argument to: The new location for the disk item(s). | 
					
						
							|  |  |  |         Keyword argument _attributes: AppleEvent attribute dictionary | 
					
						
							|  |  |  |         Returns: the reply for the command | 
					
						
							|  |  |  |         """
 | 
					
						
							|  |  |  |         _code = 'core' | 
					
						
							|  |  |  |         _subcode = 'move' | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |         aetools.keysubst(_arguments, self._argmap_move) | 
					
						
							|  |  |  |         _arguments['----'] = _object | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |         _reply, _arguments, _attributes = self.send(_code, _subcode, | 
					
						
							|  |  |  |                 _arguments, _attributes) | 
					
						
							|  |  |  |         if _arguments.get('errn', 0): | 
					
						
							| 
									
										
										
										
											2007-08-23 00:01:55 +00:00
										 |  |  |             raise aetools.Error(aetools.decodeerror(_arguments)) | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |         # XXXX Optionally decode result | 
					
						
							|  |  |  |         if _arguments.has_key('----'): | 
					
						
							|  |  |  |             return _arguments['----'] | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  | class application(aetools.ComponentItem): | 
					
						
							|  |  |  |     """application - The Disk-Folder-File Suite host program """ | 
					
						
							|  |  |  |     want = 'capp' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop__3c_Inheritance_3e_(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """<Inheritance> - All of the properties of the superclass. """ | 
					
						
							|  |  |  |     which = 'c@#^' | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  |     want = 'capp' | 
					
						
							|  |  |  | _3c_Inheritance_3e_ = _Prop__3c_Inheritance_3e_() | 
					
						
							|  |  |  | class _Prop_folder_actions_enabled(aetools.NProperty): | 
					
						
							|  |  |  |     """folder actions enabled - Are Folder Actions currently being processed? """ | 
					
						
							|  |  |  |     which = 'faen' | 
					
						
							|  |  |  |     want = 'bool' | 
					
						
							|  |  |  | folder_actions_enabled = _Prop_folder_actions_enabled() | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_properties(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  |     """properties - every property of the Disk-Folder-File Suite host program """ | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     which = 'pALL' | 
					
						
							|  |  |  |     want = '****' | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  | properties = _Prop_properties() | 
					
						
							|  |  |  | #        element 'cdis' as ['name', 'indx', 'rele', 'rang', 'test'] | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | #        element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test'] | 
					
						
							|  |  |  | #        element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test'] | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  | #        element 'cwin' as ['name', 'indx', 'rele', 'rang', 'test', 'ID  '] | 
					
						
							|  |  |  | #        element 'docu' as ['name', 'indx', 'rele', 'rang', 'test'] | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | #        element 'file' as ['name', 'indx', 'rele', 'rang', 'test'] | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  | #        element 'foac' as ['name', 'indx', 'rele', 'rang', 'test'] | 
					
						
							|  |  |  | #        element 'logi' as ['name', 'indx', 'rele', 'rang', 'test'] | 
					
						
							|  |  |  | #        element 'pcap' as ['name', 'indx', 'rele', 'rang', 'test'] | 
					
						
							|  |  |  | #        element 'pcda' as ['name', 'indx', 'rele', 'rang', 'test'] | 
					
						
							|  |  |  | #        element 'prcs' as ['name', 'indx', 'rele', 'rang', 'test'] | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  | applications = application | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | class disk(aetools.ComponentItem): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """disk - A disk in the file system """ | 
					
						
							|  |  |  |     want = 'cdis' | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  | class _Prop_POSIX_path(aetools.NProperty): | 
					
						
							|  |  |  |     """POSIX path - the POSIX file system path of the disk """ | 
					
						
							|  |  |  |     which = 'posx' | 
					
						
							|  |  |  |     want = 'utxt' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_capacity(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """capacity - the total number of bytes (free or used) on the disk """ | 
					
						
							|  |  |  |     which = 'capa' | 
					
						
							|  |  |  |     want = 'magn' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_ejectable(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """ejectable - Can the media be ejected (floppies, CD's, and so on)? """ | 
					
						
							|  |  |  |     which = 'isej' | 
					
						
							|  |  |  |     want = 'bool' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_format(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """format - the file system format of this disk """ | 
					
						
							|  |  |  |     which = 'dfmt' | 
					
						
							|  |  |  |     want = 'edfm' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_free_space(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """free space - the number of free bytes left on the disk """ | 
					
						
							|  |  |  |     which = 'frsp' | 
					
						
							|  |  |  |     want = 'magn' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_ignore_privileges(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """ignore privileges - Ignore permissions on this disk? """ | 
					
						
							|  |  |  |     which = 'igpr' | 
					
						
							|  |  |  |     want = 'bool' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_local_volume(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  |     """local volume - Is the media a local volume (as opposed to a file server? """ | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     which = 'isrv' | 
					
						
							|  |  |  |     want = 'bool' | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  | class _Prop_name(aetools.NProperty): | 
					
						
							|  |  |  |     """name - the name of the disk """ | 
					
						
							|  |  |  |     which = 'pnam' | 
					
						
							|  |  |  |     want = 'utxt' | 
					
						
							|  |  |  | class _Prop_path(aetools.NProperty): | 
					
						
							|  |  |  |     """path - the file system path of the disk """ | 
					
						
							|  |  |  |     which = 'ppth' | 
					
						
							|  |  |  |     want = 'utxt' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_startup(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """startup - Is this disk the boot disk? """ | 
					
						
							|  |  |  |     which = 'istd' | 
					
						
							|  |  |  |     want = 'bool' | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  | class _Prop_volume(aetools.NProperty): | 
					
						
							|  |  |  |     """volume - the volume on which the folder resides """ | 
					
						
							|  |  |  |     which = 'volu' | 
					
						
							|  |  |  |     want = 'utxt' | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | #        element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test'] | 
					
						
							|  |  |  | #        element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test'] | 
					
						
							|  |  |  | #        element 'file' as ['name', 'indx', 'rele', 'rang', 'test'] | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | disks = disk | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class folder(aetools.ComponentItem): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """folder - A folder in the file system """ | 
					
						
							|  |  |  |     want = 'cfol' | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | #        element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test'] | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  | #        element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test'] | 
					
						
							|  |  |  | #        element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test'] | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | #        element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test'] | 
					
						
							|  |  |  | #        element 'file' as ['name', 'indx', 'rele', 'rang', 'test'] | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  | #        element 'file' as ['name', 'indx', 'rele', 'rang', 'test'] | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | folders = folder | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class item(aetools.ComponentItem): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """item - An item in the file system """ | 
					
						
							|  |  |  |     want = 'cobj' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_busy_status(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """busy status - Is the item busy? """ | 
					
						
							|  |  |  |     which = 'busy' | 
					
						
							|  |  |  |     want = 'bool' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_creation_date(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """creation date - the date on which the item was created """ | 
					
						
							|  |  |  |     which = 'ascd' | 
					
						
							|  |  |  |     want = '****' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_modification_date(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """modification date - the date on which the item was last modified """ | 
					
						
							|  |  |  |     which = 'asmo' | 
					
						
							|  |  |  |     want = '****' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_name_extension(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """name extension - the extension portion of the name """ | 
					
						
							|  |  |  |     which = 'extn' | 
					
						
							|  |  |  |     want = 'utxt' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_package_folder(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """package folder - Is the item a package? """ | 
					
						
							|  |  |  |     which = 'pkgf' | 
					
						
							|  |  |  |     want = 'bool' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_url(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """url - the url of the item """ | 
					
						
							|  |  |  |     which = 'url ' | 
					
						
							|  |  |  |     want = 'utxt' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_visible(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """visible - Is the item visible? """ | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  |     which = 'visi' | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     want = 'bool' | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  | #        element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test'] | 
					
						
							|  |  |  | #        element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test'] | 
					
						
							|  |  |  | #        element 'file' as ['name', 'indx', 'rele', 'rang', 'test'] | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | items = item | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class file(aetools.ComponentItem): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """file - A file in the file system """ | 
					
						
							|  |  |  |     want = 'file' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_creator_type(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  |     """creator type - the OSType identifying the application that created the item """ | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     which = 'fcrt' | 
					
						
							|  |  |  |     want = 'utxt' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_file_type(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  |     """file type - the OSType identifying the type of data contained in the item """ | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     which = 'asty' | 
					
						
							|  |  |  |     want = 'utxt' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_physical_size(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """physical size - the actual space used by the file on disk """ | 
					
						
							|  |  |  |     which = 'phys' | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  |     want = 'magn' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_product_version(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  |     """product version - the version of the product (visible at the top of the ?et Info?window) """ | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     which = 'ver2' | 
					
						
							|  |  |  |     want = 'utxt' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_size(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """size - the logical size of the file """ | 
					
						
							|  |  |  |     which = 'ptsz' | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  |     want = 'magn' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_stationery(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """stationery - Is the file a stationery pad? """ | 
					
						
							|  |  |  |     which = 'pspd' | 
					
						
							|  |  |  |     want = 'bool' | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  | class _Prop_version(aetools.NProperty): | 
					
						
							|  |  |  |     """version - the version of the file (visible at the bottom of the ?et Info?window) """ | 
					
						
							|  |  |  |     which = 'vers' | 
					
						
							|  |  |  |     want = 'utxt' | 
					
						
							|  |  |  | #        element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test'] | 
					
						
							|  |  |  | #        element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test'] | 
					
						
							|  |  |  | #        element 'file' as ['name', 'indx', 'rele', 'rang', 'test'] | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | files = file | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  | application._superclassnames = [] | 
					
						
							| 
									
										
										
										
											2006-04-21 15:44:20 +00:00
										 |  |  | from . import Standard_Suite | 
					
						
							|  |  |  | from . import Folder_Actions_Suite | 
					
						
							|  |  |  | from . import Login_Items_Suite | 
					
						
							|  |  |  | from . import Processes_Suite | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  | application._privpropdict = { | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  |     'folder_actions_enabled' : _Prop_folder_actions_enabled, | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     'properties' : _Prop_properties, | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  | application._privelemdict = { | 
					
						
							|  |  |  |     'application_process' : Processes_Suite.application_process, | 
					
						
							|  |  |  |     'desk_accessory_process' : Processes_Suite.desk_accessory_process, | 
					
						
							|  |  |  |     'disk' : disk, | 
					
						
							|  |  |  |     'document' : Standard_Suite.document, | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     'file' : file, | 
					
						
							|  |  |  |     'folder' : folder, | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  |     'folder_action' : Folder_Actions_Suite.folder_action, | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     'item' : item, | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  |     'login_item' : Login_Items_Suite.login_item, | 
					
						
							|  |  |  |     'process' : Processes_Suite.process, | 
					
						
							|  |  |  |     'window' : Standard_Suite.window, | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | } | 
					
						
							|  |  |  | disk._superclassnames = ['item'] | 
					
						
							|  |  |  | disk._privpropdict = { | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  |     'POSIX_path' : _Prop_POSIX_path, | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, | 
					
						
							|  |  |  |     'capacity' : _Prop_capacity, | 
					
						
							|  |  |  |     'ejectable' : _Prop_ejectable, | 
					
						
							|  |  |  |     'format' : _Prop_format, | 
					
						
							|  |  |  |     'free_space' : _Prop_free_space, | 
					
						
							|  |  |  |     'ignore_privileges' : _Prop_ignore_privileges, | 
					
						
							|  |  |  |     'local_volume' : _Prop_local_volume, | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  |     'name' : _Prop_name, | 
					
						
							|  |  |  |     'path' : _Prop_path, | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     'properties' : _Prop_properties, | 
					
						
							|  |  |  |     'startup' : _Prop_startup, | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  |     'volume' : _Prop_volume, | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | } | 
					
						
							|  |  |  | disk._privelemdict = { | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     'file' : file, | 
					
						
							|  |  |  |     'folder' : folder, | 
					
						
							|  |  |  |     'item' : item, | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | } | 
					
						
							|  |  |  | folder._superclassnames = ['item'] | 
					
						
							|  |  |  | folder._privpropdict = { | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  |     'POSIX_path' : _Prop_POSIX_path, | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  |     'name' : _Prop_name, | 
					
						
							|  |  |  |     'path' : _Prop_path, | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     'properties' : _Prop_properties, | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  |     'volume' : _Prop_volume, | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | } | 
					
						
							|  |  |  | folder._privelemdict = { | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  |     'file' : file, | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     'file' : file, | 
					
						
							|  |  |  |     'folder' : folder, | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  |     'folder' : folder, | 
					
						
							|  |  |  |     'item' : item, | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     'item' : item, | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | } | 
					
						
							|  |  |  | item._superclassnames = [] | 
					
						
							|  |  |  | item._privpropdict = { | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     'POSIX_path' : _Prop_POSIX_path, | 
					
						
							|  |  |  |     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, | 
					
						
							|  |  |  |     'busy_status' : _Prop_busy_status, | 
					
						
							|  |  |  |     'creation_date' : _Prop_creation_date, | 
					
						
							|  |  |  |     'modification_date' : _Prop_modification_date, | 
					
						
							|  |  |  |     'name' : _Prop_name, | 
					
						
							|  |  |  |     'name_extension' : _Prop_name_extension, | 
					
						
							|  |  |  |     'package_folder' : _Prop_package_folder, | 
					
						
							|  |  |  |     'path' : _Prop_path, | 
					
						
							|  |  |  |     'properties' : _Prop_properties, | 
					
						
							|  |  |  |     'url' : _Prop_url, | 
					
						
							|  |  |  |     'visible' : _Prop_visible, | 
					
						
							|  |  |  |     'volume' : _Prop_volume, | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | } | 
					
						
							|  |  |  | item._privelemdict = { | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  |     'file' : file, | 
					
						
							|  |  |  |     'folder' : folder, | 
					
						
							|  |  |  |     'item' : item, | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | } | 
					
						
							|  |  |  | file._superclassnames = ['item'] | 
					
						
							|  |  |  | file._privpropdict = { | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  |     'POSIX_path' : _Prop_POSIX_path, | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, | 
					
						
							|  |  |  |     'creator_type' : _Prop_creator_type, | 
					
						
							|  |  |  |     'file_type' : _Prop_file_type, | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  |     'name' : _Prop_name, | 
					
						
							|  |  |  |     'path' : _Prop_path, | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     'physical_size' : _Prop_physical_size, | 
					
						
							|  |  |  |     'product_version' : _Prop_product_version, | 
					
						
							|  |  |  |     'properties' : _Prop_properties, | 
					
						
							|  |  |  |     'size' : _Prop_size, | 
					
						
							|  |  |  |     'stationery' : _Prop_stationery, | 
					
						
							|  |  |  |     'version' : _Prop_version, | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  |     'volume' : _Prop_volume, | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | } | 
					
						
							|  |  |  | file._privelemdict = { | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  |     'file' : file, | 
					
						
							|  |  |  |     'folder' : folder, | 
					
						
							|  |  |  |     'item' : item, | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | } | 
					
						
							|  |  |  | _Enum_edfm = { | 
					
						
							| 
									
										
										
										
											2004-07-18 06:16:08 +00:00
										 |  |  |     'MS_2d_DOS_format' : 'dfms',        # MS-DOS format | 
					
						
							|  |  |  |     'Apple_Photo_format' : 'dfph',      # Apple Photo format | 
					
						
							|  |  |  |     'ISO_9660_format' : 'df96', # ISO 9660 format | 
					
						
							|  |  |  |     'QuickTake_format' : 'dfqt',        # QuickTake format | 
					
						
							|  |  |  |     'AppleShare_format' : 'dfas',       # AppleShare format | 
					
						
							|  |  |  |     'High_Sierra_format' : 'dfhs',      # High Sierra format | 
					
						
							|  |  |  |     'Mac_OS_Extended_format' : 'dfh+',  # Mac OS Extended format | 
					
						
							|  |  |  |     'UDF_format' : 'dfud',      # UDF format | 
					
						
							|  |  |  |     'unknown_format' : 'df??',  # unknown format | 
					
						
							|  |  |  |     'audio_format' : 'dfau',    # audio format | 
					
						
							|  |  |  |     'Mac_OS_format' : 'dfhf',   # Mac OS format | 
					
						
							|  |  |  |     'UFS_format' : 'dfuf',      # UFS format | 
					
						
							|  |  |  |     'NFS_format' : 'dfnf',      # NFS format | 
					
						
							|  |  |  |     'ProDOS_format' : 'dfpr',   # ProDOS format | 
					
						
							|  |  |  |     'WebDAV_format' : 'dfwd',   # WebDAV format | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # Indices of types declared in this module | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | _classdeclarations = { | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  |     'capp' : application, | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     'cdis' : disk, | 
					
						
							|  |  |  |     'cfol' : folder, | 
					
						
							|  |  |  |     'cobj' : item, | 
					
						
							|  |  |  |     'file' : file, | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | _propdeclarations = { | 
					
						
							|  |  |  |     'ascd' : _Prop_creation_date, | 
					
						
							|  |  |  |     'asmo' : _Prop_modification_date, | 
					
						
							|  |  |  |     'asty' : _Prop_file_type, | 
					
						
							|  |  |  |     'busy' : _Prop_busy_status, | 
					
						
							|  |  |  |     'c@#^' : _Prop__3c_Inheritance_3e_, | 
					
						
							|  |  |  |     'capa' : _Prop_capacity, | 
					
						
							|  |  |  |     'dfmt' : _Prop_format, | 
					
						
							|  |  |  |     'extn' : _Prop_name_extension, | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  |     'faen' : _Prop_folder_actions_enabled, | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     'fcrt' : _Prop_creator_type, | 
					
						
							|  |  |  |     'frsp' : _Prop_free_space, | 
					
						
							|  |  |  |     'igpr' : _Prop_ignore_privileges, | 
					
						
							|  |  |  |     'isej' : _Prop_ejectable, | 
					
						
							|  |  |  |     'isrv' : _Prop_local_volume, | 
					
						
							|  |  |  |     'istd' : _Prop_startup, | 
					
						
							|  |  |  |     'pALL' : _Prop_properties, | 
					
						
							|  |  |  |     'phys' : _Prop_physical_size, | 
					
						
							|  |  |  |     'pkgf' : _Prop_package_folder, | 
					
						
							|  |  |  |     'pnam' : _Prop_name, | 
					
						
							|  |  |  |     'posx' : _Prop_POSIX_path, | 
					
						
							|  |  |  |     'ppth' : _Prop_path, | 
					
						
							|  |  |  |     'pspd' : _Prop_stationery, | 
					
						
							|  |  |  |     'ptsz' : _Prop_size, | 
					
						
							|  |  |  |     'url ' : _Prop_url, | 
					
						
							|  |  |  |     'ver2' : _Prop_product_version, | 
					
						
							|  |  |  |     'vers' : _Prop_version, | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  |     'visi' : _Prop_visible, | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     'volu' : _Prop_volume, | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | _compdeclarations = { | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | _enumdeclarations = { | 
					
						
							|  |  |  |     'edfm' : _Enum_edfm, | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | } |