cpython/Lib/plat-mac/lib-scriptpackages/Finder/Files.py

213 lines
5.7 KiB
Python
Raw Normal View History

"""Suite Files: Classes representing files
2000-08-20 16:29:03 -03:00
Level 1, version 1
Generated from /System/Library/CoreServices/Finder.app
2000-08-20 16:29:03 -03:00
AETE/AEUT resource version 0/144, language 0, script 0
"""
import aetools
import MacOS
_code = 'fndr'
class Files_Events:
2000-08-20 16:29:03 -03:00
pass
class alias_file(aetools.ComponentItem):
"""alias file - An alias file (created with \xd2Make Alias\xd3) """
2000-08-20 16:29:03 -03:00
want = 'alia'
class _3c_Inheritance_3e_(aetools.NProperty):
"""<Inheritance> - inherits some of its properties from the file class """
which = 'c@#^'
want = 'file'
2000-08-20 16:29:03 -03:00
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_file(aetools.ComponentItem):
"""application file - An application's file on disk """
want = 'appf'
class accepts_high_level_events(aetools.NProperty):
"""accepts high level events - Is the application high-level event aware? (OBSOLETE: always returns true) """
2000-08-20 16:29:03 -03:00
which = 'isab'
want = 'bool'
class has_scripting_terminology(aetools.NProperty):
"""has scripting terminology - Does the process have a scripting terminology, i.e., can it be scripted? """
which = 'hscr'
want = 'bool'
class minimum_size(aetools.NProperty):
"""minimum size - the smallest memory size with which the application can be launched """
which = 'mprt'
want = 'long'
class opens_in_Classic(aetools.NProperty):
"""opens in Classic - Should the application launch in the Classic environment? """
which = 'Clsc'
want = 'bool'
class preferred_size(aetools.NProperty):
"""preferred size - the memory size with which the application will be launched """
which = 'appt'
want = 'long'
class suggested_size(aetools.NProperty):
"""suggested size - the memory size with which the developer recommends the application be launched """
which = 'sprt'
want = 'long'
2000-08-20 16:29:03 -03:00
application_files = application_file
class clipping(aetools.ComponentItem):
"""clipping - A clipping """
want = 'clpf'
class clipping_window(aetools.NProperty):
"""clipping window - (NOT AVAILABLE YET) the clipping window for this clipping """
which = 'lwnd'
want = 'obj '
clippings = clipping
2000-08-20 16:29:03 -03:00
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 = 'asty'
want = 'type'
class product_version(aetools.NProperty):
"""product version - the version of the product (visible at the top of the \xd2Get Info\xd3 window) """
which = 'ver2'
want = 'utxt'
class stationery(aetools.NProperty):
"""stationery - Is the file a stationery pad? """
which = 'pspd'
want = 'bool'
class version(aetools.NProperty):
"""version - the version of the file (visible at the bottom of the \xd2Get Info\xd3 window) """
which = 'vers'
want = 'utxt'
files = file
2000-08-20 16:29:03 -03:00
class internet_location_file(aetools.ComponentItem):
"""internet location file - An file containing an internet location """
want = 'inlf'
class location(aetools.NProperty):
"""location - the internet location """
which = 'iloc'
want = 'utxt'
2000-08-20 16:29:03 -03:00
internet_location_files = internet_location_file
class package(aetools.ComponentItem):
"""package - A package """
want = 'pack'
packages = package
alias_file._superclassnames = ['file']
alias_file._privpropdict = {
2000-08-20 16:29:03 -03:00
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
'original_item' : original_item,
}
alias_file._privelemdict = {
2000-08-20 16:29:03 -03:00
}
application_file._superclassnames = ['file']
application_file._privpropdict = {
2000-08-20 16:29:03 -03:00
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
'accepts_high_level_events' : accepts_high_level_events,
'has_scripting_terminology' : has_scripting_terminology,
'minimum_size' : minimum_size,
'opens_in_Classic' : opens_in_Classic,
'preferred_size' : preferred_size,
'suggested_size' : suggested_size,
2000-08-20 16:29:03 -03:00
}
application_file._privelemdict = {
2000-08-20 16:29:03 -03:00
}
clipping._superclassnames = ['file']
clipping._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
'clipping_window' : clipping_window,
}
clipping._privelemdict = {
}
document_file._superclassnames = ['file']
document_file._privpropdict = {
2000-08-20 16:29:03 -03:00
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
}
document_file._privelemdict = {
2000-08-20 16:29:03 -03:00
}
import Finder_items
file._superclassnames = ['item']
file._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
'creator_type' : creator_type,
'file_type' : file_type,
'product_version' : product_version,
'stationery' : stationery,
'version' : version,
}
file._privelemdict = {
}
internet_location_file._superclassnames = ['file']
internet_location_file._privpropdict = {
2000-08-20 16:29:03 -03:00
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
'location' : location,
}
internet_location_file._privelemdict = {
2000-08-20 16:29:03 -03:00
}
package._superclassnames = ['item']
package._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
}
package._privelemdict = {
}
2000-08-20 16:29:03 -03:00
#
# Indices of types declared in this module
#
_classdeclarations = {
'alia' : alias_file,
'appf' : application_file,
'clpf' : clipping,
'docf' : document_file,
'file' : file,
'inlf' : internet_location_file,
'pack' : package,
2000-08-20 16:29:03 -03:00
}
_propdeclarations = {
'Clsc' : opens_in_Classic,
2000-08-20 16:29:03 -03:00
'appt' : preferred_size,
'asty' : file_type,
'c@#^' : _3c_Inheritance_3e_,
'fcrt' : creator_type,
'hscr' : has_scripting_terminology,
'iloc' : location,
'isab' : accepts_high_level_events,
'lwnd' : clipping_window,
'mprt' : minimum_size,
'orig' : original_item,
'pspd' : stationery,
'sprt' : suggested_size,
'ver2' : product_version,
'vers' : version,
2000-08-20 16:29:03 -03:00
}
_compdeclarations = {
}
_enumdeclarations = {
}