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