| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | """Suite Files: Classes representing files
 | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | Level 1, version 1 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | Generated from /System/Library/CoreServices/Finder.app | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | AETE/AEUT resource version 0/144, language 0, script 0 | 
					
						
							|  |  |  | """
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | import aetools | 
					
						
							|  |  |  | import MacOS | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | _code = 'fndr' | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | class Files_Events: | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     pass | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class alias_file(aetools.ComponentItem): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """alias file - An alias file (created with \xd2Make Alias\xd3) """ | 
					
						
							|  |  |  |     want = 'alia' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop__3c_Inheritance_3e_(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """<Inheritance> - inherits some of its properties from the file class """ | 
					
						
							|  |  |  |     which = 'c@#^' | 
					
						
							|  |  |  |     want = 'file' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_original_item(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """original item - the original item pointed to by the alias """ | 
					
						
							|  |  |  |     which = 'orig' | 
					
						
							|  |  |  |     want = 'obj ' | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | alias_files = alias_file | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class application_file(aetools.ComponentItem): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """application file - An application's file on disk """ | 
					
						
							|  |  |  |     want = 'appf' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_accepts_high_level_events(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """accepts high level events - Is the application high-level event aware? (OBSOLETE: always returns true) """ | 
					
						
							|  |  |  |     which = 'isab' | 
					
						
							|  |  |  |     want = 'bool' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_has_scripting_terminology(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """has scripting terminology - Does the process have a scripting terminology, i.e., can it be scripted? """ | 
					
						
							|  |  |  |     which = 'hscr' | 
					
						
							|  |  |  |     want = 'bool' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_minimum_size(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """minimum size - the smallest memory size with which the application can be launched """ | 
					
						
							|  |  |  |     which = 'mprt' | 
					
						
							|  |  |  |     want = 'long' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_opens_in_Classic(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """opens in Classic - Should the application launch in the Classic environment? """ | 
					
						
							|  |  |  |     which = 'Clsc' | 
					
						
							|  |  |  |     want = 'bool' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_preferred_size(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """preferred size - the memory size with which the application will be launched """ | 
					
						
							|  |  |  |     which = 'appt' | 
					
						
							|  |  |  |     want = 'long' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_suggested_size(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """suggested size - the memory size with which the developer recommends the application be launched """ | 
					
						
							|  |  |  |     which = 'sprt' | 
					
						
							|  |  |  |     want = 'long' | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | application_files = application_file | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | class clipping(aetools.ComponentItem): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """clipping - A clipping """ | 
					
						
							|  |  |  |     want = 'clpf' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_clipping_window(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """clipping window - (NOT AVAILABLE YET) the clipping window for this clipping """ | 
					
						
							|  |  |  |     which = 'lwnd' | 
					
						
							|  |  |  |     want = 'obj ' | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | clippings = clipping | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | class document_file(aetools.ComponentItem): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """document file - A document file """ | 
					
						
							|  |  |  |     want = 'docf' | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | document_files = document_file | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | class file(aetools.ComponentItem): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """file - A file """ | 
					
						
							|  |  |  |     want = 'file' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_creator_type(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """creator type - the OSType identifying the application that created the item """ | 
					
						
							|  |  |  |     which = 'fcrt' | 
					
						
							|  |  |  |     want = 'type' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_file_type(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """file type - the OSType identifying the type of data contained in the item """ | 
					
						
							|  |  |  |     which = 'asty' | 
					
						
							|  |  |  |     want = 'type' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_product_version(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """product version - the version of the product (visible at the top of the \xd2Get Info\xd3 window) """ | 
					
						
							|  |  |  |     which = 'ver2' | 
					
						
							|  |  |  |     want = 'utxt' | 
					
						
							| 
									
										
										
										
											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-04-01 22:05:14 +00:00
										 |  |  | class _Prop_version(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """version - the version of the file (visible at the bottom of the \xd2Get Info\xd3 window) """ | 
					
						
							|  |  |  |     which = 'vers' | 
					
						
							|  |  |  |     want = 'utxt' | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | files = file | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | class internet_location_file(aetools.ComponentItem): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """internet location file - An file containing an internet location """ | 
					
						
							|  |  |  |     want = 'inlf' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_location(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """location - the internet location """ | 
					
						
							|  |  |  |     which = 'iloc' | 
					
						
							|  |  |  |     want = 'utxt' | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | internet_location_files = internet_location_file | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | class package(aetools.ComponentItem): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """package - A package """ | 
					
						
							|  |  |  |     want = 'pack' | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | packages = package | 
					
						
							| 
									
										
										
										
											2002-08-07 15:53:42 +00:00
										 |  |  | alias_file._superclassnames = ['file'] | 
					
						
							|  |  |  | alias_file._privpropdict = { | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, | 
					
						
							|  |  |  |     'original_item' : _Prop_original_item, | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2002-08-07 15:53:42 +00:00
										 |  |  | alias_file._privelemdict = { | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2002-08-07 15:53:42 +00:00
										 |  |  | application_file._superclassnames = ['file'] | 
					
						
							|  |  |  | application_file._privpropdict = { | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, | 
					
						
							|  |  |  |     'accepts_high_level_events' : _Prop_accepts_high_level_events, | 
					
						
							|  |  |  |     'has_scripting_terminology' : _Prop_has_scripting_terminology, | 
					
						
							|  |  |  |     'minimum_size' : _Prop_minimum_size, | 
					
						
							|  |  |  |     'opens_in_Classic' : _Prop_opens_in_Classic, | 
					
						
							|  |  |  |     'preferred_size' : _Prop_preferred_size, | 
					
						
							|  |  |  |     'suggested_size' : _Prop_suggested_size, | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2002-08-07 15:53:42 +00:00
										 |  |  | application_file._privelemdict = { | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | clipping._superclassnames = ['file'] | 
					
						
							|  |  |  | clipping._privpropdict = { | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, | 
					
						
							|  |  |  |     'clipping_window' : _Prop_clipping_window, | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | } | 
					
						
							|  |  |  | clipping._privelemdict = { | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2002-08-07 15:53:42 +00:00
										 |  |  | document_file._superclassnames = ['file'] | 
					
						
							|  |  |  | document_file._privpropdict = { | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2002-08-07 15:53:42 +00:00
										 |  |  | document_file._privelemdict = { | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | import Finder_items | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | file._superclassnames = ['item'] | 
					
						
							|  |  |  | file._privpropdict = { | 
					
						
							| 
									
										
										
										
											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, | 
					
						
							|  |  |  |     'product_version' : _Prop_product_version, | 
					
						
							|  |  |  |     'stationery' : _Prop_stationery, | 
					
						
							|  |  |  |     'version' : _Prop_version, | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | } | 
					
						
							|  |  |  | file._privelemdict = { | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2002-08-07 15:53:42 +00:00
										 |  |  | internet_location_file._superclassnames = ['file'] | 
					
						
							|  |  |  | internet_location_file._privpropdict = { | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, | 
					
						
							|  |  |  |     'location' : _Prop_location, | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2002-08-07 15:53:42 +00:00
										 |  |  | internet_location_file._privelemdict = { | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | package._superclassnames = ['item'] | 
					
						
							|  |  |  | package._privpropdict = { | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | } | 
					
						
							|  |  |  | package._privelemdict = { | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # Indices of types declared in this module | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | _classdeclarations = { | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     'alia' : alias_file, | 
					
						
							|  |  |  |     'appf' : application_file, | 
					
						
							|  |  |  |     'clpf' : clipping, | 
					
						
							|  |  |  |     'docf' : document_file, | 
					
						
							|  |  |  |     'file' : file, | 
					
						
							|  |  |  |     'inlf' : internet_location_file, | 
					
						
							|  |  |  |     'pack' : package, | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | _propdeclarations = { | 
					
						
							|  |  |  |     'Clsc' : _Prop_opens_in_Classic, | 
					
						
							|  |  |  |     'appt' : _Prop_preferred_size, | 
					
						
							|  |  |  |     'asty' : _Prop_file_type, | 
					
						
							|  |  |  |     'c@#^' : _Prop__3c_Inheritance_3e_, | 
					
						
							|  |  |  |     'fcrt' : _Prop_creator_type, | 
					
						
							|  |  |  |     'hscr' : _Prop_has_scripting_terminology, | 
					
						
							|  |  |  |     'iloc' : _Prop_location, | 
					
						
							|  |  |  |     'isab' : _Prop_accepts_high_level_events, | 
					
						
							|  |  |  |     'lwnd' : _Prop_clipping_window, | 
					
						
							|  |  |  |     'mprt' : _Prop_minimum_size, | 
					
						
							|  |  |  |     'orig' : _Prop_original_item, | 
					
						
							|  |  |  |     'pspd' : _Prop_stationery, | 
					
						
							|  |  |  |     'sprt' : _Prop_suggested_size, | 
					
						
							|  |  |  |     'ver2' : _Prop_product_version, | 
					
						
							|  |  |  |     'vers' : _Prop_version, | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | _compdeclarations = { | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | _enumdeclarations = { | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | } |