ó
Ò¬Qc           @   s°  d  Z  d d l Z d d l Z d Z d dM d „  ƒ  YZ d e j f d „  ƒ  YZ d e j f d	 „  ƒ  YZ e ƒ  Z	 d
 e j f d „  ƒ  YZ
 d e j f d „  ƒ  YZ d e j f d „  ƒ  YZ e
 Z d e j f d „  ƒ  YZ d e j f d „  ƒ  YZ e Z d e j f d „  ƒ  YZ d e j f d „  ƒ  YZ d e j f d „  ƒ  YZ d e j f d „  ƒ  YZ d e j f d „  ƒ  YZ d e j f d „  ƒ  YZ d  e j f d! „  ƒ  YZ d" e j f d# „  ƒ  YZ d$ e j f d% „  ƒ  YZ d& e j f d' „  ƒ  YZ d( e j f d) „  ƒ  YZ d* e j f d+ „  ƒ  YZ e Z g  e _ i e d, 6e _ i  e _  d g e
 _ i e d- 6e d. 6e
 _ i  e
 _  d g e _ i e d- 6e d/ 6e _ i  e _  g  e _ i e d0 6e d1 6e d2 6e d3 6e d4 6e d5 6e d6 6e d7 6e d8 6e d9 6e d: 6e _ i  e _  i e d; 6e
 d< 6e d= 6e d> 6Z! i e d? 6e d@ 6e dA 6e dB 6e dC 6e dD 6e dE 6e d3 6e dF 6e dG 6e dH 6e dI 6e dJ 6e dK 6e dL 6Z" i  Z# i  Z$ d S(N   s÷   Suite Legacy suite: Operations formerly handled by the Finder, but now automatically delegated to other applications
Level 1, version 1

Generated from /System/Library/CoreServices/Finder.app
AETE/AEUT resource version 0/144, language 0, script 0
iÿÿÿÿNt   flegt   Legacy_suite_Eventsc           B   s5   e  Z d i  d  „ Z d i  d „ Z d i  d „ Z RS(   c         K   sœ   d } d } | r t  d ‚ n  | d k	 r6 t  d ‚ n  |  j | | | | ƒ \ } } } | j d d ƒ r t j t j | ƒ ‚ n  | j d ƒ r˜ | d Sd S(	   sl   restart: Restart the computer
        Keyword argument _attributes: AppleEvent attribute dictionary
        t   fndrt   rests   No optional args expecteds   No direct arg expectedt   errni    s   ----N(   t	   TypeErrort   Nonet   sendt   gett   aetoolst   Errort   decodeerrort   has_key(   t   selft
   _no_objectt   _attributest
   _argumentst   _codet   _subcodet   _reply(    (    s\   /Users/tom/newbuild/install/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Legacy_suite.pyt   restart   s      c         K   sœ   d } d } | r t  d ‚ n  | d k	 r6 t  d ‚ n  |  j | | | | ƒ \ } } } | j d d ƒ r t j t j | ƒ ‚ n  | j d ƒ r˜ | d Sd S(	   sp   shut down: Shut Down the computer
        Keyword argument _attributes: AppleEvent attribute dictionary
        R   t   shuts   No optional args expecteds   No direct arg expectedR   i    s   ----N(   R   R   R   R   R	   R
   R   R   (   R   R   R   R   R   R   R   (    (    s\   /Users/tom/newbuild/install/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Legacy_suite.pyt	   shut_down"   s      c         K   sœ   d } d } | r t  d ‚ n  | d k	 r6 t  d ‚ n  |  j | | | | ƒ \ } } } | j d d ƒ r t j t j | ƒ ‚ n  | j d ƒ r˜ | d Sd S(	   so   sleep: Put the computer to sleep
        Keyword argument _attributes: AppleEvent attribute dictionary
        R   t   sleps   No optional args expecteds   No direct arg expectedR   i    s   ----N(   R   R   R   R   R	   R
   R   R   (   R   R   R   R   R   R   R   (    (    s\   /Users/tom/newbuild/install/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Legacy_suite.pyt   sleep5   s      N(   t   __name__t
   __module__R   R   R   R   (    (    (    s\   /Users/tom/newbuild/install/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Legacy_suite.pyR      s   t   applicationc           B   s   e  Z d  Z d Z RS(   s   application - The Finder t   capp(   R   R   t   __doc__t   want(    (    (    s\   /Users/tom/newbuild/install/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Legacy_suite.pyR   I   s   t   _Prop_desktop_picturec           B   s   e  Z d  Z d Z d Z RS(   s:   desktop picture - the desktop picture of the main monitor t   dpict   file(   R   R   R   t   whichR   (    (    (    s\   /Users/tom/newbuild/install/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Legacy_suite.pyR   L   s   t   application_processc           B   s   e  Z d  Z d Z RS(   sB   application process - A process launched from an application file t   pcap(   R   R   R   R   (    (    (    s\   /Users/tom/newbuild/install/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Legacy_suite.pyR#   R   s   t   _Prop__3c_Inheritance_3e_c           B   s   e  Z d  Z d Z d Z RS(   sG   <Inheritance> - inherits some of its properties from the process class s   c@#^t   prcs(   R   R   R   R"   R   (    (    (    s\   /Users/tom/newbuild/install/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Legacy_suite.pyR%   U   s   t   _Prop_application_filec           B   s   e  Z d  Z d Z d Z RS(   sM   application file - the application file from which this process was launched t   appf(   R   R   R   R"   R   (    (    (    s\   /Users/tom/newbuild/install/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Legacy_suite.pyR'   Y   s   t   desk_accessory_processc           B   s   e  Z d  Z d Z RS(   sG   desk accessory process - A process launched from a desk accessory file t   pcda(   R   R   R   R   (    (    (    s\   /Users/tom/newbuild/install/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Legacy_suite.pyR)   `   s   t   _Prop_desk_accessory_filec           B   s   e  Z d  Z d Z d Z RS(   sS   desk accessory file - the desk accessory file from which this process was launched t   dafis   obj (   R   R   R   R"   R   (    (    (    s\   /Users/tom/newbuild/install/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Legacy_suite.pyR+   c   s   t   processc           B   s   e  Z d  Z d Z RS(   s-   process - A process running on this computer R&   (   R   R   R   R   (    (    (    s\   /Users/tom/newbuild/install/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Legacy_suite.pyR-   j   s   t   _Prop_accepts_high_level_eventsc           B   s   e  Z d  Z d Z d Z RS(   s‡   accepts high level events - Is the process high-level event aware (accepts open application, open document, print document, and quit)? t   isabt   bool(   R   R   R   R"   R   (    (    (    s\   /Users/tom/newbuild/install/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Legacy_suite.pyR.   m   s   t   _Prop_accepts_remote_eventsc           B   s   e  Z d  Z d Z d Z RS(   s?   accepts remote events - Does the process accept remote events? t   revtR0   (   R   R   R   R"   R   (    (    (    s\   /Users/tom/newbuild/install/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Legacy_suite.pyR1   q   s   t   _Prop_creator_typec           B   s   e  Z d  Z d Z d Z RS(   sH   creator type - the OSType of the creator of the process (the signature) t   fcrtt   type(   R   R   R   R"   R   (    (    (    s\   /Users/tom/newbuild/install/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Legacy_suite.pyR3   u   s   t
   _Prop_filec           B   s   e  Z d  Z d Z d Z RS(   s4   file - the file from which the process was launched R!   s   obj (   R   R   R   R"   R   (    (    (    s\   /Users/tom/newbuild/install/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Legacy_suite.pyR6   y   s   t   _Prop_file_typec           B   s   e  Z d  Z d Z d Z RS(   s7   file type - the OSType of the file type of the process t   astyR5   (   R   R   R   R"   R   (    (    (    s\   /Users/tom/newbuild/install/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Legacy_suite.pyR7   }   s   t   _Prop_frontmostc           B   s   e  Z d  Z d Z d Z RS(   s2   frontmost - Is the process the frontmost process? t   pisfR0   (   R   R   R   R"   R   (    (    (    s\   /Users/tom/newbuild/install/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Legacy_suite.pyR9      s   t   _Prop_has_scripting_terminologyc           B   s   e  Z d  Z d Z d Z RS(   se   has scripting terminology - Does the process have a scripting terminology, i.e., can it be scripted? t   hscrR0   (   R   R   R   R"   R   (    (    (    s\   /Users/tom/newbuild/install/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Legacy_suite.pyR;   …   s   t
   _Prop_namec           B   s   e  Z d  Z d Z d Z RS(   s   name - the name of the process t   pnamt   itxt(   R   R   R   R"   R   (    (    (    s\   /Users/tom/newbuild/install/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Legacy_suite.pyR=   ‰   s   t   _Prop_partition_space_usedc           B   s   e  Z d  Z d Z d Z RS(   sT   partition space used - the number of bytes currently used in the process' partition t   pusdt   long(   R   R   R   R"   R   (    (    (    s\   /Users/tom/newbuild/install/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Legacy_suite.pyR@      s   t   _Prop_total_partition_sizec           B   s   e  Z d  Z d Z d Z RS(   sU   total partition size - the size of the partition with which the process was launched t   apptRB   (   R   R   R   R"   R   (    (    (    s\   /Users/tom/newbuild/install/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Legacy_suite.pyRC   ‘   s   t   _Prop_visiblec           B   s   e  Z d  Z d Z d Z RS(   s)   visible - Is the process' layer visible? t   pvisR0   (   R   R   R   R"   R   (    (    (    s\   /Users/tom/newbuild/install/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Legacy_suite.pyRE   •   s   t   desktop_picturet   _3c_Inheritance_3e_t   application_filet   desk_accessory_filet   accepts_high_level_eventst   accepts_remote_eventst   creator_typeR!   t	   file_typet	   frontmostt   has_scripting_terminologyt   namet   partition_space_usedt   total_partition_sizet   visibleR   R$   R*   R&   R(   RD   R8   s   c@#^R,   R    R4   R<   R/   R:   R>   RA   RF   R2   (    (%   R   R	   t   MacOSR   R   t   ComponentItemR   t	   NPropertyR   RG   R#   R%   R'   t   application_processesR)   R+   t   desk_accessory_processesR-   R.   R1   R3   R6   R7   R9   R;   R=   R@   RC   RE   t	   processest   _superclassnamest   _privpropdictt   _privelemdictt   _classdeclarationst   _propdeclarationst   _compdeclarationst   _enumdeclarations(    (    (    s\   /Users/tom/newbuild/install/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Legacy_suite.pyt   <module>   sœ   <							

