home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 May / maximum-cd-2010-05.iso / DiscContents / boxee-0.9.20.10711.exe / system / python / Lib / plat-mac / lib-scriptpackages / SystemEvents / Processes_Suite.pyo (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2009-07-20  |  7.9 KB  |  222 lines

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