| 1 | n/a | """Suite Processes Suite: Terms and Events for controlling Processes |
|---|
| 2 | n/a | Level 1, version 1 |
|---|
| 3 | n/a | |
|---|
| 4 | n/a | Generated from /System/Library/CoreServices/System Events.app |
|---|
| 5 | n/a | AETE/AEUT resource version 1/0, language 0, script 0 |
|---|
| 6 | n/a | """ |
|---|
| 7 | n/a | |
|---|
| 8 | n/a | import aetools |
|---|
| 9 | n/a | import MacOS |
|---|
| 10 | n/a | |
|---|
| 11 | n/a | _code = 'prcs' |
|---|
| 12 | n/a | |
|---|
| 13 | n/a | class Processes_Suite_Events: |
|---|
| 14 | n/a | |
|---|
| 15 | n/a | pass |
|---|
| 16 | n/a | |
|---|
| 17 | n/a | |
|---|
| 18 | n/a | class application(aetools.ComponentItem): |
|---|
| 19 | n/a | """application - The Processes Suite host program """ |
|---|
| 20 | n/a | want = 'capp' |
|---|
| 21 | n/a | class _Prop__3c_Inheritance_3e_(aetools.NProperty): |
|---|
| 22 | n/a | """<Inheritance> - All of the properties of the superclass. """ |
|---|
| 23 | n/a | which = 'c@#^' |
|---|
| 24 | n/a | want = 'capp' |
|---|
| 25 | n/a | _3c_Inheritance_3e_ = _Prop__3c_Inheritance_3e_() |
|---|
| 26 | n/a | class _Prop_folder_actions_enabled(aetools.NProperty): |
|---|
| 27 | n/a | """folder actions enabled - Are Folder Actions currently being processed? """ |
|---|
| 28 | n/a | which = 'faen' |
|---|
| 29 | n/a | want = 'bool' |
|---|
| 30 | n/a | folder_actions_enabled = _Prop_folder_actions_enabled() |
|---|
| 31 | n/a | class _Prop_properties(aetools.NProperty): |
|---|
| 32 | n/a | """properties - every property of the Processes Suite host program """ |
|---|
| 33 | n/a | which = 'pALL' |
|---|
| 34 | n/a | want = '****' |
|---|
| 35 | n/a | properties = _Prop_properties() |
|---|
| 36 | n/a | # element 'cdis' as ['name', 'indx', 'rele', 'rang', 'test'] |
|---|
| 37 | n/a | # element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test'] |
|---|
| 38 | n/a | # element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test'] |
|---|
| 39 | n/a | # element 'cwin' as ['name', 'indx', 'rele', 'rang', 'test', 'ID '] |
|---|
| 40 | n/a | # element 'docu' as ['name', 'indx', 'rele', 'rang', 'test'] |
|---|
| 41 | n/a | # element 'file' as ['name', 'indx', 'rele', 'rang', 'test'] |
|---|
| 42 | n/a | # element 'foac' as ['name', 'indx', 'rele', 'rang', 'test'] |
|---|
| 43 | n/a | # element 'logi' as ['name', 'indx', 'rele', 'rang', 'test'] |
|---|
| 44 | n/a | # element 'pcap' as ['name', 'indx', 'rele', 'rang', 'test'] |
|---|
| 45 | n/a | # element 'pcda' as ['name', 'indx', 'rele', 'rang', 'test'] |
|---|
| 46 | n/a | # element 'prcs' as ['name', 'indx', 'rele', 'rang', 'test'] |
|---|
| 47 | n/a | |
|---|
| 48 | n/a | applications = application |
|---|
| 49 | n/a | |
|---|
| 50 | n/a | class application_process(aetools.ComponentItem): |
|---|
| 51 | n/a | """application process - A process launched from an application file """ |
|---|
| 52 | n/a | want = 'pcap' |
|---|
| 53 | n/a | class _Prop_application_file(aetools.NProperty): |
|---|
| 54 | n/a | """application file - a reference to the application file from which this process was launched """ |
|---|
| 55 | n/a | which = 'appf' |
|---|
| 56 | n/a | want = '****' |
|---|
| 57 | n/a | |
|---|
| 58 | n/a | application_processes = application_process |
|---|
| 59 | n/a | |
|---|
| 60 | n/a | class desk_accessory_process(aetools.ComponentItem): |
|---|
| 61 | n/a | """desk accessory process - A process launched from an desk accessory file """ |
|---|
| 62 | n/a | want = 'pcda' |
|---|
| 63 | n/a | class _Prop_desk_accessory_file(aetools.NProperty): |
|---|
| 64 | n/a | """desk accessory file - a reference to the desk accessory file from which this process was launched """ |
|---|
| 65 | n/a | which = 'dafi' |
|---|
| 66 | n/a | want = '****' |
|---|
| 67 | n/a | |
|---|
| 68 | n/a | desk_accessory_processes = desk_accessory_process |
|---|
| 69 | n/a | |
|---|
| 70 | n/a | class process(aetools.ComponentItem): |
|---|
| 71 | n/a | """process - A process running on this computer """ |
|---|
| 72 | n/a | want = 'prcs' |
|---|
| 73 | n/a | class _Prop_accepts_high_level_events(aetools.NProperty): |
|---|
| 74 | n/a | """accepts high level events - Is the process high-level event aware (accepts open application, open document, print document, and quit)? """ |
|---|
| 75 | n/a | which = 'isab' |
|---|
| 76 | n/a | want = 'bool' |
|---|
| 77 | n/a | class _Prop_accepts_remote_events(aetools.NProperty): |
|---|
| 78 | n/a | """accepts remote events - Does the process accept remote events? """ |
|---|
| 79 | n/a | which = 'revt' |
|---|
| 80 | n/a | want = 'bool' |
|---|
| 81 | n/a | class _Prop_classic(aetools.NProperty): |
|---|
| 82 | n/a | """classic - Is the process running in the Classic environment? """ |
|---|
| 83 | n/a | which = 'clsc' |
|---|
| 84 | n/a | want = 'bool' |
|---|
| 85 | n/a | class _Prop_creator_type(aetools.NProperty): |
|---|
| 86 | n/a | """creator type - the OSType of the creator of the process (the signature) """ |
|---|
| 87 | n/a | which = 'fcrt' |
|---|
| 88 | n/a | want = 'utxt' |
|---|
| 89 | n/a | class _Prop_file(aetools.NProperty): |
|---|
| 90 | n/a | """file - the file from which the process was launched """ |
|---|
| 91 | n/a | which = 'file' |
|---|
| 92 | n/a | want = '****' |
|---|
| 93 | n/a | class _Prop_file_type(aetools.NProperty): |
|---|
| 94 | n/a | """file type - the OSType of the file type of the process """ |
|---|
| 95 | n/a | which = 'asty' |
|---|
| 96 | n/a | want = 'utxt' |
|---|
| 97 | n/a | class _Prop_frontmost(aetools.NProperty): |
|---|
| 98 | n/a | """frontmost - Is the process the frontmost process """ |
|---|
| 99 | n/a | which = 'pisf' |
|---|
| 100 | n/a | want = 'bool' |
|---|
| 101 | n/a | class _Prop_has_scripting_terminology(aetools.NProperty): |
|---|
| 102 | n/a | """has scripting terminology - Does the process have a scripting terminology, i.e., can it be scripted? """ |
|---|
| 103 | n/a | which = 'hscr' |
|---|
| 104 | n/a | want = 'bool' |
|---|
| 105 | n/a | class _Prop_name(aetools.NProperty): |
|---|
| 106 | n/a | """name - the name of the process """ |
|---|
| 107 | n/a | which = 'pnam' |
|---|
| 108 | n/a | want = 'utxt' |
|---|
| 109 | n/a | class _Prop_partition_space_used(aetools.NProperty): |
|---|
| 110 | n/a | """partition space used - the number of bytes currently used in the process' partition """ |
|---|
| 111 | n/a | which = 'pusd' |
|---|
| 112 | n/a | want = 'magn' |
|---|
| 113 | n/a | class _Prop_total_partition_size(aetools.NProperty): |
|---|
| 114 | n/a | """total partition size - the size of the partition with which the process was launched """ |
|---|
| 115 | n/a | which = 'appt' |
|---|
| 116 | n/a | want = 'magn' |
|---|
| 117 | n/a | class _Prop_visible(aetools.NProperty): |
|---|
| 118 | n/a | """visible - Is the process' layer visible? """ |
|---|
| 119 | n/a | which = 'pvis' |
|---|
| 120 | n/a | want = 'bool' |
|---|
| 121 | n/a | |
|---|
| 122 | n/a | processes = process |
|---|
| 123 | n/a | application._superclassnames = [] |
|---|
| 124 | n/a | import Disk_Folder_File_Suite |
|---|
| 125 | n/a | import Standard_Suite |
|---|
| 126 | n/a | import Folder_Actions_Suite |
|---|
| 127 | n/a | import Login_Items_Suite |
|---|
| 128 | n/a | application._privpropdict = { |
|---|
| 129 | n/a | '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, |
|---|
| 130 | n/a | 'folder_actions_enabled' : _Prop_folder_actions_enabled, |
|---|
| 131 | n/a | 'properties' : _Prop_properties, |
|---|
| 132 | n/a | } |
|---|
| 133 | n/a | application._privelemdict = { |
|---|
| 134 | n/a | 'application_process' : application_process, |
|---|
| 135 | n/a | 'desk_accessory_process' : desk_accessory_process, |
|---|
| 136 | n/a | 'disk' : Disk_Folder_File_Suite.disk, |
|---|
| 137 | n/a | 'document' : Standard_Suite.document, |
|---|
| 138 | n/a | 'file' : Disk_Folder_File_Suite.file, |
|---|
| 139 | n/a | 'folder' : Disk_Folder_File_Suite.folder, |
|---|
| 140 | n/a | 'folder_action' : Folder_Actions_Suite.folder_action, |
|---|
| 141 | n/a | 'item' : Disk_Folder_File_Suite.item, |
|---|
| 142 | n/a | 'login_item' : Login_Items_Suite.login_item, |
|---|
| 143 | n/a | 'process' : process, |
|---|
| 144 | n/a | 'window' : Standard_Suite.window, |
|---|
| 145 | n/a | } |
|---|
| 146 | n/a | application_process._superclassnames = ['process'] |
|---|
| 147 | n/a | application_process._privpropdict = { |
|---|
| 148 | n/a | '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, |
|---|
| 149 | n/a | 'application_file' : _Prop_application_file, |
|---|
| 150 | n/a | } |
|---|
| 151 | n/a | application_process._privelemdict = { |
|---|
| 152 | n/a | } |
|---|
| 153 | n/a | desk_accessory_process._superclassnames = ['process'] |
|---|
| 154 | n/a | desk_accessory_process._privpropdict = { |
|---|
| 155 | n/a | '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, |
|---|
| 156 | n/a | 'desk_accessory_file' : _Prop_desk_accessory_file, |
|---|
| 157 | n/a | } |
|---|
| 158 | n/a | desk_accessory_process._privelemdict = { |
|---|
| 159 | n/a | } |
|---|
| 160 | n/a | process._superclassnames = ['item'] |
|---|
| 161 | n/a | process._privpropdict = { |
|---|
| 162 | n/a | '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, |
|---|
| 163 | n/a | 'accepts_high_level_events' : _Prop_accepts_high_level_events, |
|---|
| 164 | n/a | 'accepts_remote_events' : _Prop_accepts_remote_events, |
|---|
| 165 | n/a | 'classic' : _Prop_classic, |
|---|
| 166 | n/a | 'creator_type' : _Prop_creator_type, |
|---|
| 167 | n/a | 'file' : _Prop_file, |
|---|
| 168 | n/a | 'file_type' : _Prop_file_type, |
|---|
| 169 | n/a | 'frontmost' : _Prop_frontmost, |
|---|
| 170 | n/a | 'has_scripting_terminology' : _Prop_has_scripting_terminology, |
|---|
| 171 | n/a | 'name' : _Prop_name, |
|---|
| 172 | n/a | 'partition_space_used' : _Prop_partition_space_used, |
|---|
| 173 | n/a | 'properties' : _Prop_properties, |
|---|
| 174 | n/a | 'total_partition_size' : _Prop_total_partition_size, |
|---|
| 175 | n/a | 'visible' : _Prop_visible, |
|---|
| 176 | n/a | } |
|---|
| 177 | n/a | process._privelemdict = { |
|---|
| 178 | n/a | } |
|---|
| 179 | n/a | |
|---|
| 180 | n/a | # |
|---|
| 181 | n/a | # Indices of types declared in this module |
|---|
| 182 | n/a | # |
|---|
| 183 | n/a | _classdeclarations = { |
|---|
| 184 | n/a | 'capp' : application, |
|---|
| 185 | n/a | 'pcap' : application_process, |
|---|
| 186 | n/a | 'pcda' : desk_accessory_process, |
|---|
| 187 | n/a | 'prcs' : process, |
|---|
| 188 | n/a | } |
|---|
| 189 | n/a | |
|---|
| 190 | n/a | _propdeclarations = { |
|---|
| 191 | n/a | 'appf' : _Prop_application_file, |
|---|
| 192 | n/a | 'appt' : _Prop_total_partition_size, |
|---|
| 193 | n/a | 'asty' : _Prop_file_type, |
|---|
| 194 | n/a | 'c@#^' : _Prop__3c_Inheritance_3e_, |
|---|
| 195 | n/a | 'clsc' : _Prop_classic, |
|---|
| 196 | n/a | 'dafi' : _Prop_desk_accessory_file, |
|---|
| 197 | n/a | 'faen' : _Prop_folder_actions_enabled, |
|---|
| 198 | n/a | 'fcrt' : _Prop_creator_type, |
|---|
| 199 | n/a | 'file' : _Prop_file, |
|---|
| 200 | n/a | 'hscr' : _Prop_has_scripting_terminology, |
|---|
| 201 | n/a | 'isab' : _Prop_accepts_high_level_events, |
|---|
| 202 | n/a | 'pALL' : _Prop_properties, |
|---|
| 203 | n/a | 'pisf' : _Prop_frontmost, |
|---|
| 204 | n/a | 'pnam' : _Prop_name, |
|---|
| 205 | n/a | 'pusd' : _Prop_partition_space_used, |
|---|
| 206 | n/a | 'pvis' : _Prop_visible, |
|---|
| 207 | n/a | 'revt' : _Prop_accepts_remote_events, |
|---|
| 208 | n/a | } |
|---|
| 209 | n/a | |
|---|
| 210 | n/a | _compdeclarations = { |
|---|
| 211 | n/a | } |
|---|
| 212 | n/a | |
|---|
| 213 | n/a | _enumdeclarations = { |
|---|
| 214 | n/a | } |
|---|