|
14082
|
1 """Suite Process classes: Classes representing processes that are running
|
|
|
2 Level 1, version 1
|
|
|
3
|
|
23269
|
4 Generated from Moes:Systeemmap:Finder
|
|
14082
|
5 AETE/AEUT resource version 0/144, language 0, script 0
|
|
|
6 """
|
|
|
7
|
|
|
8 import aetools
|
|
|
9 import MacOS
|
|
|
10
|
|
|
11 _code = 'fndr'
|
|
|
12
|
|
|
13 class Process_classes_Events:
|
|
|
14
|
|
|
15 pass
|
|
|
16
|
|
|
17
|
|
|
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'
|
|
|
65
|
|
|
66 processes = process
|
|
|
67
|
|
|
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'
|
|
|
79
|
|
|
80 application_processes = application_process
|
|
|
81
|
|
|
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 '
|
|
|
89
|
|
|
90 desk_accessory_processes = desk_accessory_process
|
|
|
91 process._propdict = {
|
|
|
92 'name' : name,
|
|
|
93 'visible' : visible,
|
|
|
94 'frontmost' : frontmost,
|
|
|
95 'file' : file,
|
|
|
96 'file_type' : file_type,
|
|
|
97 'creator_type' : creator_type,
|
|
|
98 'accepts_high_level_events' : accepts_high_level_events,
|
|
|
99 'accepts_remote_events' : accepts_remote_events,
|
|
|
100 'has_scripting_terminology' : has_scripting_terminology,
|
|
|
101 'total_partition_size' : total_partition_size,
|
|
|
102 'partition_space_used' : partition_space_used,
|
|
|
103 }
|
|
|
104 process._elemdict = {
|
|
|
105 }
|
|
|
106 application_process._propdict = {
|
|
|
107 '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
|
|
|
108 'application_file' : application_file,
|
|
|
109 }
|
|
|
110 application_process._elemdict = {
|
|
|
111 }
|
|
|
112 desk_accessory_process._propdict = {
|
|
|
113 '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
|
|
|
114 'desk_accessory_file' : desk_accessory_file,
|
|
|
115 }
|
|
|
116 desk_accessory_process._elemdict = {
|
|
|
117 }
|
|
|
118
|
|
|
119 #
|
|
|
120 # Indices of types declared in this module
|
|
|
121 #
|
|
|
122 _classdeclarations = {
|
|
23269
|
123 'prcs' : process,
|
|
14082
|
124 'pcda' : desk_accessory_process,
|
|
|
125 'pcap' : application_process,
|
|
|
126 }
|
|
|
127
|
|
|
128 _propdeclarations = {
|
|
23269
|
129 'pvis' : visible,
|
|
|
130 'pisf' : frontmost,
|
|
|
131 'appt' : total_partition_size,
|
|
|
132 'isab' : accepts_high_level_events,
|
|
|
133 'dafi' : desk_accessory_file,
|
|
|
134 'hscr' : has_scripting_terminology,
|
|
|
135 'asty' : file_type,
|
|
14082
|
136 'c@#^' : _3c_Inheritance_3e_,
|
|
23269
|
137 'fcrt' : creator_type,
|
|
|
138 'pusd' : partition_space_used,
|
|
|
139 'file' : file,
|
|
|
140 'pnam' : name,
|
|
|
141 'appf' : application_file,
|
|
|
142 'revt' : accepts_remote_events,
|
|
14082
|
143 }
|
|
|
144
|
|
|
145 _compdeclarations = {
|
|
|
146 }
|
|
|
147
|
|
|
148 _enumdeclarations = {
|
|
|
149 }
|