2000-08-20 16:29:03 -03:00
|
|
|
"""Suite Process classes: Classes representing processes that are running
|
|
|
|
Level 1, version 1
|
|
|
|
|
2002-08-07 12:53:42 -03:00
|
|
|
Generated from /Volumes/Sap/System Folder/Finder
|
2000-08-20 16:29:03 -03:00
|
|
|
AETE/AEUT resource version 0/144, language 0, script 0
|
|
|
|
"""
|
|
|
|
|
|
|
|
import aetools
|
|
|
|
import MacOS
|
|
|
|
|
|
|
|
_code = 'fndr'
|
|
|
|
|
|
|
|
class Process_classes_Events:
|
|
|
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class process(aetools.ComponentItem):
|
|
|
|
"""process - A process running on this computer """
|
|
|
|
want = 'prcs'
|
|
|
|
class name(aetools.NProperty):
|
|
|
|
"""name - the name of the process """
|
|
|
|
which = 'pnam'
|
|
|
|
want = 'itxt'
|
|
|
|
class visible(aetools.NProperty):
|
|
|
|
"""visible - Is the process' layer visible? """
|
|
|
|
which = 'pvis'
|
|
|
|
want = 'bool'
|
|
|
|
class frontmost(aetools.NProperty):
|
|
|
|
"""frontmost - Is the process the frontmost process? """
|
|
|
|
which = 'pisf'
|
|
|
|
want = 'bool'
|
|
|
|
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 creator_type(aetools.NProperty):
|
|
|
|
"""creator type - the OSType of the creator of the process (the signature) """
|
|
|
|
which = 'fcrt'
|
|
|
|
want = 'type'
|
|
|
|
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 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 total_partition_size(aetools.NProperty):
|
|
|
|
"""total partition size - the size of the partition with which the process was launched """
|
|
|
|
which = 'appt'
|
|
|
|
want = 'long'
|
|
|
|
class partition_space_used(aetools.NProperty):
|
|
|
|
"""partition space used - the number of bytes currently used in the process' partition """
|
|
|
|
which = 'pusd'
|
|
|
|
want = 'long'
|
|
|
|
|
|
|
|
processes = process
|
|
|
|
|
|
|
|
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
|
2002-08-07 12:53:42 -03:00
|
|
|
process._superclassnames = []
|
|
|
|
process._privpropdict = {
|
2000-08-20 16:29:03 -03:00
|
|
|
'name' : name,
|
|
|
|
'visible' : visible,
|
|
|
|
'frontmost' : frontmost,
|
|
|
|
'file' : file,
|
|
|
|
'file_type' : file_type,
|
|
|
|
'creator_type' : creator_type,
|
|
|
|
'accepts_high_level_events' : accepts_high_level_events,
|
|
|
|
'accepts_remote_events' : accepts_remote_events,
|
|
|
|
'has_scripting_terminology' : has_scripting_terminology,
|
|
|
|
'total_partition_size' : total_partition_size,
|
|
|
|
'partition_space_used' : partition_space_used,
|
|
|
|
}
|
2002-08-07 12:53:42 -03:00
|
|
|
process._privelemdict = {
|
2000-08-20 16:29:03 -03:00
|
|
|
}
|
2002-08-07 12:53:42 -03:00
|
|
|
application_process._superclassnames = ['process']
|
|
|
|
application_process._privpropdict = {
|
2000-08-20 16:29:03 -03:00
|
|
|
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
|
|
|
|
'application_file' : application_file,
|
|
|
|
}
|
2002-08-07 12:53:42 -03:00
|
|
|
application_process._privelemdict = {
|
2000-08-20 16:29:03 -03:00
|
|
|
}
|
2002-08-07 12:53:42 -03:00
|
|
|
desk_accessory_process._superclassnames = ['process']
|
|
|
|
desk_accessory_process._privpropdict = {
|
2000-08-20 16:29:03 -03:00
|
|
|
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
|
|
|
|
'desk_accessory_file' : desk_accessory_file,
|
|
|
|
}
|
2002-08-07 12:53:42 -03:00
|
|
|
desk_accessory_process._privelemdict = {
|
2000-08-20 16:29:03 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
#
|
|
|
|
# Indices of types declared in this module
|
|
|
|
#
|
|
|
|
_classdeclarations = {
|
2002-04-23 18:08:54 -03:00
|
|
|
'prcs' : process,
|
2000-08-20 16:29:03 -03:00
|
|
|
'pcda' : desk_accessory_process,
|
|
|
|
'pcap' : application_process,
|
|
|
|
}
|
|
|
|
|
|
|
|
_propdeclarations = {
|
|
|
|
'pvis' : visible,
|
2002-04-23 18:08:54 -03:00
|
|
|
'pisf' : frontmost,
|
|
|
|
'appt' : total_partition_size,
|
|
|
|
'isab' : accepts_high_level_events,
|
|
|
|
'dafi' : desk_accessory_file,
|
|
|
|
'hscr' : has_scripting_terminology,
|
|
|
|
'asty' : file_type,
|
|
|
|
'c@#^' : _3c_Inheritance_3e_,
|
|
|
|
'fcrt' : creator_type,
|
|
|
|
'pusd' : partition_space_used,
|
|
|
|
'file' : file,
|
|
|
|
'pnam' : name,
|
|
|
|
'appf' : application_file,
|
|
|
|
'revt' : accepts_remote_events,
|
2000-08-20 16:29:03 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
_compdeclarations = {
|
|
|
|
}
|
|
|
|
|
|
|
|
_enumdeclarations = {
|
|
|
|
}
|