Bump version number to 2.4.2 to pick up the latest minor bug fixes.
[python/dscho.git] / Mac / Lib / lib-scriptpackages / Finder / Process_classes.py
bloba54741c059fcb9fa9a6b2e4b77761cd3463d0707
1 """Suite Process classes: Classes representing processes that are running
2 Level 1, version 1
4 Generated from /Volumes/Sap/System Folder/Finder
5 AETE/AEUT resource version 0/144, language 0, script 0
6 """
8 import aetools
9 import MacOS
11 _code = 'fndr'
13 class Process_classes_Events:
15 pass
18 class process(aetools.ComponentItem):
19 """process - A process running on this computer """
20 want = 'prcs'
21 class name(aetools.NProperty):
22 """name - the name of the process """
23 which = 'pnam'
24 want = 'itxt'
25 class visible(aetools.NProperty):
26 """visible - Is the process' layer visible? """
27 which = 'pvis'
28 want = 'bool'
29 class frontmost(aetools.NProperty):
30 """frontmost - Is the process the frontmost process? """
31 which = 'pisf'
32 want = 'bool'
33 class file(aetools.NProperty):
34 """file - the file from which the process was launched """
35 which = 'file'
36 want = 'obj '
37 class file_type(aetools.NProperty):
38 """file type - the OSType of the file type of the process """
39 which = 'asty'
40 want = 'type'
41 class creator_type(aetools.NProperty):
42 """creator type - the OSType of the creator of the process (the signature) """
43 which = 'fcrt'
44 want = 'type'
45 class accepts_high_level_events(aetools.NProperty):
46 """accepts high level events - Is the process high-level event aware (accepts open application, open document, print document, and quit)? """
47 which = 'isab'
48 want = 'bool'
49 class accepts_remote_events(aetools.NProperty):
50 """accepts remote events - Does the process accept remote events? """
51 which = 'revt'
52 want = 'bool'
53 class has_scripting_terminology(aetools.NProperty):
54 """has scripting terminology - Does the process have a scripting terminology, i.e., can it be scripted? """
55 which = 'hscr'
56 want = 'bool'
57 class total_partition_size(aetools.NProperty):
58 """total partition size - the size of the partition with which the process was launched """
59 which = 'appt'
60 want = 'long'
61 class partition_space_used(aetools.NProperty):
62 """partition space used - the number of bytes currently used in the process' partition """
63 which = 'pusd'
64 want = 'long'
66 processes = process
68 class application_process(aetools.ComponentItem):
69 """application process - A process launched from an application file """
70 want = 'pcap'
71 class _3c_Inheritance_3e_(aetools.NProperty):
72 """<Inheritance> - inherits some of its properties from the process class """
73 which = 'c@#^'
74 want = 'prcs'
75 class application_file(aetools.NProperty):
76 """application file - the application file from which this process was launched """
77 which = 'appf'
78 want = 'appf'
80 application_processes = application_process
82 class desk_accessory_process(aetools.ComponentItem):
83 """desk accessory process - A process launched from a desk accessory file """
84 want = 'pcda'
85 class desk_accessory_file(aetools.NProperty):
86 """desk accessory file - the desk accessory file from which this process was launched """
87 which = 'dafi'
88 want = 'obj '
90 desk_accessory_processes = desk_accessory_process
91 process._superclassnames = []
92 process._privpropdict = {
93 'name' : name,
94 'visible' : visible,
95 'frontmost' : frontmost,
96 'file' : file,
97 'file_type' : file_type,
98 'creator_type' : creator_type,
99 'accepts_high_level_events' : accepts_high_level_events,
100 'accepts_remote_events' : accepts_remote_events,
101 'has_scripting_terminology' : has_scripting_terminology,
102 'total_partition_size' : total_partition_size,
103 'partition_space_used' : partition_space_used,
105 process._privelemdict = {
107 application_process._superclassnames = ['process']
108 application_process._privpropdict = {
109 '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
110 'application_file' : application_file,
112 application_process._privelemdict = {
114 desk_accessory_process._superclassnames = ['process']
115 desk_accessory_process._privpropdict = {
116 '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
117 'desk_accessory_file' : desk_accessory_file,
119 desk_accessory_process._privelemdict = {
123 # Indices of types declared in this module
125 _classdeclarations = {
126 'prcs' : process,
127 'pcda' : desk_accessory_process,
128 'pcap' : application_process,
131 _propdeclarations = {
132 'pvis' : visible,
133 'pisf' : frontmost,
134 'appt' : total_partition_size,
135 'isab' : accepts_high_level_events,
136 'dafi' : desk_accessory_file,
137 'hscr' : has_scripting_terminology,
138 'asty' : file_type,
139 'c@#^' : _3c_Inheritance_3e_,
140 'fcrt' : creator_type,
141 'pusd' : partition_space_used,
142 'file' : file,
143 'pnam' : name,
144 'appf' : application_file,
145 'revt' : accepts_remote_events,
148 _compdeclarations = {
151 _enumdeclarations = {