[Python-checkins] python/dist/src/Lib/plat-mac/lib-scriptpackages/Finder Files.py,NONE,1.1 Legacy_suite.py,NONE,1.1 Containers_and_folders.py,1.4,1.5 Enumerations.py,1.4,1.5 Finder_Basics.py,1.3,1.4 Finder_items.py,1.3,1.4 Standard_Suite.py,1.3,1.4 Type_Definitions.py,1.4,1.5 Window_classes.py,1.4,1.5 __init__.py,1.4,1.5 Earlier_terms.py,1.4,NONE Files_and_suitcases.py,1.4,NONE Obsolete_terms.py,1.3,NONE Process_classes.py,1.4,NONE
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
2003年3月28日 16:13:48 -0800
Update of /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/Finder
In directory sc8-pr-cvs1:/tmp/cvs-serv7382/Finder
Modified Files:
Containers_and_folders.py Enumerations.py Finder_Basics.py
Finder_items.py Standard_Suite.py Type_Definitions.py
Window_classes.py __init__.py
Added Files:
Files.py Legacy_suite.py
Removed Files:
Earlier_terms.py Files_and_suitcases.py Obsolete_terms.py
Process_classes.py
Log Message:
Regenerated with the new way to get terminology (through AppleEvents),
which sometimes seems to result in different terminology. It does
seem to be mostly compatible, though.
--- NEW FILE: Files.py ---
"""Suite Files: Classes representing files
Level 1, version 1
Generated from /System/Library/CoreServices/Finder.app
AETE/AEUT resource version 0/144, language 0, script 0
"""
import aetools
import MacOS
_code = 'fndr'
class Files_Events:
pass
class alias_file(aetools.ComponentItem):
"""alias file - An alias file (created with \xd2Make Alias\xd3) """
want = 'alia'
class _3c_Inheritance_3e_(aetools.NProperty):
"""<Inheritance> - inherits some of its properties from the file class """
which = 'c@#^'
want = 'file'
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) """
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'
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
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
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'
internet_location_files = internet_location_file
class package(aetools.ComponentItem):
"""package - A package """
want = 'pack'
packages = package
alias_file._superclassnames = ['file']
alias_file._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
'original_item' : original_item,
}
alias_file._privelemdict = {
}
application_file._superclassnames = ['file']
application_file._privpropdict = {
'_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,
}
application_file._privelemdict = {
}
clipping._superclassnames = ['file']
clipping._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
'clipping_window' : clipping_window,
}
clipping._privelemdict = {
}
document_file._superclassnames = ['file']
document_file._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
}
document_file._privelemdict = {
}
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 = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
'location' : location,
}
internet_location_file._privelemdict = {
}
package._superclassnames = ['item']
package._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
}
package._privelemdict = {
}
#
# 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,
}
_propdeclarations = {
'Clsc' : opens_in_Classic,
'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,
}
_compdeclarations = {
}
_enumdeclarations = {
}
--- NEW FILE: Legacy_suite.py ---
"""Suite Legacy suite: Operations formerly handled by the Finder, but now automatically delegated to other applications
Level 1, version 1
Generated from /System/Library/CoreServices/Finder.app
AETE/AEUT resource version 0/144, language 0, script 0
"""
import aetools
import MacOS
_code = 'fleg'
class Legacy_suite_Events:
def restart(self, _no_object=None, _attributes={}, **_arguments):
"""restart: Restart the computer
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.get('errn', 0):
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 computer
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.get('errn', 0):
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: Put the computer to sleep
Keyword argument _attributes: AppleEvent attribute dictionary
"""
_code = 'fndr'
_subcode = 'slep'
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.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
if _arguments.has_key('----'):
return _arguments['----']
class application(aetools.ComponentItem):
"""application - The Finder """
want = 'capp'
class desktop_picture(aetools.NProperty):
"""desktop picture - the desktop picture of the main monitor """
which = 'dpic'
want = 'file'
class application_process(aetools.ComponentItem):
"""application process - A process launched from an application file """
want = 'pcap'
class _3c_Inheritance_3e_(aetools.NProperty):
"""<Inheritance> - inherits some of its properties from the process class """
which = 'c@#^'
want = 'prcs'
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 desk_accessory_process(aetools.ComponentItem):
"""desk 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 '
desk_accessory_processes = desk_accessory_process
class process(aetools.ComponentItem):
"""process - A process running on this computer """
want = 'prcs'
class accepts_high_level_events(aetools.NProperty):
"""accepts high level events - Is the process high-level event aware (accepts open application, open document, print document, and quit)? """
which = 'isab'
want = 'bool'
class accepts_remote_events(aetools.NProperty):
"""accepts remote events - Does the process accept remote events? """
which = 'revt'
want = 'bool'
class creator_type(aetools.NProperty):
"""creator type - the OSType of the creator of the process (the signature) """
which = 'fcrt'
want = 'type'
class file(aetools.NProperty):
"""file - the file from which the process was launched """
which = 'file'
want = 'obj '
class file_type(aetools.NProperty):
"""file type - the OSType of the file type of the process """
which = 'asty'
want = 'type'
class frontmost(aetools.NProperty):
"""frontmost - Is the process the frontmost process? """
which = 'pisf'
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 name(aetools.NProperty):
"""name - the name of the process """
which = 'pnam'
want = 'itxt'
class partition_space_used(aetools.NProperty):
"""partition space used - the number of bytes currently used in the process' partition """
which = 'pusd'
want = 'long'
class total_partition_size(aetools.NProperty):
"""total partition size - the size of the partition with which the process was launched """
which = 'appt'
want = 'long'
class visible(aetools.NProperty):
"""visible - Is the process' layer visible? """
which = 'pvis'
want = 'bool'
processes = process
application._superclassnames = []
application._privpropdict = {
'desktop_picture' : desktop_picture,
}
application._privelemdict = {
}
application_process._superclassnames = ['process']
application_process._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
'application_file' : application_file,
}
application_process._privelemdict = {
}
desk_accessory_process._superclassnames = ['process']
desk_accessory_process._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
'desk_accessory_file' : desk_accessory_file,
}
desk_accessory_process._privelemdict = {
}
process._superclassnames = []
process._privpropdict = {
'accepts_high_level_events' : accepts_high_level_events,
'accepts_remote_events' : accepts_remote_events,
'creator_type' : creator_type,
'file' : file,
'file_type' : file_type,
'frontmost' : frontmost,
'has_scripting_terminology' : has_scripting_terminology,
'name' : name,
'partition_space_used' : partition_space_used,
'total_partition_size' : total_partition_size,
'visible' : visible,
}
process._privelemdict = {
}
#
# Indices of types declared in this module
#
_classdeclarations = {
'capp' : application,
'pcap' : application_process,
'pcda' : desk_accessory_process,
'prcs' : process,
}
_propdeclarations = {
'appf' : application_file,
'appt' : total_partition_size,
'asty' : file_type,
'c@#^' : _3c_Inheritance_3e_,
'dafi' : desk_accessory_file,
'dpic' : desktop_picture,
'fcrt' : creator_type,
'file' : file,
'hscr' : has_scripting_terminology,
'isab' : accepts_high_level_events,
'pisf' : frontmost,
'pnam' : name,
'pusd' : partition_space_used,
'pvis' : visible,
'revt' : accepts_remote_events,
}
_compdeclarations = {
}
_enumdeclarations = {
}
Index: Containers_and_folders.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/Finder/Containers_and_folders.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** Containers_and_folders.py 28 Mar 2003 23:37:56 -0000 1.4
--- Containers_and_folders.py 29 Mar 2003 00:13:12 -0000 1.5
***************
*** 2,6 ****
Level 1, version 1
! Generated from /Volumes/Moes/Systeemmap/Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
--- 2,6 ----
Level 1, version 1
! Generated from /System/Library/CoreServices/Finder.app
AETE/AEUT resource version 0/144, language 0, script 0
"""
***************
*** 24,30 ****
want = 'cobj'
class completely_expanded(aetools.NProperty):
! """completely expanded - Are the container and all of its children opened as outlines? (can only be set for containers viewed as lists) """
which = 'pexc'
want = 'bool'
class entire_contents(aetools.NProperty):
"""entire contents - the entire contents of the container, including the contents of its children """
--- 24,34 ----
want = 'cobj'
class completely_expanded(aetools.NProperty):
! """completely expanded - (NOT AVAILABLE YET) Are the container and all of its children opened as outlines? (can only be set for containers viewed as lists) """
which = 'pexc'
want = 'bool'
+ class container_window(aetools.NProperty):
+ """container window - the container window for this folder """
+ which = 'cwnd'
+ want = 'obj '
class entire_contents(aetools.NProperty):
"""entire contents - the entire contents of the container, including the contents of its children """
***************
*** 32,54 ****
want = 'obj '
class expandable(aetools.NProperty):
! """expandable - Is the container capable of being expanded as an outline? """
which = 'pexa'
want = 'bool'
class expanded(aetools.NProperty):
! """expanded - Is the container opened as an outline? (can only be set for containers viewed as lists) """
which = 'pexp'
want = 'bool'
- class icon_size(aetools.NProperty):
- """icon size - ... alternatively, you can specify the icons size as a constant """
- which = 'lvis'
- want = 'isiz'
- class selection(aetools.NProperty):
- """selection - the selection visible to the user """
- which = 'sele'
- want = 'obj '
- class view_options_window(aetools.NProperty):
- """view options window - the view options window for the container (can only be opened when the container window is open) """
- which = 'vwnd'
- want = 'vwnd'
# element 'alia' as ['indx', 'name']
# element 'appf' as ['indx', 'name', 'ID ']
--- 36,46 ----
want = 'obj '
class expandable(aetools.NProperty):
! """expandable - (NOT AVAILABLE YET) Is the container capable of being expanded as an outline? """
which = 'pexa'
want = 'bool'
class expanded(aetools.NProperty):
! """expanded - (NOT AVAILABLE YET) Is the container opened as an outline? (can only be set for containers viewed as lists) """
which = 'pexp'
want = 'bool'
# element 'alia' as ['indx', 'name']
# element 'appf' as ['indx', 'name', 'ID ']
***************
*** 57,71 ****
# element 'cobj' as ['indx', 'name']
# element 'ctnr' as ['indx', 'name']
- # element 'dafi' as ['indx', 'name']
# element 'docf' as ['indx', 'name']
- # element 'dsut' as ['indx', 'name']
# element 'file' as ['indx', 'name']
- # element 'fntf' as ['indx', 'name']
- # element 'fsut' as ['indx', 'name']
# element 'inlf' as ['indx', 'name']
# element 'pack' as ['indx', 'name']
- # element 'sctr' as ['indx', 'name']
- # element 'sndf' as ['indx', 'name']
- # element 'stcs' as ['indx', 'name']
containers = container
--- 49,56 ----
***************
*** 74,85 ****
"""desktop-object - Desktop-object is the class of the \xd2desktop\xd3 object """
want = 'cdsk'
- class startup_disk(aetools.NProperty):
- """startup disk - the startup disk """
- which = 'sdsk'
- want = 'cdis'
- class trash(aetools.NProperty):
- """trash - the trash """
- which = 'trsh'
- want = 'ctrs'
# element 'alia' as ['indx', 'name']
# element 'appf' as ['indx', 'name', 'ID ']
--- 59,62 ----
***************
*** 89,103 ****
# element 'cobj' as ['indx', 'name']
# element 'ctnr' as ['indx', 'name']
- # element 'dafi' as ['indx', 'name']
# element 'docf' as ['indx', 'name']
- # element 'dsut' as ['indx', 'name']
# element 'file' as ['indx', 'name']
- # element 'fntf' as ['indx', 'name']
- # element 'fsut' as ['indx', 'name']
# element 'inlf' as ['indx', 'name']
# element 'pack' as ['indx', 'name']
- # element 'sctr' as ['indx', 'name']
- # element 'sndf' as ['indx', 'name']
- # element 'stcs' as ['indx', 'name']
class disk(aetools.ComponentItem):
--- 66,73 ----
***************
*** 107,119 ****
"""capacity - the total number of bytes (free or used) on the disk """
which = 'capa'
! want = 'long'
class ejectable(aetools.NProperty):
"""ejectable - Can the media be ejected (floppies, CD's, and so on)? """
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 a local volume (as opposed to a file server)? """
--- 77,97 ----
"""capacity - the total number of bytes (free or used) on the disk """
which = 'capa'
! want = 'comp'
class ejectable(aetools.NProperty):
"""ejectable - Can the media be ejected (floppies, CD's, and so on)? """
which = 'isej'
want = 'bool'
+ class format(aetools.NProperty):
+ """format - the filesystem format of this disk """
+ which = 'dfmt'
+ want = 'edfm'
class free_space(aetools.NProperty):
"""free space - the number of free bytes left on the disk """
which = 'frsp'
! want = 'comp'
! class ignore_privileges(aetools.NProperty):
! """ignore privileges - Ignore permissions on this disk? """
! which = 'igpr'
! want = 'bool'
class local_volume(aetools.NProperty):
"""local volume - Is the media a local volume (as opposed to a file server)? """
***************
*** 130,144 ****
# element 'cobj' as ['indx', 'name']
# element 'ctnr' as ['indx', 'name']
- # element 'dafi' as ['indx', 'name']
# element 'docf' as ['indx', 'name']
- # element 'dsut' as ['indx', 'name']
# element 'file' as ['indx', 'name']
- # element 'fntf' as ['indx', 'name']
- # element 'fsut' as ['indx', 'name']
# element 'inlf' as ['indx', 'name']
# element 'pack' as ['indx', 'name']
- # element 'sctr' as ['indx', 'name']
- # element 'sndf' as ['indx', 'name']
- # element 'stcs' as ['indx', 'name']
disks = disk
--- 108,115 ----
***************
*** 153,249 ****
# element 'cobj' as ['indx', 'name']
# element 'ctnr' as ['indx', 'name']
- # element 'dafi' as ['indx', 'name']
# element 'docf' as ['indx', 'name']
- # element 'dsut' as ['indx', 'name']
# element 'file' as ['indx', 'name']
- # element 'fntf' as ['indx', 'name']
- # element 'fsut' as ['indx', 'name']
# element 'inlf' as ['indx', 'name']
# element 'pack' as ['indx', 'name']
- # element 'sctr' as ['indx', 'name']
- # element 'sndf' as ['indx', 'name']
- # element 'stcs' as ['indx', 'name']
folders = folder
- class sharable_container(aetools.ComponentItem):
- """sharable container - A container that may be shared (disks and folders) """
- want = 'sctr'
- class exported(aetools.NProperty):
- """exported - Is the container a share point or inside a share point, i.e., can the container be shared? (file sharing must be on to use this property) """
- which = 'sexp'
- want = 'bool'
- class group(aetools.NProperty):
- """group - the user or group that has special access to the container (file sharing must be on to use this property) """
- which = 'sgrp'
- want = 'itxt'
- class group_privileges(aetools.NProperty):
- """group privileges - the see folders/see files/make changes privileges for the group (file sharing must be on to use this property) """
- which = 'gppr'
- want = 'priv'
- class guest_privileges(aetools.NProperty):
- """guest privileges - the see folders/see files/make changes privileges for everyone (file sharing must be on to use this property) """
- which = 'gstp'
- want = 'priv'
- class mounted(aetools.NProperty):
- """mounted - Is the container mounted on another machine's desktop? (file sharing must be on to use this property) """
- which = 'smou'
- want = 'bool'
- class owner(aetools.NProperty):
- """owner - the user that owns the container (file sharing must be on to use this property) """
- which = 'sown'
- want = 'itxt'
- class owner_privileges(aetools.NProperty):
- """owner privileges - the see folders/see files/make changes privileges for the owner (file sharing must be on to use this property) """
- which = 'ownr'
- want = 'priv'
- class privileges_inherited(aetools.NProperty):
- """privileges inherited - Are the privileges of the container always the same as the container in which it is stored? (file sharing must be on to use this property) """
- which = 'iprv'
- want = 'bool'
- class protected(aetools.NProperty):
- """protected - Is the container protected from being moved, renamed and deleted? (file sharing must be on to use this property) """
- which = 'spro'
- want = 'bool'
- class shared(aetools.NProperty):
- """shared - Is the container a share point, i.e., is the container currently being shared? (file sharing must be on to use this property) """
- which = 'shar'
- want = 'bool'
- # element 'alia' as ['indx', 'name']
- # element 'appf' as ['indx', 'name', 'ID ']
- # element 'cfol' as ['indx', 'name', 'ID ']
- # element 'clpf' as ['indx', 'name']
- # element 'cobj' as ['indx', 'name']
- # element 'ctnr' as ['indx', 'name']
- # element 'dafi' as ['indx', 'name']
- # element 'docf' as ['indx', 'name']
- # element 'dsut' as ['indx', 'name']
- # element 'file' as ['indx', 'name']
- # element 'fntf' as ['indx', 'name']
- # element 'fsut' as ['indx', 'name']
- # element 'inlf' as ['indx', 'name']
- # element 'pack' 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 (used in sharable containers) """
- want = 'priv'
- class make_changes(aetools.NProperty):
- """make changes - Can changes be made? """
- which = 'prvw'
- want = 'bool'
- class see_files(aetools.NProperty):
- """see files - Can files be seen? """
- which = 'prvr'
- want = 'bool'
- class see_folders(aetools.NProperty):
- """see folders - Can folders be seen? """
- which = 'prvs'
- want = 'bool'
-
class trash_2d_object(aetools.ComponentItem):
"""trash-object - Trash-object is the class of the \xd2trash\xd3 object """
--- 124,134 ----
***************
*** 259,423 ****
# element 'cobj' as ['indx', 'name']
# element 'ctnr' as ['indx', 'name']
- # element 'dafi' as ['indx', 'name']
# element 'docf' as ['indx', 'name']
- # element 'dsut' as ['indx', 'name']
# element 'file' as ['indx', 'name']
- # element 'fntf' as ['indx', 'name']
- # element 'fsut' as ['indx', 'name']
# element 'inlf' as ['indx', 'name']
# element 'pack' as ['indx', 'name']
! # element 'sctr' as ['indx', 'name']
! # element 'sndf' as ['indx', 'name']
! # element 'stcs' as ['indx', 'name']
! import Earlier_terms
container._superclassnames = ['item']
! import Files_and_suitcases
container._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
'completely_expanded' : completely_expanded,
'entire_contents' : entire_contents,
'expandable' : expandable,
'expanded' : expanded,
- 'icon_size' : icon_size,
- 'icon_size' : icon_size,
- 'selection' : selection,
- 'view_options_window' : view_options_window,
}
container._privelemdict = {
! 'accessory_suitcase' : Earlier_terms.accessory_suitcase,
! 'alias_file' : Files_and_suitcases.alias_file,
! 'application_file' : Earlier_terms.application_file,
! 'clipping' : Files_and_suitcases.clipping,
'container' : container,
! 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file,
! 'document_file' : Files_and_suitcases.document_file,
! 'file' : Files_and_suitcases.file,
'folder' : folder,
! 'font_file' : Files_and_suitcases.font_file,
! 'font_suitcase' : Files_and_suitcases.font_suitcase,
! 'internet_location' : Earlier_terms.internet_location,
! 'item' : Earlier_terms.item,
! 'package' : Files_and_suitcases.package,
! 'sharable_container' : sharable_container,
! 'sound_file' : Files_and_suitcases.sound_file,
! 'suitcase' : Files_and_suitcases.suitcase,
}
desktop_2d_object._superclassnames = ['container']
desktop_2d_object._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
- 'startup_disk' : startup_disk,
- 'trash' : trash,
}
desktop_2d_object._privelemdict = {
! 'accessory_suitcase' : Earlier_terms.accessory_suitcase,
! 'alias_file' : Files_and_suitcases.alias_file,
! 'application_file' : Earlier_terms.application_file,
! 'clipping' : Files_and_suitcases.clipping,
'container' : container,
- 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file,
'disk' : disk,
! 'document_file' : Files_and_suitcases.document_file,
! 'file' : Files_and_suitcases.file,
'folder' : folder,
! 'font_file' : Files_and_suitcases.font_file,
! 'font_suitcase' : Files_and_suitcases.font_suitcase,
! 'internet_location' : Earlier_terms.internet_location,
! 'item' : Earlier_terms.item,
! 'package' : Files_and_suitcases.package,
! 'sharable_container' : sharable_container,
! 'sound_file' : Files_and_suitcases.sound_file,
! 'suitcase' : Files_and_suitcases.suitcase,
}
! disk._superclassnames = ['sharable_container']
disk._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
'capacity' : capacity,
'ejectable' : ejectable,
'free_space' : free_space,
'local_volume' : local_volume,
'startup' : startup,
}
disk._privelemdict = {
! 'accessory_suitcase' : Earlier_terms.accessory_suitcase,
! 'alias_file' : Files_and_suitcases.alias_file,
! 'application_file' : Earlier_terms.application_file,
! 'clipping' : Files_and_suitcases.clipping,
'container' : container,
! 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file,
! 'document_file' : Files_and_suitcases.document_file,
! 'file' : Files_and_suitcases.file,
'folder' : folder,
! 'font_file' : Files_and_suitcases.font_file,
! 'font_suitcase' : Files_and_suitcases.font_suitcase,
! 'internet_location' : Earlier_terms.internet_location,
! 'item' : Earlier_terms.item,
! 'package' : Files_and_suitcases.package,
! 'sharable_container' : sharable_container,
! 'sound_file' : Files_and_suitcases.sound_file,
! 'suitcase' : Files_and_suitcases.suitcase,
}
! folder._superclassnames = ['sharable_container']
folder._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
}
folder._privelemdict = {
! 'accessory_suitcase' : Earlier_terms.accessory_suitcase,
! 'alias_file' : Files_and_suitcases.alias_file,
! 'application_file' : Earlier_terms.application_file,
! 'clipping' : Files_and_suitcases.clipping,
! 'container' : container,
! 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file,
! 'document_file' : Files_and_suitcases.document_file,
! 'file' : Files_and_suitcases.file,
! 'folder' : folder,
! 'font_file' : Files_and_suitcases.font_file,
! 'font_suitcase' : Files_and_suitcases.font_suitcase,
! 'internet_location' : Earlier_terms.internet_location,
! 'item' : Earlier_terms.item,
! 'package' : Files_and_suitcases.package,
! 'sharable_container' : sharable_container,
! 'sound_file' : Files_and_suitcases.sound_file,
! 'suitcase' : Files_and_suitcases.suitcase,
! }
! sharable_container._superclassnames = ['container']
! sharable_container._privpropdict = {
! '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
! 'exported' : exported,
! 'group' : group,
! 'group_privileges' : group_privileges,
! 'guest_privileges' : guest_privileges,
! 'mounted' : mounted,
! 'owner' : owner,
! 'owner_privileges' : owner_privileges,
! 'privileges_inherited' : privileges_inherited,
! 'protected' : protected,
! 'shared' : shared,
! }
! sharable_container._privelemdict = {
! 'accessory_suitcase' : Earlier_terms.accessory_suitcase,
! 'alias_file' : Files_and_suitcases.alias_file,
! 'application_file' : Earlier_terms.application_file,
! 'clipping' : Files_and_suitcases.clipping,
'container' : container,
! 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file,
! 'document_file' : Files_and_suitcases.document_file,
! 'file' : Files_and_suitcases.file,
'folder' : folder,
! 'font_file' : Files_and_suitcases.font_file,
! 'font_suitcase' : Files_and_suitcases.font_suitcase,
! 'internet_location' : Earlier_terms.internet_location,
! 'item' : Earlier_terms.item,
! 'package' : Files_and_suitcases.package,
! 'sharable_container' : sharable_container,
! 'sound_file' : Files_and_suitcases.sound_file,
! 'suitcase' : Files_and_suitcases.suitcase,
! }
! sharing_privileges._superclassnames = []
! sharing_privileges._privpropdict = {
! 'make_changes' : make_changes,
! 'see_files' : see_files,
! 'see_folders' : see_folders,
! }
! sharing_privileges._privelemdict = {
}
trash_2d_object._superclassnames = ['container']
--- 144,229 ----
# element 'cobj' as ['indx', 'name']
# element 'ctnr' as ['indx', 'name']
# element 'docf' as ['indx', 'name']
# element 'file' as ['indx', 'name']
# element 'inlf' as ['indx', 'name']
# element 'pack' as ['indx', 'name']
! import Finder_items
container._superclassnames = ['item']
! import Files
container._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
'completely_expanded' : completely_expanded,
+ 'container_window' : container_window,
'entire_contents' : entire_contents,
'expandable' : expandable,
'expanded' : expanded,
}
container._privelemdict = {
! 'alias_file' : Files.alias_file,
! 'application_file' : Files.application_file,
! 'clipping' : Files.clipping,
'container' : container,
! 'document_file' : Files.document_file,
! 'file' : Files.file,
'folder' : folder,
! 'internet_location_file' : Files.internet_location_file,
! 'item' : Finder_items.item,
! 'package' : Files.package,
}
desktop_2d_object._superclassnames = ['container']
desktop_2d_object._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
}
desktop_2d_object._privelemdict = {
! 'alias_file' : Files.alias_file,
! 'application_file' : Files.application_file,
! 'clipping' : Files.clipping,
'container' : container,
'disk' : disk,
! 'document_file' : Files.document_file,
! 'file' : Files.file,
'folder' : folder,
! 'internet_location_file' : Files.internet_location_file,
! 'item' : Finder_items.item,
! 'package' : Files.package,
}
! disk._superclassnames = ['container']
disk._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
'capacity' : capacity,
'ejectable' : ejectable,
+ 'format' : format,
'free_space' : free_space,
+ 'ignore_privileges' : ignore_privileges,
'local_volume' : local_volume,
'startup' : startup,
}
disk._privelemdict = {
! 'alias_file' : Files.alias_file,
! 'application_file' : Files.application_file,
! 'clipping' : Files.clipping,
'container' : container,
! 'document_file' : Files.document_file,
! 'file' : Files.file,
'folder' : folder,
! 'internet_location_file' : Files.internet_location_file,
! 'item' : Finder_items.item,
! 'package' : Files.package,
}
! folder._superclassnames = ['container']
folder._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
}
folder._privelemdict = {
! 'alias_file' : Files.alias_file,
! 'application_file' : Files.application_file,
! 'clipping' : Files.clipping,
'container' : container,
! 'document_file' : Files.document_file,
! 'file' : Files.file,
'folder' : folder,
! 'internet_location_file' : Files.internet_location_file,
! 'item' : Finder_items.item,
! 'package' : Files.package,
}
trash_2d_object._superclassnames = ['container']
***************
*** 427,447 ****
}
trash_2d_object._privelemdict = {
! 'accessory_suitcase' : Earlier_terms.accessory_suitcase,
! 'alias_file' : Files_and_suitcases.alias_file,
! 'application_file' : Earlier_terms.application_file,
! 'clipping' : Files_and_suitcases.clipping,
'container' : container,
! 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file,
! 'document_file' : Files_and_suitcases.document_file,
! 'file' : Files_and_suitcases.file,
'folder' : folder,
! 'font_file' : Files_and_suitcases.font_file,
! 'font_suitcase' : Files_and_suitcases.font_suitcase,
! 'internet_location' : Earlier_terms.internet_location,
! 'item' : Earlier_terms.item,
! 'package' : Files_and_suitcases.package,
! 'sharable_container' : sharable_container,
! 'sound_file' : Files_and_suitcases.sound_file,
! 'suitcase' : Files_and_suitcases.suitcase,
}
--- 233,246 ----
}
trash_2d_object._privelemdict = {
! 'alias_file' : Files.alias_file,
! 'application_file' : Files.application_file,
! 'clipping' : Files.clipping,
'container' : container,
! 'document_file' : Files.document_file,
! 'file' : Files.file,
'folder' : folder,
! 'internet_location_file' : Files.internet_location_file,
! 'item' : Finder_items.item,
! 'package' : Files.package,
}
***************
*** 455,460 ****
'ctnr' : container,
'ctrs' : trash_2d_object,
- 'priv' : sharing_privileges,
- 'sctr' : sharable_container,
}
--- 254,257 ----
***************
*** 462,491 ****
'c@#^' : _3c_Inheritance_3e_,
'capa' : capacity,
'ects' : entire_contents,
'frsp' : free_space,
! 'gppr' : group_privileges,
! 'gstp' : guest_privileges,
! 'iprv' : privileges_inherited,
'isej' : ejectable,
'isrv' : local_volume,
'istd' : startup,
- 'lvis' : icon_size,
- 'ownr' : owner_privileges,
'pexa' : expandable,
'pexc' : completely_expanded,
'pexp' : expanded,
- 'prvr' : see_files,
- 'prvs' : see_folders,
- 'prvw' : make_changes,
- 'sdsk' : startup_disk,
- 'sele' : selection,
- 'sexp' : exported,
- 'sgrp' : group,
- 'shar' : shared,
- 'smou' : mounted,
- 'sown' : owner,
- 'spro' : protected,
- 'trsh' : trash,
- 'vwnd' : view_options_window,
'warn' : warns_before_emptying,
}
--- 259,273 ----
'c@#^' : _3c_Inheritance_3e_,
'capa' : capacity,
+ 'cwnd' : container_window,
+ 'dfmt' : format,
'ects' : entire_contents,
'frsp' : free_space,
! 'igpr' : ignore_privileges,
'isej' : ejectable,
'isrv' : local_volume,
'istd' : startup,
'pexa' : expandable,
'pexc' : completely_expanded,
'pexp' : expanded,
'warn' : warns_before_emptying,
}
Index: Enumerations.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/Finder/Enumerations.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** Enumerations.py 28 Mar 2003 23:37:56 -0000 1.4
--- Enumerations.py 29 Mar 2003 00:13:13 -0000 1.5
***************
*** 2,6 ****
Level 1, version 1
! Generated from /Volumes/Moes/Systeemmap/Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
--- 2,6 ----
Level 1, version 1
! Generated from /System/Library/CoreServices/Finder.app
AETE/AEUT resource version 0/144, language 0, script 0
"""
***************
*** 27,48 ****
}
! _Enum_ese0 = {
! 'starting_up' : 'ese2', #
! 'running' : 'ese3', #
! 'rebuilding_desktop' : 'ese5', #
! 'copying' : 'ese4', #
! 'restarting' : 'ese6', #
! 'quitting' : 'ese7', #
}
! _Enum_gsen = {
! 'CPU' : 'proc', #
! 'FPU' : 'fpu ', #
! 'MMU' : 'mmu ', #
! 'hardware' : 'hdwr', #
! 'operating_system' : 'os ', #
! 'sound_system' : 'snd ', #
! 'memory_available' : 'lram', #
! 'memory_installed' : 'ram ', #
}
--- 27,65 ----
}
! _Enum_ecvw = {
! 'icon_view' : 'icnv', #
! 'list_view' : 'lsvw', #
! 'column_view' : 'clvw', #
}
! _Enum_edfm = {
! 'Mac_OS_format' : 'dfhf', #
! 'Mac_OS_Extended_format' : 'dfh+', #
! 'UFS_format' : 'dfuf', #
! 'NFS_format' : 'dfnf', #
! 'audio_format' : 'dfau', #
! 'ProDOS_format' : 'dfpr', #
! 'MS_2d_DOS_format' : 'dfms', #
! 'ISO_9660_format' : 'df96', #
! 'High_Sierra_format' : 'dfhs', #
! 'QuickTake_format' : 'dfqt', #
! 'Apple_Photo_format' : 'dfph', #
! 'AppleShare_format' : 'dfas', #
! 'UDF_format' : 'dfud', #
! 'WebDAV_format' : 'dfwd', #
! 'FTP_format' : 'dfft', #
! 'Packet_2d_written_UDF_format' : 'dfpu', #
! 'unknown_format' : 'df??', #
! }
!
! _Enum_elsv = {
! 'name_column' : 'elsn', #
! 'modification_date_column' : 'elsm', #
! 'creation_date_column' : 'elsc', #
! 'size_column' : 'elss', #
! 'kind_column' : 'elsk', #
! 'label_column' : 'elsl', #
! 'version_column' : 'elsv', #
! 'comment_column' : 'elsC', #
}
***************
*** 51,56 ****
'Sharing_panel' : 'spnl', #
'Memory_panel' : 'mpnl', #
! 'Status_and_Configuration_panel' : 'scnl', #
! 'Fonts_panel' : 'fpnl', #
}
--- 68,78 ----
'Sharing_panel' : 'spnl', #
'Memory_panel' : 'mpnl', #
! 'Preview_panel' : 'vpnl', #
! 'Application_panel' : 'apnl', #
! 'Languages_panel' : 'pklg', #
! 'Plugins_panel' : 'pkpg', #
! 'Name__26__Extension_panel' : 'npnl', #
! 'Comments_panel' : 'cpnl', #
! 'Content_Index_panel' : 'cinl', #
}
***************
*** 61,70 ****
}
! _Enum_pple = {
! 'General_Preferences_panel' : 'pgnp', #
! 'Label_Preferences_panel' : 'plbp', #
! 'Icon_View_Preferences_panel' : 'pivp', #
! 'Button_View_Preferences_panel' : 'pbvp', #
! 'List_View_Preferences_panel' : 'plvp', #
}
--- 83,96 ----
}
! _Enum_lvic = {
! 'small_icon' : 'smic', #
! 'large_icon' : 'lgic', #
! }
!
! _Enum_priv = {
! 'read_only' : 'read', #
! 'read_write' : 'rdwr', #
! 'write_only' : 'writ', #
! 'none' : 'none', #
}
***************
*** 108,116 ****
_enumdeclarations = {
'earr' : _Enum_earr,
! 'ese0' : _Enum_ese0,
! 'gsen' : _Enum_gsen,
'ipnl' : _Enum_ipnl,
'isiz' : _Enum_isiz,
! 'pple' : _Enum_pple,
'sodr' : _Enum_sodr,
'vwby' : _Enum_vwby,
--- 134,144 ----
_enumdeclarations = {
'earr' : _Enum_earr,
! 'ecvw' : _Enum_ecvw,
! 'edfm' : _Enum_edfm,
! 'elsv' : _Enum_elsv,
'ipnl' : _Enum_ipnl,
'isiz' : _Enum_isiz,
! 'lvic' : _Enum_lvic,
! 'priv' : _Enum_priv,
'sodr' : _Enum_sodr,
'vwby' : _Enum_vwby,
Index: Finder_Basics.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/Finder/Finder_Basics.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Finder_Basics.py 28 Mar 2003 23:37:56 -0000 1.3
--- Finder_Basics.py 29 Mar 2003 00:13:14 -0000 1.4
***************
*** 2,6 ****
Level 1, version 1
! Generated from /Volumes/Moes/Systeemmap/Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
--- 2,6 ----
Level 1, version 1
! Generated from /System/Library/CoreServices/Finder.app
AETE/AEUT resource version 0/144, language 0, script 0
"""
***************
*** 13,44 ****
class Finder_Basics_Events:
- _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.get('errn', 0):
- raise aetools.Error, aetools.decodeerror(_arguments)
- # XXXX Optionally decode result
- if _arguments.has_key('----'):
- return _arguments['----']
-
def copy(self, _no_object=None, _attributes={}, **_arguments):
! """copy: Copy the selected items to the clipboard (the Finder must be the front application)
Keyword argument _attributes: AppleEvent attribute dictionary
"""
--- 13,18 ----
class Finder_Basics_Events:
def copy(self, _no_object=None, _attributes={}, **_arguments):
! """copy: (NOT AVAILABLE YET) Copy the selected items to the clipboard (the Finder must be the front application)
Keyword argument _attributes: AppleEvent attribute dictionary
"""
***************
*** 58,118 ****
return _arguments['----']
- def restart(self, _no_object=None, _attributes={}, **_arguments):
- """restart: Restart the computer
- 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.get('errn', 0):
- 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 computer
- 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.get('errn', 0):
- 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: Put the computer to sleep
- Keyword argument _attributes: AppleEvent attribute dictionary
- """
- _code = 'fndr'
- _subcode = 'slep'
-
- 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.get('errn', 0):
- raise aetools.Error, aetools.decodeerror(_arguments)
- # XXXX Optionally decode result
- if _arguments.has_key('----'):
- return _arguments['----']
-
_argmap_sort = {
'by' : 'by ',
--- 32,35 ----
***************
*** 120,124 ****
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 (name, index, date, etc.)
--- 37,41 ----
def sort(self, _object, _attributes={}, **_arguments):
! """sort: (NOT AVAILABLE YET) 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 (name, index, date, etc.)
***************
*** 146,158 ****
want = 'capp'
class Finder_preferences(aetools.NProperty):
! """Finder preferences - Various preferences that apply to the Finder as a whole """
which = 'pfrp'
want = 'cprf'
- class about_this_computer(aetools.NProperty):
- """about this computer - the \xd2About this Computer\xd3 dialog and the list of running processes displayed in it """
- which = 'abbx'
- want = 'obj '
class clipboard(aetools.NProperty):
! """clipboard - the Finder\xd5s clipboard window """
which = 'pcli'
want = 'obj '
--- 63,71 ----
want = 'capp'
class Finder_preferences(aetools.NProperty):
! """Finder preferences - (NOT AVAILABLE YET) Various preferences that apply to the Finder as a whole """
which = 'pfrp'
want = 'cprf'
class clipboard(aetools.NProperty):
! """clipboard - (NOT AVAILABLE YET) the Finder\xd5s clipboard window """
which = 'pcli'
want = 'obj '
***************
*** 161,184 ****
which = 'desk'
want = 'cdsk'
- class execution_state(aetools.NProperty):
- """execution state - the current execution state of the Finder """
- which = 'exec'
- want = 'ese0'
- class file_sharing(aetools.NProperty):
- """file sharing - Is file sharing on? """
- which = 'fshr'
- want = 'bool'
class frontmost(aetools.NProperty):
"""frontmost - Is the Finder the frontmost process? """
which = 'pisf'
want = 'bool'
class insertion_location(aetools.NProperty):
"""insertion location - the container in which a new folder would appear if \xd2New Folder\xd3 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 name(aetools.NProperty):
"""name - the Finder\xd5s name """
--- 74,89 ----
which = 'desk'
want = 'cdsk'
class frontmost(aetools.NProperty):
"""frontmost - Is the Finder the frontmost process? """
which = 'pisf'
want = 'bool'
+ class home(aetools.NProperty):
+ """home - the home directory """
+ which = 'home'
+ want = 'cfol'
class insertion_location(aetools.NProperty):
"""insertion location - the container in which a new folder would appear if \xd2New Folder\xd3 was selected """
which = 'pins'
want = 'obj '
class name(aetools.NProperty):
"""name - the Finder\xd5s name """
***************
*** 188,204 ****
"""product version - the version of the System software running on this computer """
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? """
! which = 'fsup'
! want = 'bool'
class version(aetools.NProperty):
"""version - the version of the Finder """
which = 'vers'
! want = 'itxt'
class visible(aetools.NProperty):
"""visible - Is the Finder\xd5s layer visible? """
--- 93,113 ----
"""product version - the version of the System software running on this computer """
which = 'ver2'
! want = 'utxt'
class selection(aetools.NProperty):
! """selection - the selection in the frontmost Finder window """
which = 'sele'
want = 'obj '
! class startup_disk(aetools.NProperty):
! """startup disk - the startup disk """
! which = 'sdsk'
! want = 'cdis'
! class trash(aetools.NProperty):
! """trash - the trash """
! which = 'trsh'
! want = 'ctrs'
class version(aetools.NProperty):
"""version - the version of the Finder """
which = 'vers'
! want = 'utxt'
class visible(aetools.NProperty):
"""visible - Is the Finder\xd5s layer visible? """
***************
*** 207,340 ****
# element 'alia' as ['indx', 'name']
# element 'appf' as ['indx', 'name', 'ID ']
# element 'cdis' as ['indx', 'name', 'ID ']
# element 'cfol' as ['indx', 'name', 'ID ']
# element 'clpf' as ['indx', 'name']
! # element 'cobj' as ['indx', 'name']
# element 'ctnr' as ['indx', 'name']
# element 'cwin' as ['indx', 'name']
- # element 'cwnd' as ['indx', 'name']
- # element 'dafi' as ['indx', 'name']
# element 'docf' as ['indx', 'name']
- # element 'dsut' as ['indx', 'name']
- # element 'dwnd' as ['indx', 'name']
# element 'file' as ['indx', 'name']
- # element 'fntf' as ['indx', 'name']
- # element 'fsut' as ['indx', 'name']
# element 'inlf' as ['indx', 'name']
- # element 'iwnd' as ['indx', 'name']
# element 'lwnd' as ['indx', 'name']
# element 'pack' as ['indx', 'name']
- # element 'pcap' as ['indx', 'name']
- # element 'pcda' as ['indx', 'name']
- # element 'prcs' as ['indx', 'name']
- # element 'sctr' as ['indx', 'name']
- # element 'sndf' as ['indx', 'name']
- # element 'stcs' as ['indx', 'name']
- # element 'vwnd' as ['indx', 'name']
-
- class special_folders(aetools.ComponentItem):
- """special folders - The special folders used by the Mac OS """
- want = 'spfl'
- class apple_menu_items_folder(aetools.NProperty):
- """apple menu items folder - the special folder named \xd2Apple Menu Items,\xd3 the contents of which appear in the Apple menu """
- which = 'amnu'
- want = 'obj '
- class control_panels_folder(aetools.NProperty):
- """control panels folder - the special folder named \xd2Control Panels\xd3 """
- which = 'ctrl'
- want = 'obj '
- class extensions_folder(aetools.NProperty):
- """extensions folder - the special folder named \xd2Extensions\xd3 """
- which = 'extn'
- want = 'obj '
- class fonts_folder(aetools.NProperty):
- """fonts folder - the special folder named \xd2Fonts\xd3 """
- which = 'font'
- want = 'obj '
- class preferences_folder(aetools.NProperty):
- """preferences folder - the special folder named \xd2Preferences\xd3 """
- which = 'pref'
- want = 'obj '
- class shutdown_items_folder(aetools.NProperty):
- """shutdown items folder - the special folder named \xd2Shutdown Items\xd3 """
- which = 'shdf'
- want = 'obj '
- class startup_items_folder(aetools.NProperty):
- """startup items folder - the special folder named \xd2Startup Items\xd3 """
- 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 named \xd2Temporary Items\xd3 (invisible) """
- which = 'temp'
- want = 'obj '
application._superclassnames = []
! import Files_and_suitcases
! import Containers_and_folders
! import Earlier_terms
import Window_classes
! import Process_classes
application._privpropdict = {
'Finder_preferences' : Finder_preferences,
- 'about_this_computer' : about_this_computer,
'clipboard' : clipboard,
'desktop' : desktop,
- 'execution_state' : execution_state,
- 'file_sharing' : file_sharing,
'frontmost' : frontmost,
'insertion_location' : insertion_location,
- 'largest_free_block' : largest_free_block,
'name' : name,
'product_version' : product_version,
'selection' : selection,
! 'sharing_starting_up' : sharing_starting_up,
'version' : version,
'visible' : visible,
}
application._privelemdict = {
! 'accessory_process' : Earlier_terms.accessory_process,
! 'alias_file' : Files_and_suitcases.alias_file,
! 'application_file' : Files_and_suitcases.application_file,
! 'application_process' : Process_classes.application_process,
! 'clipping' : Files_and_suitcases.clipping,
'clipping_window' : Window_classes.clipping_window,
'container' : Containers_and_folders.container,
- 'container_window' : Earlier_terms.container_window,
- 'content_space' : Window_classes.content_space,
- 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file,
- 'desk_accessory_suitcase' : Files_and_suitcases.desk_accessory_suitcase,
'disk' : Containers_and_folders.disk,
! 'document_file' : Files_and_suitcases.document_file,
! 'file' : Files_and_suitcases.file,
'folder' : Containers_and_folders.folder,
! 'font_file' : Files_and_suitcases.font_file,
! 'font_suitcase' : Files_and_suitcases.font_suitcase,
! 'information_window' : Earlier_terms.information_window,
! 'internet_location_file' : Files_and_suitcases.internet_location_file,
! 'item' : Earlier_terms.item,
! 'package' : Files_and_suitcases.package,
! 'process' : Earlier_terms.process,
! 'sharable_container' : Containers_and_folders.sharable_container,
! 'sound_file' : Files_and_suitcases.sound_file,
! 'suitcase' : Files_and_suitcases.suitcase,
! 'view_options_window' : Window_classes.view_options_window,
! 'window' : Earlier_terms.window,
! }
! special_folders._superclassnames = []
! special_folders._privpropdict = {
! 'apple_menu_items_folder' : apple_menu_items_folder,
! 'control_panels_folder' : control_panels_folder,
! 'extensions_folder' : extensions_folder,
! 'fonts_folder' : fonts_folder,
! 'preferences_folder' : preferences_folder,
! 'shutdown_items_folder' : shutdown_items_folder,
! 'startup_items_folder' : startup_items_folder,
! 'system_folder' : system_folder,
! 'temporary_items_folder' : temporary_items_folder,
! }
! special_folders._privelemdict = {
}
--- 116,166 ----
# element 'alia' as ['indx', 'name']
# element 'appf' as ['indx', 'name', 'ID ']
+ # element 'brow' as ['indx', 'ID ']
# element 'cdis' as ['indx', 'name', 'ID ']
# element 'cfol' as ['indx', 'name', 'ID ']
# element 'clpf' as ['indx', 'name']
! # element 'cobj' as ['indx', 'rele', 'name', 'rang', 'test']
# element 'ctnr' as ['indx', 'name']
# element 'cwin' as ['indx', 'name']
# element 'docf' as ['indx', 'name']
# element 'file' as ['indx', 'name']
# element 'inlf' as ['indx', 'name']
# element 'lwnd' as ['indx', 'name']
# element 'pack' as ['indx', 'name']
application._superclassnames = []
! import Files
import Window_classes
! import Containers_and_folders
! import Finder_items
application._privpropdict = {
'Finder_preferences' : Finder_preferences,
'clipboard' : clipboard,
'desktop' : desktop,
'frontmost' : frontmost,
+ 'home' : home,
'insertion_location' : insertion_location,
'name' : name,
'product_version' : product_version,
'selection' : selection,
! 'startup_disk' : startup_disk,
! 'trash' : trash,
'version' : version,
'visible' : visible,
}
application._privelemdict = {
! 'Finder_window' : Window_classes.Finder_window,
! 'alias_file' : Files.alias_file,
! 'application_file' : Files.application_file,
! 'clipping' : Files.clipping,
'clipping_window' : Window_classes.clipping_window,
'container' : Containers_and_folders.container,
'disk' : Containers_and_folders.disk,
! 'document_file' : Files.document_file,
! 'file' : Files.file,
'folder' : Containers_and_folders.folder,
! 'internet_location_file' : Files.internet_location_file,
! 'item' : Finder_items.item,
! 'package' : Files.package,
! 'window' : Window_classes.window,
}
***************
*** 344,362 ****
_classdeclarations = {
'capp' : application,
- 'spfl' : special_folders,
}
_propdeclarations = {
- 'abbx' : about_this_computer,
- 'amnu' : apple_menu_items_folder,
- 'ctrl' : control_panels_folder,
'desk' : desktop,
! 'exec' : execution_state,
! 'extn' : extensions_folder,
! 'font' : fonts_folder,
! 'fshr' : file_sharing,
! 'fsup' : sharing_starting_up,
! 'macs' : system_folder,
! 'mfre' : largest_free_block,
'pcli' : clipboard,
'pfrp' : Finder_preferences,
--- 170,178 ----
_classdeclarations = {
'capp' : application,
}
_propdeclarations = {
'desk' : desktop,
! 'home' : home,
'pcli' : clipboard,
'pfrp' : Finder_preferences,
***************
*** 364,373 ****
'pisf' : frontmost,
'pnam' : name,
- 'pref' : preferences_folder,
'pvis' : visible,
'sele' : selection,
! 'shdf' : shutdown_items_folder,
! 'strt' : startup_items_folder,
! 'temp' : temporary_items_folder,
'ver2' : product_version,
'vers' : version,
--- 180,187 ----
'pisf' : frontmost,
'pnam' : name,
'pvis' : visible,
+ 'sdsk' : startup_disk,
'sele' : selection,
! 'trsh' : trash,
'ver2' : product_version,
'vers' : version,
Index: Finder_items.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/Finder/Finder_items.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Finder_items.py 28 Mar 2003 23:37:56 -0000 1.3
--- Finder_items.py 29 Mar 2003 00:13:14 -0000 1.4
***************
*** 2,6 ****
Level 1, version 1
! Generated from /Volumes/Moes/Systeemmap/Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
--- 2,6 ----
Level 1, version 1
! Generated from /System/Library/CoreServices/Finder.app
AETE/AEUT resource version 0/144, language 0, script 0
"""
***************
*** 14,18 ****
def add_to_favorites(self, _object, _attributes={}, **_arguments):
! """add to favorites: Add the items to the Favorites menu in the Apple Menu and in Open and Save dialogs
Required argument: the items to add to the collection of Favorites
Keyword argument _attributes: AppleEvent attribute dictionary
--- 14,18 ----
def add_to_favorites(self, _object, _attributes={}, **_arguments):
! """add to favorites: (NOT AVAILABLE YET) Add the items to the user\xd5s Favorites
Required argument: the items to add to the collection of Favorites
Keyword argument _attributes: AppleEvent attribute dictionary
***************
*** 38,42 ****
def clean_up(self, _object, _attributes={}, **_arguments):
! """clean up: Arrange items in window nicely (only applies to open windows in icon or button views that are not kept arranged)
Required argument: the window to clean up
Keyword argument by: the order in which to clean up the objects (name, index, date, etc.)
--- 38,42 ----
def clean_up(self, _object, _attributes={}, **_arguments):
! """clean up: (NOT AVAILABLE YET) Arrange items in window nicely (only applies to open windows in icon view that are not kept arranged)
Required argument: the window to clean up
Keyword argument by: the order in which to clean up the objects (name, index, date, etc.)
***************
*** 59,64 ****
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
"""
--- 59,64 ----
def eject(self, _object=None, _attributes={}, **_arguments):
! """eject: Eject the specified disk(s)
! Required argument: the disk(s) to eject
Keyword argument _attributes: AppleEvent attribute dictionary
"""
***************
*** 99,103 ****
def erase(self, _object, _attributes={}, **_arguments):
! """erase: Erase the specified disk(s)
Required argument: the items to erase
Keyword argument _attributes: AppleEvent attribute dictionary
--- 99,103 ----
def erase(self, _object, _attributes={}, **_arguments):
! """erase: (NOT AVAILABLE) Erase the specified disk(s)
Required argument: the items to erase
Keyword argument _attributes: AppleEvent attribute dictionary
***************
*** 118,148 ****
return _arguments['----']
- _argmap_put_away = {
- 'asking' : 'fask',
- }
-
- def put_away(self, _object, _attributes={}, **_arguments):
- """put away: Put away the specified object(s)
- Required argument: the items to put away
- Keyword argument asking: Specifies whether or not to present a dialog to confirm putting this item away.
- 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
-
- aetools.enumsubst(_arguments, 'fask', _Enum_bool)
-
- _reply, _arguments, _attributes = self.send(_code, _subcode,
- _arguments, _attributes)
- if _arguments.get('errn', 0):
- 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
--- 118,121 ----
***************
*** 165,171 ****
--- 138,151 ----
return _arguments['----']
+ _argmap_update = {
+ 'necessity' : 'nec?',
+ 'registering_applications' : 'reg?',
+ }
+
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 necessity: only update if necessary (i.e. a finder window is open). default is false
+ Keyword argument registering_applications: register applications. default is true
Keyword argument _attributes: AppleEvent attribute dictionary
"""
***************
*** 173,177 ****
_subcode = 'fupd'
! if _arguments: raise TypeError, 'No optional args expected'
_arguments['----'] = _object
--- 153,157 ----
_subcode = 'fupd'
! aetools.keysubst(_arguments, self._argmap_update)
_arguments['----'] = _object
***************
*** 196,208 ****
"""comment - the comment of the item, displayed in the \xd2Get Info\xd3 window """
which = 'comt'
! want = 'itxt'
class container(aetools.NProperty):
"""container - the container of the item """
which = 'ctnr'
want = 'obj '
- class content_space(aetools.NProperty):
- """content space - the window that would open if the item was opened """
- which = 'dwnd'
- want = 'obj '
class creation_date(aetools.NProperty):
"""creation date - the date on which the item was created """
--- 176,184 ----
"""comment - the comment of the item, displayed in the \xd2Get Info\xd3 window """
which = 'comt'
! want = 'utxt'
class container(aetools.NProperty):
"""container - the container of the item """
which = 'ctnr'
want = 'obj '
class creation_date(aetools.NProperty):
"""creation date - the date on which the item was created """
***************
*** 212,232 ****
"""description - a description of the item """
which = 'dscr'
! want = 'itxt'
class disk(aetools.NProperty):
"""disk - the disk on which the item is stored """
which = 'cdis'
want = 'obj '
! class folder(aetools.NProperty):
! """folder - the folder in which the item is stored """
! which = 'asdr'
! want = 'obj '
class icon(aetools.NProperty):
"""icon - the icon bitmap of the item """
which = 'iimg'
want = 'ifam'
- class id(aetools.NProperty):
- """id - an id that identifies the item """
- which = 'ID '
- want = 'long'
class index(aetools.NProperty):
"""index - the index in the front-to-back ordering within its container """
--- 188,220 ----
"""description - a description of the item """
which = 'dscr'
! want = 'utxt'
class disk(aetools.NProperty):
"""disk - the disk on which the item is stored """
which = 'cdis'
want = 'obj '
! class displayed_name(aetools.NProperty):
! """displayed name - the user-visible name of the item """
! which = 'dnam'
! want = 'utxt'
! class everyones_privileges(aetools.NProperty):
! """everyones privileges - """
! which = 'gstp'
! want = 'priv'
! class extension_hidden(aetools.NProperty):
! """extension hidden - Is the item's extension hidden from the user? """
! which = 'hidx'
! want = 'bool'
! class group(aetools.NProperty):
! """group - the user or group that has special access to the container """
! which = 'sgrp'
! want = 'utxt'
! class group_privileges(aetools.NProperty):
! """group privileges - """
! which = 'gppr'
! want = 'priv'
class icon(aetools.NProperty):
"""icon - the icon bitmap of the item """
which = 'iimg'
want = 'ifam'
class index(aetools.NProperty):
"""index - the index in the front-to-back ordering within its container """
***************
*** 240,248 ****
"""kind - the kind of the item """
which = 'kind'
! want = 'itxt'
class label_index(aetools.NProperty):
"""label index - the label of the item """
which = 'labi'
want = 'long'
class modification_date(aetools.NProperty):
"""modification date - the date on which the item was last modified """
--- 228,240 ----
"""kind - the kind of the item """
which = 'kind'
! want = 'utxt'
class label_index(aetools.NProperty):
"""label index - the label of the item """
which = 'labi'
want = 'long'
+ class locked(aetools.NProperty):
+ """locked - Is the file locked? """
+ which = 'aslk'
+ want = 'bool'
class modification_date(aetools.NProperty):
"""modification date - the date on which the item was last modified """
***************
*** 252,276 ****
"""name - the name of the item """
which = 'pnam'
! want = 'itxt'
class physical_size(aetools.NProperty):
"""physical size - the actual space used by the item on disk """
which = 'phys'
! want = 'long'
class position(aetools.NProperty):
"""position - the position of the item within its parent window (can only be set for an item in a window viewed as icons or buttons) """
which = 'posn'
want = 'QDpt'
! class selected(aetools.NProperty):
! """selected - Is the item selected? """
! which = 'issl'
! want = 'bool'
class size(aetools.NProperty):
"""size - the logical size of the item """
which = 'ptsz'
! want = 'long'
! class window(aetools.NProperty):
! """window - the window that would open if the item was opened """
! which = 'cwin'
! want = 'obj '
items = item
--- 244,280 ----
"""name - the name of the item """
which = 'pnam'
! want = 'utxt'
! class name_extension(aetools.NProperty):
! """name extension - the name extension of the item (such as \xd2txt\xd3) """
! which = 'nmxt'
! want = 'utxt'
! class owner(aetools.NProperty):
! """owner - the user that owns the container """
! which = 'sown'
! want = 'utxt'
! class owner_privileges(aetools.NProperty):
! """owner privileges - """
! which = 'ownr'
! want = 'priv'
class physical_size(aetools.NProperty):
"""physical size - the actual space used by the item on disk """
which = 'phys'
! want = 'comp'
class position(aetools.NProperty):
"""position - the position of the item within its parent window (can only be set for an item in a window viewed as icons or buttons) """
which = 'posn'
want = 'QDpt'
! class properties(aetools.NProperty):
! """properties - every property of an item """
! which = 'pALL'
! want = 'reco'
class size(aetools.NProperty):
"""size - the logical size of the item """
which = 'ptsz'
! want = 'comp'
! class url(aetools.NProperty):
! """url - the url of the item """
! which = 'pURL'
! want = 'utxt'
items = item
***************
*** 280,305 ****
'comment' : comment,
'container' : container,
- 'content_space' : content_space,
'creation_date' : creation_date,
'description' : description,
'disk' : disk,
! 'folder' : folder,
'icon' : icon,
- 'id' : id,
'index' : index,
'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._privelemdict = {
}
- _Enum_bool = None # XXXX enum bool not found!!
#
--- 284,314 ----
'comment' : comment,
'container' : container,
'creation_date' : creation_date,
'description' : description,
'disk' : disk,
! 'displayed_name' : displayed_name,
! 'everyones_privileges' : everyones_privileges,
! 'extension_hidden' : extension_hidden,
! 'group' : group,
! 'group_privileges' : group_privileges,
'icon' : icon,
'index' : index,
'information_window' : information_window,
'kind' : kind,
'label_index' : label_index,
+ 'locked' : locked,
'modification_date' : modification_date,
'name' : name,
+ 'name_extension' : name_extension,
+ 'owner' : owner,
+ 'owner_privileges' : owner_privileges,
'physical_size' : physical_size,
'position' : position,
! 'properties' : properties,
'size' : size,
! 'url' : url,
}
item._privelemdict = {
}
#
***************
*** 311,329 ****
_propdeclarations = {
- 'ID ' : id,
'ascd' : creation_date,
! 'asdr' : folder,
'asmo' : modification_date,
'cdis' : disk,
'comt' : comment,
'ctnr' : container,
! 'cwin' : window,
'dscr' : description,
! 'dwnd' : content_space,
'iimg' : icon,
- 'issl' : selected,
'iwnd' : information_window,
'kind' : kind,
'labi' : label_index,
'pbnd' : bounds,
'phys' : physical_size,
--- 320,342 ----
_propdeclarations = {
'ascd' : creation_date,
! 'aslk' : locked,
'asmo' : modification_date,
'cdis' : disk,
'comt' : comment,
'ctnr' : container,
! 'dnam' : displayed_name,
'dscr' : description,
! 'gppr' : group_privileges,
! 'gstp' : everyones_privileges,
! 'hidx' : extension_hidden,
'iimg' : icon,
'iwnd' : information_window,
'kind' : kind,
'labi' : label_index,
+ 'nmxt' : name_extension,
+ 'ownr' : owner_privileges,
+ 'pALL' : properties,
+ 'pURL' : url,
'pbnd' : bounds,
'phys' : physical_size,
***************
*** 332,335 ****
--- 345,350 ----
'posn' : position,
'ptsz' : size,
+ 'sgrp' : group,
+ 'sown' : owner,
}
Index: Standard_Suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/Finder/Standard_Suite.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Standard_Suite.py 28 Mar 2003 22:07:18 -0000 1.3
--- Standard_Suite.py 29 Mar 2003 00:13:14 -0000 1.4
***************
*** 2,6 ****
Level 1, version 1
! Generated from /Volumes/Moes/Systeemmap/Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
--- 2,6 ----
Level 1, version 1
! Generated from /System/Library/CoreServices/Finder.app
AETE/AEUT resource version 0/144, language 0, script 0
"""
***************
*** 171,175 ****
Keyword argument new: the class of the new element
Keyword argument at: the location at which to insert the element
! Keyword argument to: when creating an alias file, the original item to create an alias to
Keyword argument with_properties: the initial values for the properties of the element
Keyword argument _attributes: AppleEvent attribute dictionary
--- 171,175 ----
Keyword argument new: the class of the new element
Keyword argument at: the location at which to insert the element
! Keyword argument to: when creating an alias file, the original item to create an alias to or when creating a file viewer window, the target of the window
Keyword argument with_properties: the initial values for the properties of the element
Keyword argument _attributes: AppleEvent attribute dictionary
Index: Type_Definitions.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/Finder/Type_Definitions.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** Type_Definitions.py 28 Mar 2003 23:37:56 -0000 1.4
--- Type_Definitions.py 29 Mar 2003 00:13:14 -0000 1.5
***************
*** 2,6 ****
Level 1, version 1
! Generated from /Volumes/Moes/Systeemmap/Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
--- 2,6 ----
Level 1, version 1
! Generated from /System/Library/CoreServices/Finder.app
AETE/AEUT resource version 0/144, language 0, script 0
"""
***************
*** 20,25 ****
want = 'alst'
class icon_family(aetools.ComponentItem):
! """icon family - A family of icons """
want = 'ifam'
class large_32_bit_icon(aetools.NProperty):
--- 20,51 ----
want = 'alst'
+ class column(aetools.ComponentItem):
+ """column - a column of a list view """
+ want = 'lvcl'
+ class index(aetools.NProperty):
+ """index - the index in the front-to-back ordering within its container """
+ which = 'pidx'
+ want = 'long'
+ class name(aetools.NProperty):
+ """name - the column name """
+ which = 'pnam'
+ want = 'elsv'
+ class sort_direction(aetools.NProperty):
+ """sort direction - The direction in which the window is sorted """
+ which = 'sord'
+ want = 'sodr'
+ class visible(aetools.NProperty):
+ """visible - is this column visible """
+ which = 'pvis'
+ want = 'bool'
+ class width(aetools.NProperty):
+ """width - the width of this column """
+ which = 'clwd'
+ want = 'shor'
+
+ columns = column
+
class icon_family(aetools.ComponentItem):
! """icon family - (NOT AVAILABLE YET) A family of icons """
want = 'ifam'
class large_32_bit_icon(aetools.NProperty):
***************
*** 62,67 ****
want = 'ics#'
class label(aetools.ComponentItem):
! """label - A Finder label (name and color) """
want = 'clbl'
class color(aetools.NProperty):
--- 88,105 ----
want = 'ics#'
+ class icon_view_options(aetools.ComponentItem):
+ """icon view options - the icon view options """
+ want = 'icop'
+ class arrangement(aetools.NProperty):
+ """arrangement - the property by which to keep icons arranged """
+ which = 'iarr'
+ want = 'earr'
+ class icon_size(aetools.NProperty):
+ """icon size - the size of icons displayed in the icon view """
+ which = 'lvis'
+ want = 'shor'
+
class label(aetools.ComponentItem):
! """label - (NOT AVAILABLE YET) A Finder label (name and color) """
want = 'clbl'
class color(aetools.NProperty):
***************
*** 69,83 ****
which = 'colr'
want = 'cRGB'
! class index(aetools.NProperty):
! """index - the index in the front-to-back ordering within its container """
! which = 'pidx'
! want = 'long'
! class name(aetools.NProperty):
! """name - the name associated with the label """
! which = 'pnam'
! want = 'itxt'
class preferences(aetools.ComponentItem):
! """preferences - The Finder Preferences """
want = 'cprf'
class button_view_arrangement(aetools.NProperty):
--- 107,130 ----
which = 'colr'
want = 'cRGB'
!
! class list_view_options(aetools.ComponentItem):
! """list view options - the list view options """
! want = 'lvop'
! class calculates_folder_sizes(aetools.NProperty):
! """calculates folder sizes - Are folder sizes calculated and displayed in the window? """
! which = 'sfsz'
! want = 'bool'
! class sort_column(aetools.NProperty):
! """sort column - the column that the list view is sorted on """
! which = 'srtc'
! want = 'lvcl'
! class uses_relative_dates(aetools.NProperty):
! """uses relative dates - Are relative dates (e.g., today, yesterday) shown in the list view? """
! which = 'urdt'
! want = 'bool'
! # element 'lvcl' as ['indx', 'rele', 'rang', 'test']
class preferences(aetools.ComponentItem):
! """preferences - (NOT AVAILABLE, SUBJECT TO CHANGE) The Finder Preferences """
want = 'cprf'
class button_view_arrangement(aetools.NProperty):
***************
*** 89,96 ****
which = 'bisz'
want = 'long'
- class calculates_folder_sizes(aetools.NProperty):
- """calculates folder sizes - Are folder sizes calculated and displayed in Finder list view windows? """
- which = 'sfsz'
- want = 'bool'
class delay_before_springing(aetools.NProperty):
"""delay before springing - the delay before springing open a container in ticks (1/60th of a second) (12 is shortest delay, 60 is longest delay) """
--- 136,139 ----
***************
*** 129,136 ****
which = 'svrs'
want = 'bool'
! class spatial_view_arrangement(aetools.NProperty):
! """spatial view arrangement - the method of arrangement of icons in default Finder spatial view windows """
! which = 'iarr'
! want = 'earr'
class spatial_view_icon_size(aetools.NProperty):
"""spatial view icon size - the size of icons displayed in Finder spatial view windows. """
--- 172,177 ----
which = 'svrs'
want = 'bool'
!
! spatial_view_arrangement = arrangement
class spatial_view_icon_size(aetools.NProperty):
"""spatial view icon size - the size of icons displayed in Finder spatial view windows. """
***************
*** 141,148 ****
which = 'sprg'
want = 'bool'
- class uses_relative_dates(aetools.NProperty):
- """uses relative dates - Are relative dates (e.g., today, yesterday) shown in Finder list view windows? """
- which = 'urdt'
- want = 'bool'
class uses_simple_menus(aetools.NProperty):
"""uses simple menus - Use simplified Finder menus? """
--- 182,185 ----
***************
*** 171,174 ****
--- 208,221 ----
alias_list._privelemdict = {
}
+ column._superclassnames = []
+ column._privpropdict = {
+ 'index' : index,
+ 'name' : name,
+ 'sort_direction' : sort_direction,
+ 'visible' : visible,
+ 'width' : width,
+ }
+ column._privelemdict = {
+ }
icon_family._superclassnames = []
icon_family._privpropdict = {
***************
*** 186,189 ****
--- 233,243 ----
icon_family._privelemdict = {
}
+ icon_view_options._superclassnames = []
+ icon_view_options._privpropdict = {
+ 'arrangement' : arrangement,
+ 'icon_size' : icon_size,
+ }
+ icon_view_options._privelemdict = {
+ }
label._superclassnames = []
label._privpropdict = {
***************
*** 194,197 ****
--- 248,261 ----
label._privelemdict = {
}
+ list_view_options._superclassnames = []
+ list_view_options._privpropdict = {
+ 'calculates_folder_sizes' : calculates_folder_sizes,
+ 'icon_size' : icon_size,
+ 'sort_column' : sort_column,
+ 'uses_relative_dates' : uses_relative_dates,
+ }
+ list_view_options._privelemdict = {
+ 'column' : column,
+ }
preferences._superclassnames = []
preferences._privpropdict = {
***************
*** 229,233 ****
--- 293,300 ----
'clbl' : label,
'cprf' : preferences,
+ 'icop' : icon_view_options,
'ifam' : icon_family,
+ 'lvcl' : column,
+ 'lvop' : list_view_options,
}
***************
*** 236,243 ****
'barr' : button_view_arrangement,
'bisz' : button_view_icon_size,
'colr' : color,
'cwin' : window,
'dela' : delay_before_springing,
! 'iarr' : spatial_view_arrangement,
'icl4' : large_4_bit_icon,
'icl8' : large_8_bit_icon,
--- 303,311 ----
'barr' : button_view_arrangement,
'bisz' : button_view_icon_size,
+ 'clwd' : width,
'colr' : color,
'cwin' : window,
'dela' : delay_before_springing,
! 'iarr' : arrangement,
'icl4' : large_4_bit_icon,
'icl8' : large_8_bit_icon,
***************
*** 250,255 ****
--- 318,325 ----
'l8mk' : large_8_bit_mask,
'lisz' : list_view_icon_size,
+ 'lvis' : icon_size,
'pidx' : index,
'pnam' : name,
+ 'pvis' : visible,
'scda' : shows_creation_date,
'scom' : shows_comments,
***************
*** 258,262 ****
--- 328,334 ----
'sknd' : shows_kind,
'slbl' : shows_label,
+ 'sord' : sort_direction,
'sprg' : spring_open_folders,
+ 'srtc' : sort_column,
'ssiz' : shows_size,
'svrs' : shows_version,
Index: Window_classes.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/Finder/Window_classes.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** Window_classes.py 28 Mar 2003 23:37:56 -0000 1.4
--- Window_classes.py 29 Mar 2003 00:13:15 -0000 1.5
***************
*** 2,6 ****
Level 1, version 1
! Generated from /Volumes/Moes/Systeemmap/Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
--- 2,6 ----
Level 1, version 1
! Generated from /System/Library/CoreServices/Finder.app
AETE/AEUT resource version 0/144, language 0, script 0
"""
***************
*** 16,185 ****
! class clipping_window(aetools.ComponentItem):
! """clipping window - The window containing a clipping """
! want = 'lwnd'
class _3c_Inheritance_3e_(aetools.NProperty):
"""<Inheritance> - inherits some of its properties from the window class """
which = 'c@#^'
want = 'cwin'
!
! clipping_windows = clipping_window
!
! class container_window(aetools.ComponentItem):
! """container window - A window that contains items """
! want = 'cwnd'
! class button_view_arrangement(aetools.NProperty):
! """button view arrangement - the property by which to keep icons arranged within a button view window """
! which = 'barr'
! want = 'earr'
! class calculates_folder_sizes(aetools.NProperty):
! """calculates folder sizes - Are folder sizes calculated and displayed in the window? (does not apply to suitcase windows) """
! which = 'sfsz'
! want = 'bool'
! class container(aetools.NProperty):
! """container - the container from which the window was opened """
! which = 'ctnr'
! want = 'obj '
! class has_custom_view_settings(aetools.NProperty):
! """has custom view settings - Does the folder have custom view settings or is it using the default global settings? """
! which = 'cuss'
! want = 'bool'
! class item(aetools.NProperty):
! """item - the item from which the window was opened (always returns something) """
! which = 'cobj'
! want = 'obj '
! 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 and only available when the window is open) """
! which = 'svew'
! want = 'enum'
! class shows_comments(aetools.NProperty):
! """shows comments - Are comments displayed in the window? (does not apply to suitcases) """
! which = 'scom'
! want = 'bool'
! class shows_creation_date(aetools.NProperty):
! """shows creation date - Are creation dates displayed in the window? """
! which = 'scda'
! want = 'bool'
! class shows_kind(aetools.NProperty):
! """shows kind - Are document kinds displayed in the window? """
! which = 'sknd'
! want = 'bool'
! class shows_label(aetools.NProperty):
! """shows label - Are labels displayed in the window? """
! which = 'slbl'
! want = 'bool'
! class shows_modification_date(aetools.NProperty):
! """shows modification date - Are modification dates displayed in the window? """
! which = 'sdat'
! want = 'bool'
! class shows_size(aetools.NProperty):
! """shows size - Are file sizes displayed in the window? """
! which = 'ssiz'
! want = 'bool'
! class shows_version(aetools.NProperty):
! """shows version - Are file versions displayed in the window? (does not apply to suitcase windows) """
! which = 'svrs'
! want = 'bool'
! class sort_direction(aetools.NProperty):
! """sort direction - The direction in which the window is sorted """
! which = 'sord'
! want = 'sodr'
! class spatial_view_arrangement(aetools.NProperty):
! """spatial view arrangement - the property by which to keep icons arranged within a spatial view window """
! which = 'iarr'
! want = 'earr'
! class uses_relative_dates(aetools.NProperty):
! """uses relative dates - Are relative dates (e.g., today, yesterday) shown in the window? """
! which = 'urdt'
! want = 'bool'
! class view(aetools.NProperty):
! """view - the current view for the window (icon, name, date, etc.) """
which = 'pvew'
! want = 'long'
! container_windows = container_window
! class content_space(aetools.ComponentItem):
! """content space - All windows, including the desktop window (\xd2Window\xd3 does not include the desktop window) """
! want = 'dwnd'
! content_spaces = content_space
class information_window(aetools.ComponentItem):
! """information window - An information window (opened by \xd2Get Info\xd3) """
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 = 'ascd'
- want = 'ldt '
class current_panel(aetools.NProperty):
"""current panel - the current panel in the information window """
which = 'panl'
want = 'ipnl'
! class icon(aetools.NProperty):
! """icon - the icon bitmap of the item """
! which = 'iimg'
! want = 'ifam'
! class locked(aetools.NProperty):
! """locked - Is the item locked (applies only to file and application information windows)? """
! which = 'aslk'
! want = 'bool'
! class minimum_size(aetools.NProperty):
! """minimum size - the smallest memory size with which the application can be launched (only applies to information windows for applications) """
! which = 'mprt'
! want = 'long'
! class modification_date(aetools.NProperty):
! """modification date - the date on which the item was last modified """
! which = 'asmo'
! want = 'ldt '
! class physical_size(aetools.NProperty):
! """physical size - the actual space used by the item on disk """
! which = 'phys'
! want = 'long'
! class preferred_size(aetools.NProperty):
! """preferred size - the memory size with which the application will be launched (only applies to information windows for applications) """
! which = 'appt'
! want = 'long'
! 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 = 'itxt'
! class size(aetools.NProperty):
! """size - the logical size of the item """
! which = 'ptsz'
! want = 'long'
! class stationery(aetools.NProperty):
! """stationery - Is the item a stationery pad? """
! which = 'pspd'
! want = 'bool'
! class suggested_size(aetools.NProperty):
! """suggested size - the memory size with which the developer recommends the application be launched """
! which = 'sprt'
! want = 'long'
! class version(aetools.NProperty):
! """version - the version of the file (visible at the bottom of the \xd2Get Info\xd3 window) """
! which = 'vers'
! want = 'itxt'
! class warns_before_emptying(aetools.NProperty):
! """warns before emptying - Display a dialog when emptying the trash (only valid for trash info window)? """
! which = 'warn'
! want = 'bool'
!
! information_windows = information_window
class preferences_window(aetools.ComponentItem):
! """preferences window - The Finder Preferences window """
want = 'pwnd'
- class view_options_window(aetools.ComponentItem):
- """view options window - A View Options window """
- want = 'vwnd'
-
- view_options_windows = view_options_window
-
class window(aetools.ComponentItem):
"""window - A window """
--- 16,67 ----
! class Finder_window(aetools.ComponentItem):
! """Finder window - A file viewer window """
! want = 'brow'
class _3c_Inheritance_3e_(aetools.NProperty):
"""<Inheritance> - inherits some of its properties from the window class """
which = 'c@#^'
want = 'cwin'
! class current_view(aetools.NProperty):
! """current view - the current view for the container window """
which = 'pvew'
! want = 'ecvw'
! class icon_view_options(aetools.NProperty):
! """icon view options - the icon view options for the container window """
! which = 'icop'
! want = 'icop'
! class list_view_options(aetools.NProperty):
! """list view options - the list view options for the container window """
! which = 'lvop'
! want = 'lvop'
! class target(aetools.NProperty):
! """target - the container at which this file viewer is targeted """
! which = 'fvtg'
! want = 'obj '
! Finder_windows = Finder_window
! class clipping_window(aetools.ComponentItem):
! """clipping window - The window containing a clipping """
! want = 'lwnd'
! clipping_windows = clipping_window
class information_window(aetools.ComponentItem):
! """information window - An inspector window (opened by \xd2Show Info\xd3) """
want = 'iwnd'
class current_panel(aetools.NProperty):
"""current panel - the current panel in the information window """
which = 'panl'
want = 'ipnl'
! class item(aetools.NProperty):
! """item - the item from which this window was opened """
! which = 'cobj'
! want = 'obj '
class preferences_window(aetools.ComponentItem):
! """preferences window - (NOT AVAILABLE YET) The Finder Preferences window """
want = 'pwnd'
class window(aetools.ComponentItem):
"""window - A window """
***************
*** 194,198 ****
want = 'bool'
class collapsed(aetools.NProperty):
! """collapsed - Is the window collapsed (only applies to open non-pop-up windows)? """
which = 'wshd'
want = 'bool'
--- 76,80 ----
want = 'bool'
class collapsed(aetools.NProperty):
! """collapsed - Is the window collapsed """
which = 'wshd'
want = 'bool'
***************
*** 201,204 ****
--- 83,90 ----
which = 'isfl'
want = 'bool'
+ class id(aetools.NProperty):
+ """id - the unique id for this window """
+ which = 'ID '
+ want = 'magn'
class index(aetools.NProperty):
"""index - the number of the window in the front-to-back layer ordering """
***************
*** 212,228 ****
"""name - the name of the window """
which = 'pnam'
! want = 'itxt'
! class popup(aetools.NProperty):
! """popup - Is the window is a pop-up window? (only applies to open container windows in the Finder and can only be set when the Finder is the front application) """
! which = 'drwr'
! want = 'bool'
class position(aetools.NProperty):
"""position - the upper left position of the window """
which = 'posn'
want = 'QDpt'
! class pulled_open(aetools.NProperty):
! """pulled open - Is the window pulled open (only applies to pop-up windows and can only be set when the Finder is the front application)? """
! which = 'pull'
! want = 'bool'
class resizable(aetools.NProperty):
"""resizable - Is the window resizable? """
--- 98,110 ----
"""name - the name of the window """
which = 'pnam'
! want = 'utxt'
class position(aetools.NProperty):
"""position - the upper left position of the window """
which = 'posn'
want = 'QDpt'
! class properties(aetools.NProperty):
! """properties - every property of a window """
! which = 'pALL'
! want = 'reco'
class resizable(aetools.NProperty):
"""resizable - Is the window resizable? """
***************
*** 246,307 ****
want = 'bool'
class zoomed_full_size(aetools.NProperty):
! """zoomed full size - Is the window zoomed to the full size of the screen? (can only be set, not read, and only applies to open non-pop-up windows) """
which = 'zumf'
want = 'bool'
windows = window
! clipping_window._superclassnames = ['window']
! clipping_window._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
}
! clipping_window._privelemdict = {
}
! container_window._superclassnames = ['window']
! container_window._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
- 'button_view_arrangement' : button_view_arrangement,
- 'calculates_folder_sizes' : calculates_folder_sizes,
- 'container' : container,
- 'has_custom_view_settings' : has_custom_view_settings,
- 'item' : item,
- 'previous_list_view' : previous_list_view,
- 'shows_comments' : shows_comments,
- 'shows_creation_date' : shows_creation_date,
- 'shows_kind' : shows_kind,
- 'shows_label' : shows_label,
- 'shows_modification_date' : shows_modification_date,
- 'shows_size' : shows_size,
- 'shows_version' : shows_version,
- 'sort_direction' : sort_direction,
- 'spatial_view_arrangement' : spatial_view_arrangement,
- 'uses_relative_dates' : uses_relative_dates,
- 'view' : view,
- }
- container_window._privelemdict = {
- }
- content_space._superclassnames = []
- content_space._privpropdict = {
}
! content_space._privelemdict = {
}
information_window._superclassnames = ['window']
information_window._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
- 'comment' : comment,
- 'creation_date' : creation_date,
'current_panel' : current_panel,
- 'icon' : icon,
'item' : item,
- 'locked' : locked,
- 'minimum_size' : minimum_size,
- 'modification_date' : modification_date,
- 'physical_size' : physical_size,
- 'preferred_size' : preferred_size,
- 'product_version' : product_version,
- 'size' : size,
- 'stationery' : stationery,
- 'suggested_size' : suggested_size,
- 'version' : version,
- 'warns_before_emptying' : warns_before_emptying,
}
information_window._privelemdict = {
--- 128,157 ----
want = 'bool'
class zoomed_full_size(aetools.NProperty):
! """zoomed full size - Is the window zoomed to the full size of the screen? (can only be set, not read) """
which = 'zumf'
want = 'bool'
windows = window
! Finder_window._superclassnames = ['window']
! Finder_window._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
+ 'current_view' : current_view,
+ 'icon_view_options' : icon_view_options,
+ 'list_view_options' : list_view_options,
+ 'target' : target,
}
! Finder_window._privelemdict = {
}
! clipping_window._superclassnames = ['window']
! clipping_window._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
}
! clipping_window._privelemdict = {
}
information_window._superclassnames = ['window']
information_window._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
'current_panel' : current_panel,
'item' : item,
}
information_window._privelemdict = {
***************
*** 314,324 ****
preferences_window._privelemdict = {
}
- view_options_window._superclassnames = ['window']
- view_options_window._privpropdict = {
- '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
- 'item' : item,
- }
- view_options_window._privelemdict = {
- }
window._superclassnames = []
window._privpropdict = {
--- 164,167 ----
***************
*** 327,336 ****
'collapsed' : collapsed,
'floating' : floating,
'index' : index,
'modal' : modal,
'name' : name,
- 'popup' : popup,
'position' : position,
! 'pulled_open' : pulled_open,
'resizable' : resizable,
'titled' : titled,
--- 170,179 ----
'collapsed' : collapsed,
'floating' : floating,
+ 'id' : id,
'index' : index,
'modal' : modal,
'name' : name,
'position' : position,
! 'properties' : properties,
'resizable' : resizable,
'titled' : titled,
***************
*** 347,380 ****
#
_classdeclarations = {
'cwin' : window,
- 'cwnd' : container_window,
- 'dwnd' : content_space,
'iwnd' : information_window,
'lwnd' : clipping_window,
'pwnd' : preferences_window,
- 'vwnd' : view_options_window,
}
_propdeclarations = {
! 'appt' : preferred_size,
! 'ascd' : creation_date,
! 'aslk' : locked,
! 'asmo' : modification_date,
! 'barr' : button_view_arrangement,
'c@#^' : _3c_Inheritance_3e_,
'cobj' : item,
! 'comt' : comment,
! 'ctnr' : container,
! 'cuss' : has_custom_view_settings,
! 'drwr' : popup,
'hclb' : closeable,
! 'iarr' : spatial_view_arrangement,
! 'iimg' : icon,
'isfl' : floating,
'iszm' : zoomable,
! 'mprt' : minimum_size,
'panl' : current_panel,
'pbnd' : bounds,
- 'phys' : physical_size,
'pidx' : index,
'pmod' : modal,
--- 190,213 ----
#
_classdeclarations = {
+ 'brow' : Finder_window,
'cwin' : window,
'iwnd' : information_window,
'lwnd' : clipping_window,
'pwnd' : preferences_window,
}
_propdeclarations = {
! 'ID ' : id,
'c@#^' : _3c_Inheritance_3e_,
'cobj' : item,
! 'fvtg' : target,
'hclb' : closeable,
! 'icop' : icon_view_options,
'isfl' : floating,
'iszm' : zoomable,
! 'lvop' : list_view_options,
! 'pALL' : properties,
'panl' : current_panel,
'pbnd' : bounds,
'pidx' : index,
'pmod' : modal,
***************
*** 382,407 ****
'posn' : position,
'prsz' : resizable,
- 'pspd' : stationery,
'ptit' : titled,
! 'ptsz' : size,
! 'pull' : pulled_open,
! 'pvew' : view,
'pvis' : visible,
'pzum' : zoomed,
- 'scda' : shows_creation_date,
- 'scom' : shows_comments,
- 'sdat' : shows_modification_date,
- 'sfsz' : calculates_folder_sizes,
- 'sknd' : shows_kind,
- 'slbl' : shows_label,
- 'sord' : sort_direction,
- 'sprt' : suggested_size,
- 'ssiz' : shows_size,
- 'svew' : previous_list_view,
- 'svrs' : shows_version,
- 'urdt' : uses_relative_dates,
- 'ver2' : product_version,
- 'vers' : version,
- 'warn' : warns_before_emptying,
'wshd' : collapsed,
'zumf' : zoomed_full_size,
--- 215,222 ----
'posn' : position,
'prsz' : resizable,
'ptit' : titled,
! 'pvew' : current_view,
'pvis' : visible,
'pzum' : zoomed,
'wshd' : collapsed,
'zumf' : zoomed_full_size,
Index: __init__.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/Finder/__init__.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** __init__.py 28 Mar 2003 23:37:56 -0000 1.4
--- __init__.py 29 Mar 2003 00:13:15 -0000 1.5
***************
*** 1,33 ****
"""
! Package generated from /Volumes/Moes/Systeemmap/Finder
! Resource aete resid 0
"""
import aetools
Error = aetools.Error
import Standard_Suite
import Containers_and_folders
! import Files_and_suitcases
import Finder_Basics
import Finder_items
- import Process_classes
import Window_classes
import Type_Definitions
- import Earlier_terms
import Enumerations
- import Obsolete_terms
_code_to_module = {
'CoRe' : Standard_Suite,
'fndr' : Containers_and_folders,
! 'fndr' : Files_and_suitcases,
'fndr' : Finder_Basics,
'fndr' : Finder_items,
- 'fndr' : Process_classes,
'fndr' : Window_classes,
'tpdf' : Type_Definitions,
- 'tpnm' : Earlier_terms,
'tpnm' : Enumerations,
- 'tpnm' : Obsolete_terms,
}
--- 1,28 ----
"""
! Package generated from /System/Library/CoreServices/Finder.app
"""
import aetools
Error = aetools.Error
import Standard_Suite
+ import Legacy_suite
import Containers_and_folders
! import Files
import Finder_Basics
import Finder_items
import Window_classes
import Type_Definitions
import Enumerations
_code_to_module = {
'CoRe' : Standard_Suite,
+ 'fleg' : Legacy_suite,
'fndr' : Containers_and_folders,
! 'fndr' : Files,
'fndr' : Finder_Basics,
'fndr' : Finder_items,
'fndr' : Window_classes,
'tpdf' : Type_Definitions,
'tpnm' : Enumerations,
}
***************
*** 36,62 ****
_code_to_fullname = {
'CoRe' : ('Finder.Standard_Suite', 'Standard_Suite'),
'fndr' : ('Finder.Containers_and_folders', 'Containers_and_folders'),
! 'fndr' : ('Finder.Files_and_suitcases', 'Files_and_suitcases'),
'fndr' : ('Finder.Finder_Basics', 'Finder_Basics'),
'fndr' : ('Finder.Finder_items', 'Finder_items'),
- 'fndr' : ('Finder.Process_classes', 'Process_classes'),
'fndr' : ('Finder.Window_classes', 'Window_classes'),
'tpdf' : ('Finder.Type_Definitions', 'Type_Definitions'),
- 'tpnm' : ('Finder.Earlier_terms', 'Earlier_terms'),
'tpnm' : ('Finder.Enumerations', 'Enumerations'),
- 'tpnm' : ('Finder.Obsolete_terms', 'Obsolete_terms'),
}
from Standard_Suite import *
from Containers_and_folders import *
! from Files_and_suitcases import *
from Finder_Basics import *
from Finder_items import *
- from Process_classes import *
from Window_classes import *
from Type_Definitions import *
- from Earlier_terms import *
from Enumerations import *
- from Obsolete_terms import *
def getbaseclasses(v):
--- 31,53 ----
_code_to_fullname = {
'CoRe' : ('Finder.Standard_Suite', 'Standard_Suite'),
+ 'fleg' : ('Finder.Legacy_suite', 'Legacy_suite'),
'fndr' : ('Finder.Containers_and_folders', 'Containers_and_folders'),
! 'fndr' : ('Finder.Files', 'Files'),
'fndr' : ('Finder.Finder_Basics', 'Finder_Basics'),
'fndr' : ('Finder.Finder_items', 'Finder_items'),
'fndr' : ('Finder.Window_classes', 'Window_classes'),
'tpdf' : ('Finder.Type_Definitions', 'Type_Definitions'),
'tpnm' : ('Finder.Enumerations', 'Enumerations'),
}
from Standard_Suite import *
+ from Legacy_suite import *
from Containers_and_folders import *
! from Files import *
from Finder_Basics import *
from Finder_items import *
from Window_classes import *
from Type_Definitions import *
from Enumerations import *
def getbaseclasses(v):
***************
*** 77,260 ****
# Set property and element dictionaries now that all classes have been defined
#
- getbaseclasses(StdSuites.Type_Names_Suite.small_integer)
- getbaseclasses(StdSuites.Type_Names_Suite.RGB16_color)
- getbaseclasses(StdSuites.Type_Names_Suite.system_dictionary)
- getbaseclasses(StdSuites.Type_Names_Suite.color_table)
- getbaseclasses(StdSuites.Type_Names_Suite.fixed_point)
- getbaseclasses(StdSuites.Type_Names_Suite.plain_text)
- getbaseclasses(StdSuites.Type_Names_Suite.type_element_info)
- getbaseclasses(StdSuites.Type_Names_Suite.location_reference)
- getbaseclasses(StdSuites.Type_Names_Suite.version)
- getbaseclasses(StdSuites.Type_Names_Suite.PostScript_picture)
- getbaseclasses(StdSuites.Type_Names_Suite.machine_location)
- getbaseclasses(StdSuites.Type_Names_Suite.menu_item)
- getbaseclasses(StdSuites.Type_Names_Suite.pixel_map_record)
- getbaseclasses(StdSuites.Type_Names_Suite.application_dictionary)
- getbaseclasses(StdSuites.Type_Names_Suite.unsigned_integer)
- getbaseclasses(StdSuites.Type_Names_Suite.menu)
- getbaseclasses(StdSuites.Type_Names_Suite.fixed_rectangle)
- getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_rectangle)
- getbaseclasses(StdSuites.Type_Names_Suite.type_event_info)
- getbaseclasses(StdSuites.Type_Names_Suite.small_real)
- getbaseclasses(StdSuites.Type_Names_Suite.type_suite_info)
- getbaseclasses(StdSuites.Type_Names_Suite.rotation)
- getbaseclasses(StdSuites.Type_Names_Suite.fixed)
- getbaseclasses(StdSuites.Type_Names_Suite.scrap_styles)
- getbaseclasses(StdSuites.Type_Names_Suite.long_point)
- getbaseclasses(StdSuites.Type_Names_Suite.type_class_info)
- getbaseclasses(StdSuites.Type_Names_Suite.TIFF_picture)
- getbaseclasses(StdSuites.Type_Names_Suite.RGB96_color)
- getbaseclasses(StdSuites.Type_Names_Suite.dash_style)
- getbaseclasses(StdSuites.Type_Names_Suite.type_property_info)
- getbaseclasses(StdSuites.Type_Names_Suite.type_parameter_info)
- getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_point)
- getbaseclasses(StdSuites.Type_Names_Suite.long_rectangle)
- getbaseclasses(StdSuites.Type_Names_Suite.extended_real)
- getbaseclasses(StdSuites.Type_Names_Suite.double_integer)
- getbaseclasses(StdSuites.Type_Names_Suite.long_fixed)
- getbaseclasses(StdSuites.Type_Names_Suite.null)
- getbaseclasses(StdSuites.Type_Names_Suite.target_id)
- getbaseclasses(StdSuites.Type_Names_Suite.point)
- getbaseclasses(StdSuites.Type_Names_Suite.bounding_rectangle)
- getbaseclasses(accessory_suitcase)
- getbaseclasses(preferences)
- getbaseclasses(sharable_container)
- getbaseclasses(application)
- getbaseclasses(trash_2d_object)
- getbaseclasses(accessory_process)
- getbaseclasses(window)
- getbaseclasses(information_window)
- getbaseclasses(process)
- getbaseclasses(application_file)
- getbaseclasses(internet_location)
- getbaseclasses(container_window)
- getbaseclasses(item)
getbaseclasses(item)
! getbaseclasses(trash_2d_object)
! getbaseclasses(desktop_2d_object)
! getbaseclasses(sharable_container)
! getbaseclasses(sharing_privileges)
! getbaseclasses(disk)
! getbaseclasses(folder)
! getbaseclasses(container)
! getbaseclasses(sound_file)
! getbaseclasses(font_file)
! getbaseclasses(internet_location_file)
! getbaseclasses(clipping)
! getbaseclasses(alias_file)
! getbaseclasses(desk_accessory_file)
! getbaseclasses(desk_accessory_suitcase)
! getbaseclasses(font_suitcase)
getbaseclasses(file)
getbaseclasses(application_file)
! getbaseclasses(suitcase)
getbaseclasses(document_file)
! getbaseclasses(package)
getbaseclasses(application)
- getbaseclasses(special_folders)
getbaseclasses(preferences_window)
! getbaseclasses(view_options_window)
getbaseclasses(window)
- getbaseclasses(container_window)
- getbaseclasses(content_space)
- getbaseclasses(information_window)
getbaseclasses(clipping_window)
- getbaseclasses(status_window)
- getbaseclasses(application)
- getbaseclasses(sharing_window)
- getbaseclasses(control_panel)
- getbaseclasses(process)
- getbaseclasses(item)
- getbaseclasses(file)
- getbaseclasses(sharable_container)
- getbaseclasses(container_window)
- getbaseclasses(container)
getbaseclasses(information_window)
! getbaseclasses(process)
! getbaseclasses(desk_accessory_process)
! getbaseclasses(application_process)
getbaseclasses(preferences)
getbaseclasses(alias_list)
getbaseclasses(icon_family)
! getbaseclasses(label)
! getbaseclasses(StdSuites.Type_Names_Suite.small_integer)
getbaseclasses(StdSuites.Type_Names_Suite.RGB16_color)
getbaseclasses(StdSuites.Type_Names_Suite.system_dictionary)
getbaseclasses(StdSuites.Type_Names_Suite.color_table)
getbaseclasses(StdSuites.Type_Names_Suite.fixed_point)
! getbaseclasses(StdSuites.Type_Names_Suite.plain_text)
getbaseclasses(StdSuites.Type_Names_Suite.type_element_info)
! getbaseclasses(StdSuites.Type_Names_Suite.location_reference)
! getbaseclasses(StdSuites.Type_Names_Suite.version)
! getbaseclasses(StdSuites.Type_Names_Suite.PostScript_picture)
getbaseclasses(StdSuites.Type_Names_Suite.machine_location)
getbaseclasses(StdSuites.Type_Names_Suite.menu_item)
! getbaseclasses(StdSuites.Type_Names_Suite.pixel_map_record)
getbaseclasses(StdSuites.Type_Names_Suite.application_dictionary)
getbaseclasses(StdSuites.Type_Names_Suite.unsigned_integer)
getbaseclasses(StdSuites.Type_Names_Suite.menu)
getbaseclasses(StdSuites.Type_Names_Suite.fixed_rectangle)
getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_rectangle)
! getbaseclasses(StdSuites.Type_Names_Suite.type_event_info)
! getbaseclasses(StdSuites.Type_Names_Suite.small_real)
getbaseclasses(StdSuites.Type_Names_Suite.type_suite_info)
getbaseclasses(StdSuites.Type_Names_Suite.rotation)
getbaseclasses(StdSuites.Type_Names_Suite.fixed)
- getbaseclasses(StdSuites.Type_Names_Suite.scrap_styles)
getbaseclasses(StdSuites.Type_Names_Suite.long_point)
getbaseclasses(StdSuites.Type_Names_Suite.type_class_info)
- getbaseclasses(StdSuites.Type_Names_Suite.TIFF_picture)
getbaseclasses(StdSuites.Type_Names_Suite.RGB96_color)
- getbaseclasses(StdSuites.Type_Names_Suite.dash_style)
- getbaseclasses(StdSuites.Type_Names_Suite.type_property_info)
- getbaseclasses(StdSuites.Type_Names_Suite.type_parameter_info)
- getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_point)
- getbaseclasses(StdSuites.Type_Names_Suite.long_rectangle)
- getbaseclasses(StdSuites.Type_Names_Suite.extended_real)
- getbaseclasses(StdSuites.Type_Names_Suite.double_integer)
- getbaseclasses(StdSuites.Type_Names_Suite.long_fixed)
- getbaseclasses(StdSuites.Type_Names_Suite.null)
getbaseclasses(StdSuites.Type_Names_Suite.target_id)
- getbaseclasses(StdSuites.Type_Names_Suite.point)
- getbaseclasses(StdSuites.Type_Names_Suite.bounding_rectangle)
- getbaseclasses(StdSuites.Type_Names_Suite.small_integer)
- getbaseclasses(StdSuites.Type_Names_Suite.RGB16_color)
- getbaseclasses(StdSuites.Type_Names_Suite.system_dictionary)
- getbaseclasses(StdSuites.Type_Names_Suite.color_table)
- getbaseclasses(StdSuites.Type_Names_Suite.fixed_point)
- getbaseclasses(StdSuites.Type_Names_Suite.plain_text)
- getbaseclasses(StdSuites.Type_Names_Suite.type_element_info)
- getbaseclasses(StdSuites.Type_Names_Suite.location_reference)
- getbaseclasses(StdSuites.Type_Names_Suite.version)
- getbaseclasses(StdSuites.Type_Names_Suite.PostScript_picture)
- getbaseclasses(StdSuites.Type_Names_Suite.machine_location)
- getbaseclasses(StdSuites.Type_Names_Suite.menu_item)
getbaseclasses(StdSuites.Type_Names_Suite.pixel_map_record)
- getbaseclasses(StdSuites.Type_Names_Suite.application_dictionary)
- getbaseclasses(StdSuites.Type_Names_Suite.unsigned_integer)
- getbaseclasses(StdSuites.Type_Names_Suite.menu)
- getbaseclasses(StdSuites.Type_Names_Suite.fixed_rectangle)
- getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_rectangle)
- getbaseclasses(StdSuites.Type_Names_Suite.type_event_info)
- getbaseclasses(StdSuites.Type_Names_Suite.small_real)
- getbaseclasses(StdSuites.Type_Names_Suite.type_suite_info)
- getbaseclasses(StdSuites.Type_Names_Suite.rotation)
- getbaseclasses(StdSuites.Type_Names_Suite.fixed)
- getbaseclasses(StdSuites.Type_Names_Suite.scrap_styles)
- getbaseclasses(StdSuites.Type_Names_Suite.long_point)
- getbaseclasses(StdSuites.Type_Names_Suite.type_class_info)
- getbaseclasses(StdSuites.Type_Names_Suite.TIFF_picture)
- getbaseclasses(StdSuites.Type_Names_Suite.RGB96_color)
- getbaseclasses(StdSuites.Type_Names_Suite.dash_style)
- getbaseclasses(StdSuites.Type_Names_Suite.type_property_info)
getbaseclasses(StdSuites.Type_Names_Suite.type_parameter_info)
- getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_point)
- getbaseclasses(StdSuites.Type_Names_Suite.long_rectangle)
getbaseclasses(StdSuites.Type_Names_Suite.extended_real)
! getbaseclasses(StdSuites.Type_Names_Suite.double_integer)
! getbaseclasses(StdSuites.Type_Names_Suite.long_fixed)
getbaseclasses(StdSuites.Type_Names_Suite.null)
! getbaseclasses(StdSuites.Type_Names_Suite.target_id)
! getbaseclasses(StdSuites.Type_Names_Suite.point)
getbaseclasses(StdSuites.Type_Names_Suite.bounding_rectangle)
--- 68,140 ----
# Set property and element dictionaries now that all classes have been defined
#
getbaseclasses(item)
! getbaseclasses(application)
! getbaseclasses(package)
getbaseclasses(file)
getbaseclasses(application_file)
! getbaseclasses(alias_file)
! getbaseclasses(internet_location_file)
getbaseclasses(document_file)
! getbaseclasses(clipping)
! getbaseclasses(process)
! getbaseclasses(application_process)
! getbaseclasses(desk_accessory_process)
getbaseclasses(application)
getbaseclasses(preferences_window)
! getbaseclasses(Finder_window)
getbaseclasses(window)
getbaseclasses(clipping_window)
getbaseclasses(information_window)
! getbaseclasses(trash_2d_object)
! getbaseclasses(desktop_2d_object)
! getbaseclasses(container)
! getbaseclasses(folder)
! getbaseclasses(disk)
! getbaseclasses(icon_view_options)
! getbaseclasses(label)
! getbaseclasses(column)
getbaseclasses(preferences)
getbaseclasses(alias_list)
getbaseclasses(icon_family)
! getbaseclasses(list_view_options)
! getbaseclasses(StdSuites.Type_Names_Suite.double_integer)
! getbaseclasses(StdSuites.Type_Names_Suite.version)
getbaseclasses(StdSuites.Type_Names_Suite.RGB16_color)
getbaseclasses(StdSuites.Type_Names_Suite.system_dictionary)
getbaseclasses(StdSuites.Type_Names_Suite.color_table)
getbaseclasses(StdSuites.Type_Names_Suite.fixed_point)
! getbaseclasses(StdSuites.Type_Names_Suite.TIFF_picture)
getbaseclasses(StdSuites.Type_Names_Suite.type_element_info)
! getbaseclasses(StdSuites.Type_Names_Suite.type_event_info)
getbaseclasses(StdSuites.Type_Names_Suite.machine_location)
+ getbaseclasses(StdSuites.Type_Names_Suite.PostScript_picture)
+ getbaseclasses(StdSuites.Type_Names_Suite.point)
+ getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_point)
getbaseclasses(StdSuites.Type_Names_Suite.menu_item)
! getbaseclasses(StdSuites.Type_Names_Suite.scrap_styles)
getbaseclasses(StdSuites.Type_Names_Suite.application_dictionary)
getbaseclasses(StdSuites.Type_Names_Suite.unsigned_integer)
getbaseclasses(StdSuites.Type_Names_Suite.menu)
getbaseclasses(StdSuites.Type_Names_Suite.fixed_rectangle)
+ getbaseclasses(StdSuites.Type_Names_Suite.type_property_info)
getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_rectangle)
! getbaseclasses(StdSuites.Type_Names_Suite.long_fixed)
getbaseclasses(StdSuites.Type_Names_Suite.type_suite_info)
getbaseclasses(StdSuites.Type_Names_Suite.rotation)
+ getbaseclasses(StdSuites.Type_Names_Suite.small_integer)
getbaseclasses(StdSuites.Type_Names_Suite.fixed)
getbaseclasses(StdSuites.Type_Names_Suite.long_point)
getbaseclasses(StdSuites.Type_Names_Suite.type_class_info)
getbaseclasses(StdSuites.Type_Names_Suite.RGB96_color)
getbaseclasses(StdSuites.Type_Names_Suite.target_id)
getbaseclasses(StdSuites.Type_Names_Suite.pixel_map_record)
getbaseclasses(StdSuites.Type_Names_Suite.type_parameter_info)
getbaseclasses(StdSuites.Type_Names_Suite.extended_real)
! getbaseclasses(StdSuites.Type_Names_Suite.long_rectangle)
! getbaseclasses(StdSuites.Type_Names_Suite.dash_style)
! getbaseclasses(StdSuites.Type_Names_Suite.plain_text)
! getbaseclasses(StdSuites.Type_Names_Suite.small_real)
getbaseclasses(StdSuites.Type_Names_Suite.null)
! getbaseclasses(StdSuites.Type_Names_Suite.location_reference)
getbaseclasses(StdSuites.Type_Names_Suite.bounding_rectangle)
***************
*** 263,446 ****
#
_classdeclarations = {
- 'shor' : StdSuites.Type_Names_Suite.small_integer,
- 'tr16' : StdSuites.Type_Names_Suite.RGB16_color,
- 'aeut' : StdSuites.Type_Names_Suite.system_dictionary,
- 'clrt' : StdSuites.Type_Names_Suite.color_table,
- 'fpnt' : StdSuites.Type_Names_Suite.fixed_point,
- 'TEXT' : StdSuites.Type_Names_Suite.plain_text,
- 'elin' : StdSuites.Type_Names_Suite.type_element_info,
- 'insl' : StdSuites.Type_Names_Suite.location_reference,
- 'vers' : StdSuites.Type_Names_Suite.version,
- 'EPS ' : StdSuites.Type_Names_Suite.PostScript_picture,
- 'mLoc' : StdSuites.Type_Names_Suite.machine_location,
- 'cmen' : StdSuites.Type_Names_Suite.menu_item,
- 'tpmm' : StdSuites.Type_Names_Suite.pixel_map_record,
- 'aete' : StdSuites.Type_Names_Suite.application_dictionary,
- 'magn' : StdSuites.Type_Names_Suite.unsigned_integer,
- 'cmnu' : StdSuites.Type_Names_Suite.menu,
- 'frct' : StdSuites.Type_Names_Suite.fixed_rectangle,
- 'lfrc' : StdSuites.Type_Names_Suite.long_fixed_rectangle,
- 'evin' : StdSuites.Type_Names_Suite.type_event_info,
- 'sing' : StdSuites.Type_Names_Suite.small_real,
- 'suin' : StdSuites.Type_Names_Suite.type_suite_info,
- 'trot' : StdSuites.Type_Names_Suite.rotation,
- 'fixd' : StdSuites.Type_Names_Suite.fixed,
- 'styl' : StdSuites.Type_Names_Suite.scrap_styles,
- 'lpnt' : StdSuites.Type_Names_Suite.long_point,
- 'gcli' : StdSuites.Type_Names_Suite.type_class_info,
- 'TIFF' : StdSuites.Type_Names_Suite.TIFF_picture,
- 'tr96' : StdSuites.Type_Names_Suite.RGB96_color,
- 'tdas' : StdSuites.Type_Names_Suite.dash_style,
- 'pinf' : StdSuites.Type_Names_Suite.type_property_info,
- 'pmin' : StdSuites.Type_Names_Suite.type_parameter_info,
- 'lfpt' : StdSuites.Type_Names_Suite.long_fixed_point,
- 'lrct' : StdSuites.Type_Names_Suite.long_rectangle,
- 'exte' : StdSuites.Type_Names_Suite.extended_real,
- 'comp' : StdSuites.Type_Names_Suite.double_integer,
- 'lfxd' : StdSuites.Type_Names_Suite.long_fixed,
- 'null' : StdSuites.Type_Names_Suite.null,
- 'targ' : StdSuites.Type_Names_Suite.target_id,
- 'QDpt' : StdSuites.Type_Names_Suite.point,
- 'qdrt' : StdSuites.Type_Names_Suite.bounding_rectangle,
- 'dsut' : accessory_suitcase,
- 'cprf' : preferences,
- 'sctr' : sharable_container,
- 'capp' : application,
- 'ctrs' : trash_2d_object,
- 'pcda' : accessory_process,
- 'cwin' : window,
- 'iwnd' : information_window,
- 'prcs' : process,
- 'appf' : application_file,
- 'inlf' : internet_location,
- 'cwnd' : container_window,
'cobj' : item,
! 'cobj' : item,
! 'ctrs' : trash_2d_object,
! 'cdsk' : desktop_2d_object,
! 'sctr' : sharable_container,
! 'priv' : sharing_privileges,
! 'cdis' : disk,
! 'cfol' : folder,
! 'ctnr' : container,
! 'sndf' : sound_file,
! 'fntf' : font_file,
! 'inlf' : internet_location_file,
! 'clpf' : clipping,
! 'alia' : alias_file,
! 'dafi' : desk_accessory_file,
! 'dsut' : desk_accessory_suitcase,
! 'fsut' : font_suitcase,
'file' : file,
'appf' : application_file,
! 'stcs' : suitcase,
'docf' : document_file,
! 'pack' : package,
'capp' : application,
- 'spfl' : special_folders,
'pwnd' : preferences_window,
! 'vwnd' : view_options_window,
'cwin' : window,
- 'cwnd' : container_window,
- 'dwnd' : content_space,
- 'iwnd' : information_window,
'lwnd' : clipping_window,
- '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,
! 'prcs' : process,
! 'pcda' : desk_accessory_process,
! 'pcap' : application_process,
'cprf' : preferences,
'alst' : alias_list,
'ifam' : icon_family,
! 'clbl' : label,
! 'shor' : StdSuites.Type_Names_Suite.small_integer,
'tr16' : StdSuites.Type_Names_Suite.RGB16_color,
'aeut' : StdSuites.Type_Names_Suite.system_dictionary,
'clrt' : StdSuites.Type_Names_Suite.color_table,
'fpnt' : StdSuites.Type_Names_Suite.fixed_point,
! 'TEXT' : StdSuites.Type_Names_Suite.plain_text,
'elin' : StdSuites.Type_Names_Suite.type_element_info,
! 'insl' : StdSuites.Type_Names_Suite.location_reference,
! 'vers' : StdSuites.Type_Names_Suite.version,
! 'EPS ' : StdSuites.Type_Names_Suite.PostScript_picture,
'mLoc' : StdSuites.Type_Names_Suite.machine_location,
'cmen' : StdSuites.Type_Names_Suite.menu_item,
! 'tpmm' : StdSuites.Type_Names_Suite.pixel_map_record,
'aete' : StdSuites.Type_Names_Suite.application_dictionary,
'magn' : StdSuites.Type_Names_Suite.unsigned_integer,
'cmnu' : StdSuites.Type_Names_Suite.menu,
'frct' : StdSuites.Type_Names_Suite.fixed_rectangle,
'lfrc' : StdSuites.Type_Names_Suite.long_fixed_rectangle,
! 'evin' : StdSuites.Type_Names_Suite.type_event_info,
! 'sing' : StdSuites.Type_Names_Suite.small_real,
'suin' : StdSuites.Type_Names_Suite.type_suite_info,
'trot' : StdSuites.Type_Names_Suite.rotation,
'fixd' : StdSuites.Type_Names_Suite.fixed,
- 'styl' : StdSuites.Type_Names_Suite.scrap_styles,
'lpnt' : StdSuites.Type_Names_Suite.long_point,
'gcli' : StdSuites.Type_Names_Suite.type_class_info,
- 'TIFF' : StdSuites.Type_Names_Suite.TIFF_picture,
'tr96' : StdSuites.Type_Names_Suite.RGB96_color,
- 'tdas' : StdSuites.Type_Names_Suite.dash_style,
- 'pinf' : StdSuites.Type_Names_Suite.type_property_info,
- 'pmin' : StdSuites.Type_Names_Suite.type_parameter_info,
- 'lfpt' : StdSuites.Type_Names_Suite.long_fixed_point,
- 'lrct' : StdSuites.Type_Names_Suite.long_rectangle,
- 'exte' : StdSuites.Type_Names_Suite.extended_real,
- 'comp' : StdSuites.Type_Names_Suite.double_integer,
- 'lfxd' : StdSuites.Type_Names_Suite.long_fixed,
- 'null' : StdSuites.Type_Names_Suite.null,
'targ' : StdSuites.Type_Names_Suite.target_id,
- 'QDpt' : StdSuites.Type_Names_Suite.point,
- 'qdrt' : StdSuites.Type_Names_Suite.bounding_rectangle,
- 'shor' : StdSuites.Type_Names_Suite.small_integer,
- 'tr16' : StdSuites.Type_Names_Suite.RGB16_color,
- 'aeut' : StdSuites.Type_Names_Suite.system_dictionary,
- 'clrt' : StdSuites.Type_Names_Suite.color_table,
- 'fpnt' : StdSuites.Type_Names_Suite.fixed_point,
- 'TEXT' : StdSuites.Type_Names_Suite.plain_text,
- 'elin' : StdSuites.Type_Names_Suite.type_element_info,
- 'insl' : StdSuites.Type_Names_Suite.location_reference,
- 'vers' : StdSuites.Type_Names_Suite.version,
- 'EPS ' : StdSuites.Type_Names_Suite.PostScript_picture,
- 'mLoc' : StdSuites.Type_Names_Suite.machine_location,
- 'cmen' : StdSuites.Type_Names_Suite.menu_item,
'tpmm' : StdSuites.Type_Names_Suite.pixel_map_record,
- 'aete' : StdSuites.Type_Names_Suite.application_dictionary,
- 'magn' : StdSuites.Type_Names_Suite.unsigned_integer,
- 'cmnu' : StdSuites.Type_Names_Suite.menu,
- 'frct' : StdSuites.Type_Names_Suite.fixed_rectangle,
- 'lfrc' : StdSuites.Type_Names_Suite.long_fixed_rectangle,
- 'evin' : StdSuites.Type_Names_Suite.type_event_info,
- 'sing' : StdSuites.Type_Names_Suite.small_real,
- 'suin' : StdSuites.Type_Names_Suite.type_suite_info,
- 'trot' : StdSuites.Type_Names_Suite.rotation,
- 'fixd' : StdSuites.Type_Names_Suite.fixed,
- 'styl' : StdSuites.Type_Names_Suite.scrap_styles,
- 'lpnt' : StdSuites.Type_Names_Suite.long_point,
- 'gcli' : StdSuites.Type_Names_Suite.type_class_info,
- 'TIFF' : StdSuites.Type_Names_Suite.TIFF_picture,
- 'tr96' : StdSuites.Type_Names_Suite.RGB96_color,
- 'tdas' : StdSuites.Type_Names_Suite.dash_style,
- 'pinf' : StdSuites.Type_Names_Suite.type_property_info,
'pmin' : StdSuites.Type_Names_Suite.type_parameter_info,
- 'lfpt' : StdSuites.Type_Names_Suite.long_fixed_point,
- 'lrct' : StdSuites.Type_Names_Suite.long_rectangle,
'exte' : StdSuites.Type_Names_Suite.extended_real,
! 'comp' : StdSuites.Type_Names_Suite.double_integer,
! 'lfxd' : StdSuites.Type_Names_Suite.long_fixed,
'null' : StdSuites.Type_Names_Suite.null,
! 'targ' : StdSuites.Type_Names_Suite.target_id,
! 'QDpt' : StdSuites.Type_Names_Suite.point,
'qdrt' : StdSuites.Type_Names_Suite.bounding_rectangle,
}
--- 143,215 ----
#
_classdeclarations = {
'cobj' : item,
! 'capp' : application,
! 'pack' : package,
'file' : file,
'appf' : application_file,
! 'alia' : alias_file,
! 'inlf' : internet_location_file,
'docf' : document_file,
! 'clpf' : clipping,
! 'prcs' : process,
! 'pcap' : application_process,
! 'pcda' : desk_accessory_process,
'capp' : application,
'pwnd' : preferences_window,
! 'brow' : Finder_window,
'cwin' : window,
'lwnd' : clipping_window,
'iwnd' : information_window,
! 'ctrs' : trash_2d_object,
! 'cdsk' : desktop_2d_object,
! 'ctnr' : container,
! 'cfol' : folder,
! 'cdis' : disk,
! 'icop' : icon_view_options,
! 'clbl' : label,
! 'lvcl' : column,
'cprf' : preferences,
'alst' : alias_list,
'ifam' : icon_family,
! 'lvop' : list_view_options,
! 'comp' : StdSuites.Type_Names_Suite.double_integer,
! 'vers' : StdSuites.Type_Names_Suite.version,
'tr16' : StdSuites.Type_Names_Suite.RGB16_color,
'aeut' : StdSuites.Type_Names_Suite.system_dictionary,
'clrt' : StdSuites.Type_Names_Suite.color_table,
'fpnt' : StdSuites.Type_Names_Suite.fixed_point,
! 'TIFF' : StdSuites.Type_Names_Suite.TIFF_picture,
'elin' : StdSuites.Type_Names_Suite.type_element_info,
! 'evin' : StdSuites.Type_Names_Suite.type_event_info,
'mLoc' : StdSuites.Type_Names_Suite.machine_location,
+ 'EPS ' : StdSuites.Type_Names_Suite.PostScript_picture,
+ 'QDpt' : StdSuites.Type_Names_Suite.point,
+ 'lfpt' : StdSuites.Type_Names_Suite.long_fixed_point,
'cmen' : StdSuites.Type_Names_Suite.menu_item,
! 'styl' : StdSuites.Type_Names_Suite.scrap_styles,
'aete' : StdSuites.Type_Names_Suite.application_dictionary,
'magn' : StdSuites.Type_Names_Suite.unsigned_integer,
'cmnu' : StdSuites.Type_Names_Suite.menu,
'frct' : StdSuites.Type_Names_Suite.fixed_rectangle,
+ 'pinf' : StdSuites.Type_Names_Suite.type_property_info,
'lfrc' : StdSuites.Type_Names_Suite.long_fixed_rectangle,
! 'lfxd' : StdSuites.Type_Names_Suite.long_fixed,
'suin' : StdSuites.Type_Names_Suite.type_suite_info,
'trot' : StdSuites.Type_Names_Suite.rotation,
+ 'shor' : StdSuites.Type_Names_Suite.small_integer,
'fixd' : StdSuites.Type_Names_Suite.fixed,
'lpnt' : StdSuites.Type_Names_Suite.long_point,
'gcli' : StdSuites.Type_Names_Suite.type_class_info,
'tr96' : StdSuites.Type_Names_Suite.RGB96_color,
'targ' : StdSuites.Type_Names_Suite.target_id,
'tpmm' : StdSuites.Type_Names_Suite.pixel_map_record,
'pmin' : StdSuites.Type_Names_Suite.type_parameter_info,
'exte' : StdSuites.Type_Names_Suite.extended_real,
! 'lrct' : StdSuites.Type_Names_Suite.long_rectangle,
! 'tdas' : StdSuites.Type_Names_Suite.dash_style,
! 'TEXT' : StdSuites.Type_Names_Suite.plain_text,
! 'sing' : StdSuites.Type_Names_Suite.small_real,
'null' : StdSuites.Type_Names_Suite.null,
! 'insl' : StdSuites.Type_Names_Suite.location_reference,
'qdrt' : StdSuites.Type_Names_Suite.bounding_rectangle,
}
***************
*** 448,461 ****
class Finder(Standard_Suite_Events,
Containers_and_folders_Events,
! Files_and_suitcases_Events,
Finder_Basics_Events,
Finder_items_Events,
- Process_classes_Events,
Window_classes_Events,
Type_Definitions_Events,
- Earlier_terms_Events,
Enumerations_Events,
- Obsolete_terms_Events,
aetools.TalkTo):
_signature = 'MACS'
--- 217,228 ----
class Finder(Standard_Suite_Events,
+ Legacy_suite_Events,
Containers_and_folders_Events,
! Files_Events,
Finder_Basics_Events,
Finder_items_Events,
Window_classes_Events,
Type_Definitions_Events,
Enumerations_Events,
aetools.TalkTo):
_signature = 'MACS'
--- Earlier_terms.py DELETED ---
--- Files_and_suitcases.py DELETED ---
--- Obsolete_terms.py DELETED ---
--- Process_classes.py DELETED ---