SystemEvents
index
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/SystemEvents/__init__.py
Module Docs

Package generated from /System/Library/CoreServices/System Events.app

 
Package Contents
       
Disk_Folder_File_Suite
Folder_Actions_Suite
Hidden_Suite
Login_Items_Suite
Power_Suite
Processes_Suite
Standard_Suite
System_Events_Suite
Text_Suite

 
Classes
       
SystemEvents.Disk_Folder_File_Suite.Disk_Folder_File_Suite_Events
SystemEvents(SystemEvents.Standard_Suite.Standard_Suite_Events, SystemEvents.Text_Suite.Text_Suite_Events, SystemEvents.Disk_Folder_File_Suite.Disk_Folder_File_Suite_Events, SystemEvents.Folder_Actions_Suite.Folder_Actions_Suite_Events, SystemEvents.Login_Items_Suite.Login_Items_Suite_Events, SystemEvents.Power_Suite.Power_Suite_Events, SystemEvents.Processes_Suite.Processes_Suite_Events, SystemEvents.System_Events_Suite.System_Events_Suite_Events, aetools.TalkTo)
SystemEvents.Folder_Actions_Suite.Folder_Actions_Suite_Events
SystemEvents(SystemEvents.Standard_Suite.Standard_Suite_Events, SystemEvents.Text_Suite.Text_Suite_Events, SystemEvents.Disk_Folder_File_Suite.Disk_Folder_File_Suite_Events, SystemEvents.Folder_Actions_Suite.Folder_Actions_Suite_Events, SystemEvents.Login_Items_Suite.Login_Items_Suite_Events, SystemEvents.Power_Suite.Power_Suite_Events, SystemEvents.Processes_Suite.Processes_Suite_Events, SystemEvents.System_Events_Suite.System_Events_Suite_Events, aetools.TalkTo)
SystemEvents.Login_Items_Suite.Login_Items_Suite_Events
SystemEvents(SystemEvents.Standard_Suite.Standard_Suite_Events, SystemEvents.Text_Suite.Text_Suite_Events, SystemEvents.Disk_Folder_File_Suite.Disk_Folder_File_Suite_Events, SystemEvents.Folder_Actions_Suite.Folder_Actions_Suite_Events, SystemEvents.Login_Items_Suite.Login_Items_Suite_Events, SystemEvents.Power_Suite.Power_Suite_Events, SystemEvents.Processes_Suite.Processes_Suite_Events, SystemEvents.System_Events_Suite.System_Events_Suite_Events, aetools.TalkTo)
SystemEvents.Power_Suite.Power_Suite_Events
SystemEvents(SystemEvents.Standard_Suite.Standard_Suite_Events, SystemEvents.Text_Suite.Text_Suite_Events, SystemEvents.Disk_Folder_File_Suite.Disk_Folder_File_Suite_Events, SystemEvents.Folder_Actions_Suite.Folder_Actions_Suite_Events, SystemEvents.Login_Items_Suite.Login_Items_Suite_Events, SystemEvents.Power_Suite.Power_Suite_Events, SystemEvents.Processes_Suite.Processes_Suite_Events, SystemEvents.System_Events_Suite.System_Events_Suite_Events, aetools.TalkTo)
SystemEvents.Processes_Suite.Processes_Suite_Events
SystemEvents(SystemEvents.Standard_Suite.Standard_Suite_Events, SystemEvents.Text_Suite.Text_Suite_Events, SystemEvents.Disk_Folder_File_Suite.Disk_Folder_File_Suite_Events, SystemEvents.Folder_Actions_Suite.Folder_Actions_Suite_Events, SystemEvents.Login_Items_Suite.Login_Items_Suite_Events, SystemEvents.Power_Suite.Power_Suite_Events, SystemEvents.Processes_Suite.Processes_Suite_Events, SystemEvents.System_Events_Suite.System_Events_Suite_Events, aetools.TalkTo)
SystemEvents.Standard_Suite.Standard_Suite_Events
SystemEvents(SystemEvents.Standard_Suite.Standard_Suite_Events, SystemEvents.Text_Suite.Text_Suite_Events, SystemEvents.Disk_Folder_File_Suite.Disk_Folder_File_Suite_Events, SystemEvents.Folder_Actions_Suite.Folder_Actions_Suite_Events, SystemEvents.Login_Items_Suite.Login_Items_Suite_Events, SystemEvents.Power_Suite.Power_Suite_Events, SystemEvents.Processes_Suite.Processes_Suite_Events, SystemEvents.System_Events_Suite.System_Events_Suite_Events, aetools.TalkTo)
SystemEvents.System_Events_Suite.System_Events_Suite_Events
SystemEvents(SystemEvents.Standard_Suite.Standard_Suite_Events, SystemEvents.Text_Suite.Text_Suite_Events, SystemEvents.Disk_Folder_File_Suite.Disk_Folder_File_Suite_Events, SystemEvents.Folder_Actions_Suite.Folder_Actions_Suite_Events, SystemEvents.Login_Items_Suite.Login_Items_Suite_Events, SystemEvents.Power_Suite.Power_Suite_Events, SystemEvents.Processes_Suite.Processes_Suite_Events, SystemEvents.System_Events_Suite.System_Events_Suite_Events, aetools.TalkTo)
SystemEvents.Text_Suite.Text_Suite_Events
SystemEvents(SystemEvents.Standard_Suite.Standard_Suite_Events, SystemEvents.Text_Suite.Text_Suite_Events, SystemEvents.Disk_Folder_File_Suite.Disk_Folder_File_Suite_Events, SystemEvents.Folder_Actions_Suite.Folder_Actions_Suite_Events, SystemEvents.Login_Items_Suite.Login_Items_Suite_Events, SystemEvents.Power_Suite.Power_Suite_Events, SystemEvents.Processes_Suite.Processes_Suite_Events, SystemEvents.System_Events_Suite.System_Events_Suite_Events, aetools.TalkTo)
aetools.TalkTo
SystemEvents(SystemEvents.Standard_Suite.Standard_Suite_Events, SystemEvents.Text_Suite.Text_Suite_Events, SystemEvents.Disk_Folder_File_Suite.Disk_Folder_File_Suite_Events, SystemEvents.Folder_Actions_Suite.Folder_Actions_Suite_Events, SystemEvents.Login_Items_Suite.Login_Items_Suite_Events, SystemEvents.Power_Suite.Power_Suite_Events, SystemEvents.Processes_Suite.Processes_Suite_Events, SystemEvents.System_Events_Suite.System_Events_Suite_Events, aetools.TalkTo)

 
class SystemEvents(SystemEvents.Standard_Suite.Standard_Suite_Events, SystemEvents.Text_Suite.Text_Suite_Events, SystemEvents.Disk_Folder_File_Suite.Disk_Folder_File_Suite_Events, SystemEvents.Folder_Actions_Suite.Folder_Actions_Suite_Events, SystemEvents.Login_Items_Suite.Login_Items_Suite_Events, SystemEvents.Power_Suite.Power_Suite_Events, SystemEvents.Processes_Suite.Processes_Suite_Events, SystemEvents.System_Events_Suite.System_Events_Suite_Events, aetools.TalkTo)
    
Method resolution order:
SystemEvents
SystemEvents.Standard_Suite.Standard_Suite_Events
SystemEvents.Text_Suite.Text_Suite_Events
SystemEvents.Disk_Folder_File_Suite.Disk_Folder_File_Suite_Events
SystemEvents.Folder_Actions_Suite.Folder_Actions_Suite_Events
SystemEvents.Login_Items_Suite.Login_Items_Suite_Events
SystemEvents.Power_Suite.Power_Suite_Events
SystemEvents.Processes_Suite.Processes_Suite_Events
SystemEvents.System_Events_Suite.System_Events_Suite_Events
aetools.TalkTo

Methods inherited from SystemEvents.Standard_Suite.Standard_Suite_Events:
close(self, _object, _attributes={}, **_arguments)
close: Close an object.
Required argument: the object for the command
Keyword argument saving_in: The file in which to save the object.
Keyword argument saving: Specifies whether changes should be saved before closing.
Keyword argument _attributes: AppleEvent attribute dictionary
count(self, _object, _attributes={}, **_arguments)
count: Return the number of elements of a particular class within an object.
Required argument: the object for the command
Keyword argument each: The class of objects to be counted.
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: the reply for the command
delete(self, _object, _attributes={}, **_arguments)
delete: Delete an object.
Required argument: the object for the command
Keyword argument _attributes: AppleEvent attribute dictionary
duplicate(self, _object, _attributes={}, **_arguments)
duplicate: Copy object(s) and put the copies at a new location.
Required argument: the object for the command
Keyword argument to: The location for the new object(s).
Keyword argument with_properties: Properties to be set in the new duplicated object(s).
Keyword argument _attributes: AppleEvent attribute dictionary
exists(self, _object, _attributes={}, **_arguments)
exists: Verify if an object exists.
Required argument: the object for the command
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: the reply for the command
get(self, _object, _attributes={}, **_arguments)
get: Get the data for an object.
Required argument: the object for the command
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: the reply for the command
make(self, _no_object=None, _attributes={}, **_arguments)
make: Make a new object.
Keyword argument at: The location at which to insert the object.
Keyword argument new: The class of the new object.
Keyword argument with_data: The initial data for the object.
Keyword argument with_properties: The initial values for properties of the object.
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: the reply for the command
move(self, _object, _attributes={}, **_arguments)
move: Move object(s) to a new location.
Required argument: the object for the command
Keyword argument to: The new location for the object(s).
Keyword argument _attributes: AppleEvent attribute dictionary
open(self, _object=None, _attributes={}, **_arguments)
open: Open an object.
Required argument: list of objects
Keyword argument _attributes: AppleEvent attribute dictionary
print_(self, _object=None, _attributes={}, **_arguments)
print: Print an object.
Required argument: list of objects
Keyword argument _attributes: AppleEvent attribute dictionary
quit(self, _object, _attributes={}, **_arguments)
quit: Quit an application.
Required argument: the object for the command
Keyword argument saving: Specifies whether changes should be saved before quitting.
Keyword argument _attributes: AppleEvent attribute dictionary
save(self, _object, _attributes={}, **_arguments)
save: Save an object.
Required argument: the object for the command
Keyword argument in_: The file in which to save the object.
Keyword argument as: The file type in which to save the data.
Keyword argument _attributes: AppleEvent attribute dictionary
set(self, _object, _attributes={}, **_arguments)
set: Set an object's data.
Required argument: the object for the command
Keyword argument to: The new value.
Keyword argument _attributes: AppleEvent attribute dictionary

Methods inherited from SystemEvents.Folder_Actions_Suite.Folder_Actions_Suite_Events:
attach_action_to(self, _object, _attributes={}, **_arguments)
attach action to: Attach an action to a folder
Required argument: the object for the command
Keyword argument using: a file containing the script to attach
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: the reply for the command
attached_scripts(self, _object, _attributes={}, **_arguments)
attached scripts: List the actions attached to a folder
Required argument: the object for the command
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: the reply for the command
do_folder_action(self, _object, _attributes={}, **_arguments)
do folder action: Event the Finder sends to the Folder Actions FBA
Required argument: the object for the command
Keyword argument with_window_size: the new window size for the folder action message to process
Keyword argument with_item_list: a list of items for the folder action message to process
Keyword argument folder_action_code: the folder action message to process
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: the reply for the command
edit_action_of(self, _object, _attributes={}, **_arguments)
edit action of: Edit as action of a folder
Required argument: the object for the command
Keyword argument using_action_name: ...or the name of the action to edit
Keyword argument using_action_number: the index number of the action to edit...
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: the reply for the command
remove_action_from(self, _object, _attributes={}, **_arguments)
remove action from: Remove a folder action from a folder
Required argument: the object for the command
Keyword argument using_action_name: ...or the name of the action to remove
Keyword argument using_action_number: the index number of the action to remove...
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: the reply for the command

Methods inherited from SystemEvents.Power_Suite.Power_Suite_Events:
restart(self, _object, _attributes={}, **_arguments)
restart: Restart the computer
Required argument: the object for the command
Keyword argument _attributes: AppleEvent attribute dictionary
shut_down(self, _object, _attributes={}, **_arguments)
shut down: Shut Down the computer
Required argument: the object for the command
Keyword argument _attributes: AppleEvent attribute dictionary
sleep(self, _object, _attributes={}, **_arguments)
sleep: Put the computer to sleep
Required argument: the object for the command
Keyword argument _attributes: AppleEvent attribute dictionary

Methods inherited from SystemEvents.System_Events_Suite.System_Events_Suite_Events:
do_script(self, _object, _attributes={}, **_arguments)
do script: Execute an OSA script.
Required argument: the object for the command
Keyword argument _attributes: AppleEvent attribute dictionary

Methods inherited from aetools.TalkTo:
__getattr__(self, name)
__init__(self, signature=None, start=0, timeout=0)
Create a communication channel with a particular application.
 
Addressing the application is done by specifying either a
4-byte signature, an AEDesc or an object that will __aepack__
to an AEDesc.
activate(self)
Send 'activate' command
newevent(self, code, subcode, parameters={}, attributes={})
Create a complete structure for an apple event
send(self, code, subcode, parameters={}, attributes={})
Send an appleevent given code/subcode/pars/attrs and unpack the reply
sendevent(self, event)
Send a pre-created appleevent, await the reply and unpack it
start(self)
Deprecated, used _start()

 
Functions
       
getbaseclasses(v)

 
Data
        Error = 'aetools.Error'
folder_actions_enabled = Property('faen')
frontmost = Property('pisf')
name = Property('pnam')
properties = Property('pALL')
version = Property('vers')