mirror of
https://github.com/python/cpython.git
synced 2025-07-28 13:44:43 +00:00
Moved most of Mac/Lib hierarchy to Lib/plat-mac: it can be used both
in MacPython-OS9 and MacPython-OSX (or the equivalent unix Python on Mac OS X). The only items remaining in Mac/Lib are modules that are meaningful only for MacPython-OS9 (CFM stuff, MacPython preferences in resources, etc).
This commit is contained in:
parent
c262a1f51c
commit
60087fb450
136 changed files with 207 additions and 0 deletions
220
Lib/plat-mac/lib-scriptpackages/Finder/Obsolete_terms.py
Normal file
220
Lib/plat-mac/lib-scriptpackages/Finder/Obsolete_terms.py
Normal file
|
@ -0,0 +1,220 @@
|
|||
"""Suite Obsolete terms: Terms that have been deprecated
|
||||
Level 1, version 1
|
||||
|
||||
Generated from /Volumes/Sap/System Folder/Finder
|
||||
AETE/AEUT resource version 0/144, language 0, script 0
|
||||
"""
|
||||
|
||||
import aetools
|
||||
import MacOS
|
||||
|
||||
_code = 'tpnm'
|
||||
|
||||
from StdSuites.Type_Names_Suite import *
|
||||
class Obsolete_terms_Events(Type_Names_Suite_Events):
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class application(aetools.ComponentItem):
|
||||
"""application - The Finder """
|
||||
want = 'capp'
|
||||
class view_preferences(aetools.NProperty):
|
||||
"""view preferences - backwards compatibility with Finder Scripting Extension. DEPRECATED -- not supported after Finder 8.0 """
|
||||
which = 'pvwp'
|
||||
want = 'obj '
|
||||
|
||||
class container(aetools.ComponentItem):
|
||||
"""container - An item that contains other items """
|
||||
want = 'ctnr'
|
||||
class container_window(aetools.NProperty):
|
||||
"""container window - the main window for the container """
|
||||
which = 'cwnd'
|
||||
want = 'obj '
|
||||
|
||||
class container_window(aetools.ComponentItem):
|
||||
"""container window - A window that contains items """
|
||||
want = 'cwnd'
|
||||
class folder_obsolete(aetools.NProperty):
|
||||
"""folder obsolete - the folder from which the window was opened (DEPRECATED - for use with scripts compiled before Finder 8.0. Will be removed in the next release.) """
|
||||
which = 'cfol'
|
||||
want = 'obj '
|
||||
|
||||
class control_panel(aetools.ComponentItem):
|
||||
"""control panel - A control panel """
|
||||
want = 'ccdv'
|
||||
|
||||
control_panels = control_panel
|
||||
|
||||
class file(aetools.ComponentItem):
|
||||
"""file - A file """
|
||||
want = 'file'
|
||||
class file_type_obsolete(aetools.NProperty):
|
||||
"""file type obsolete - the OSType identifying the type of data contained in the item (DEPRECATED - for use with scripts compiled before Finder 8.0. Will be removed in the next release) """
|
||||
which = 'fitp'
|
||||
want = 'type'
|
||||
class locked_obsolete(aetools.NProperty):
|
||||
"""locked obsolete - Is the file locked? (DEPRECATED - for use with scripts compiled before Finder 8.0. Will be removed in the next release) """
|
||||
which = 'islk'
|
||||
want = 'bool'
|
||||
|
||||
class information_window(aetools.ComponentItem):
|
||||
"""information window - An information window (opened by \xd2Get Info\xd3) """
|
||||
want = 'iwnd'
|
||||
class creation_date_obsolete(aetools.NProperty):
|
||||
"""creation date obsolete - the date on which the item was created (DEPRECATED - for use with scripts compiled before Finder 8.0. Will be removed in the next release) """
|
||||
which = 'crtd'
|
||||
want = 'ldt '
|
||||
class modification_date_obsolete(aetools.NProperty):
|
||||
"""modification date obsolete - the date on which the item was last modified (DEPRECATED - for use with scripts compiled before Finder 8.0. Will be removed in the next release) """
|
||||
which = 'modd'
|
||||
want = 'ldt '
|
||||
|
||||
class item(aetools.ComponentItem):
|
||||
"""item - An item """
|
||||
want = 'cobj'
|
||||
|
||||
class process(aetools.ComponentItem):
|
||||
"""process - A process running on this computer """
|
||||
want = 'prcs'
|
||||
|
||||
class sharable_container(aetools.ComponentItem):
|
||||
"""sharable container - A container that may be shared (disks and folders) """
|
||||
want = 'sctr'
|
||||
class sharing_window(aetools.NProperty):
|
||||
"""sharing window - the sharing window for the container (file sharing must be on to use this property) """
|
||||
which = 'swnd'
|
||||
want = 'obj '
|
||||
|
||||
class sharing_window(aetools.ComponentItem):
|
||||
"""sharing window - A sharing window (opened by \xd2Sharing\xc9\xd3) """
|
||||
want = 'swnd'
|
||||
class sharable_container(aetools.NProperty):
|
||||
"""sharable container - the sharable container from which the window was opened """
|
||||
which = 'sctr'
|
||||
want = 'obj '
|
||||
class item(aetools.NProperty):
|
||||
"""item - the item from which this window was opened """
|
||||
which = 'cobj'
|
||||
want = 'obj '
|
||||
class container(aetools.NProperty):
|
||||
"""container - the container from which this window was opened """
|
||||
which = 'ctnr'
|
||||
want = 'obj '
|
||||
|
||||
sharing_windows = sharing_window
|
||||
|
||||
class status_window(aetools.ComponentItem):
|
||||
"""status window - Progress dialogs (e.g., copy window, rebuild desktop database, empty trash) """
|
||||
want = 'qwnd'
|
||||
|
||||
status_windows = status_window
|
||||
application._superclassnames = []
|
||||
application._privpropdict = {
|
||||
'view_preferences' : view_preferences,
|
||||
}
|
||||
application._privelemdict = {
|
||||
}
|
||||
container._superclassnames = []
|
||||
container._privpropdict = {
|
||||
'container_window' : container_window,
|
||||
}
|
||||
container._privelemdict = {
|
||||
}
|
||||
container_window._superclassnames = []
|
||||
container_window._privpropdict = {
|
||||
'folder_obsolete' : folder_obsolete,
|
||||
}
|
||||
container_window._privelemdict = {
|
||||
}
|
||||
control_panel._superclassnames = []
|
||||
control_panel._privpropdict = {
|
||||
}
|
||||
control_panel._privelemdict = {
|
||||
}
|
||||
file._superclassnames = []
|
||||
file._privpropdict = {
|
||||
'file_type_obsolete' : file_type_obsolete,
|
||||
'locked_obsolete' : locked_obsolete,
|
||||
}
|
||||
file._privelemdict = {
|
||||
}
|
||||
information_window._superclassnames = []
|
||||
information_window._privpropdict = {
|
||||
'creation_date_obsolete' : creation_date_obsolete,
|
||||
'locked_obsolete' : locked_obsolete,
|
||||
'modification_date_obsolete' : modification_date_obsolete,
|
||||
}
|
||||
information_window._privelemdict = {
|
||||
}
|
||||
item._superclassnames = []
|
||||
item._privpropdict = {
|
||||
'creation_date_obsolete' : creation_date_obsolete,
|
||||
'folder_obsolete' : folder_obsolete,
|
||||
'modification_date_obsolete' : modification_date_obsolete,
|
||||
}
|
||||
item._privelemdict = {
|
||||
}
|
||||
process._superclassnames = []
|
||||
process._privpropdict = {
|
||||
'file_type_obsolete' : file_type_obsolete,
|
||||
}
|
||||
process._privelemdict = {
|
||||
}
|
||||
sharable_container._superclassnames = []
|
||||
sharable_container._privpropdict = {
|
||||
'sharing_window' : sharing_window,
|
||||
}
|
||||
sharable_container._privelemdict = {
|
||||
}
|
||||
sharing_window._superclassnames = []
|
||||
sharing_window._privpropdict = {
|
||||
'sharable_container' : sharable_container,
|
||||
'item' : item,
|
||||
'container' : container,
|
||||
'folder_obsolete' : folder_obsolete,
|
||||
}
|
||||
sharing_window._privelemdict = {
|
||||
}
|
||||
status_window._superclassnames = []
|
||||
status_window._privpropdict = {
|
||||
}
|
||||
status_window._privelemdict = {
|
||||
}
|
||||
|
||||
#
|
||||
# Indices of types declared in this module
|
||||
#
|
||||
_classdeclarations = {
|
||||
'qwnd' : status_window,
|
||||
'capp' : application,
|
||||
'swnd' : sharing_window,
|
||||
'ccdv' : control_panel,
|
||||
'prcs' : process,
|
||||
'cobj' : item,
|
||||
'file' : file,
|
||||
'sctr' : sharable_container,
|
||||
'cwnd' : container_window,
|
||||
'ctnr' : container,
|
||||
'iwnd' : information_window,
|
||||
}
|
||||
|
||||
_propdeclarations = {
|
||||
'fitp' : file_type_obsolete,
|
||||
'swnd' : sharing_window,
|
||||
'cfol' : folder_obsolete,
|
||||
'crtd' : creation_date_obsolete,
|
||||
'islk' : locked_obsolete,
|
||||
'modd' : modification_date_obsolete,
|
||||
'sctr' : sharable_container,
|
||||
'pvwp' : view_preferences,
|
||||
'cwnd' : container_window,
|
||||
'ctnr' : container,
|
||||
'cobj' : item,
|
||||
}
|
||||
|
||||
_compdeclarations = {
|
||||
}
|
||||
|
||||
_enumdeclarations = {
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue