Action window
This window allows you to build a scenario of actions to be fired at specific times during the eclipse.
Scenario frame
The frame at right displays all the actions of the scenario :
- the first column displays the action kind,
-
a shell script,
-
a shell file (either a script file or a shell executable),
-
an AppleScript,
-
an AppleScript file,
-
an application to launch,
- the second its name,
- the third the event relative to which the action is fired,
- the fourth the delay of the action relative to this event
- the last column displays the time of the action (for the current location).
When you select an action, its content is editable in the "action" frame at top right.
Action frame
The action frame allows to edit an action :
- The "New" button creates a new empty action,
- The "Copy" button copies the selected action into a new one,
- The "Delete" button deletes the selected action from the scenario,
- The "OK" button saves the changes in the scenario,
- The top popup allows to choose the kind of action (as defined above),
- In the "Name" field, you enter the name of this action in the scenario,
- The list below the name contains all the scripts, files or applications used so far, any entry can be shared between several actions, the selected entry is the one associated to the action being edited,
- The "..." button opens a text editor for AppleScripts or shell scripts, or a file chooser for shell files, AppleScript files or applications,
- The "-" button deletes the selected script, file or application from the list,
- The "Arguments" field allows to specify some arguments to the shell script or file, the arguments are specific to the action being edited, while the shell script or file can be shared with some other actions,
- A radio button allows to choose between an absolute or relative time for firing the action,
- The absolute time and date are entered with the date field,
- The relative time is relative to an event chosen in the popup at right :
- Begin of session, ie: when the scenario is activated,
- First, second, third, fourth contact or maximum as defined above,
- End of session, ie: when the scenario is stopped.
- then you shall choose if the action is fired before, after or exactly at event time,
- and the delay before or after the event shall be entered in the field at left.
- The "Wait completion" checkbox makes the scenario wait for completion of this action before scheduling any other action in the scenario,
- The "test" button allows to test the action by firing it immediately.
Execution frame
The "Execution" frame in the action window allows :
- To start the scenario "live" with the "Active" button,
- Or start rehearsing with the "Rehearsal" button,
- The simulated start time for the rehearsal can be choosen as absolute or relative with a radio button
- The simulated start time for the rehearsal is entered the same way as an action's time.
Editor panel
The editor used for shell scripts or AppleScripts
has some controls :
- The "Name" field is used to give a name to the script, by which it will be displayed in the "Action" frame,
- In the editor text box, you type your script,
- The "Compile" button is for compiling AppleScripts,
- The "Test" button allows to test the written script,
- The "Cancel" button discard the changes made to this script and go back to the action window,
- The "OK" button saves the changes and go back to the action window.