Difference between revisions of "Shutter:Actions"

From den4b Wiki
Jump to navigation Jump to search
(terminal actions marker)
Line 5: Line 5:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! Shutdown  
+
! Shutdown <span style="color: red"><sup>(T)</sup></span>
 
| Shutdown computer.
 
| Shutdown computer.
 
|-
 
|-
! Reboot  
+
! Reboot <span style="color: red"><sup>(T)</sup></span>
 
| Reboot computer.
 
| Reboot computer.
 
|-
 
|-
! Logoff  
+
! Logoff <span style="color: red"><sup>(T)</sup></span>
 
| Log out currently logged in user.
 
| Log out currently logged in user.
 
|-
 
|-
Line 17: Line 17:
 
| Lock workstation.
 
| Lock workstation.
 
|-
 
|-
! Sleep  
+
! Sleep <span style="color: red"><sup>(T)</sup></span>
 
| Put computer into the suspended state.
 
| Put computer into the suspended state.
 
|-
 
|-
! Hibernate  
+
! Hibernate <span style="color: red"><sup>(T)</sup></span>
 
| Put computer into the hibernated state.
 
| Put computer into the hibernated state.
 
|-
 
|-
Line 66: Line 66:
 
This is a special type of action to control the workflow of Shutter.  
 
This is a special type of action to control the workflow of Shutter.  
  
The options are-
+
The options are:
  
*'''Close application (Shutter) '''- Typically to close Shutter after taking all the Actions listed before it.<br>(Effectively Shutter runs just once: It waits for the events, executes the actions and then closes.)<br>
+
*'''Close application (Shutter)''' <span style="color: red"><sup>(T)</sup></span> - Typically to close Shutter after taking all the Actions listed before it.<br/>Effectively Shutter runs just once: It waits for the events, executes the actions and then closes.
*'''Restart events''' - Shutter "arms" itself once again, and waits for the entire set of evenmts once again.<br>Effectively Shutter runs the (wait for events and then execute all actions) cycle <u>endlessly</u>.<br>
 
*'''Pause execution x seconds''' - .This can be used to introduce a waiting period between actions.<br>(For example, to let another application close gracefully before taking the next step.)<br>
 
  
Note that the first two options are <u>terminal actions</u> (if these options are selected, then the '''Utility''' action must be the last in the '''Actions''' stack .)<br>However, '''Utility''' Action with the "pause" option CANNOT be the terminal action: Aonther action has to follow a pause. (In fact, the pause may be used several times in the '''Actions''' stack.)
+
*'''Restart events''' <span style="color: red"><sup>(T)</sup></span> - Shutter "arms" itself once again, and waits for the entire set of evenmts once again.<br/>Effectively Shutter runs the (wait for events and then execute all actions) cycle <u>endlessly</u>.
  
 +
*'''Pause execution''' - This can be used to introduce a waiting period between actions.<br/>For example, to let another application close gracefully before taking the next step.
 
|}
 
|}
  
 
+
<span style="color: red"><sup>(T)</sup></span> Marked actions are <u>terminal actions</u>, meaning that they may cause Shutter to terminate or otherwise stop the rest of actions from executing. There can be only 1 terminal action used and it must be last on the list of actions.
 
 
<br>
 

Revision as of 19:03, 3 June 2010

Arrow Return.png Shutter  

Below is the list of all available actions.

Shutdown (T) Shutdown computer.
Reboot (T) Reboot computer.
Logoff (T) Log out currently logged in user.
Lock Workstation Lock workstation.
Sleep (T) Put computer into the suspended state.
Hibernate (T) Put computer into the hibernated state.
Turn Off Monitor Switch off the monitor.
Screen Saver Turn on the screen saver.
Volume Mute or unmute the master volume.

Note: At the moment this action does not work on Windows Vista/7 [1].

Hang Up Drop connection of the modem device.
Alarm Show a simple dialog displaying the current time and play an alarm sound.
Message Show message for the specified period time with option to stop execution of the rest of actions and option to restart the events.
Play Sound Play specified sound file with ability to wait for the sound file to finish before continuing with the rest of actions.
Run Program Run specified executable and optionally wait for it to finish executing before continuing with the rest of actions.
Open File Open a specified file using shell. This can be either of the following:
  • URL, for example: http://www.den4b.com/
  • Executable, for example: "notepad"
  • Normal file, for example: "Document.doc" or "Song.mp3"
Close Window Close all windows that match the specified window title.
Kill Process Terminate all processes that match the specified executable filename.
Utilities

This is a special type of action to control the workflow of Shutter.

The options are:

  • Close application (Shutter) (T) - Typically to close Shutter after taking all the Actions listed before it.
    Effectively Shutter runs just once: It waits for the events, executes the actions and then closes.
  • Restart events (T) - Shutter "arms" itself once again, and waits for the entire set of evenmts once again.
    Effectively Shutter runs the (wait for events and then execute all actions) cycle endlessly.
  • Pause execution - This can be used to introduce a waiting period between actions.
    For example, to let another application close gracefully before taking the next step.

(T) Marked actions are terminal actions, meaning that they may cause Shutter to terminate or otherwise stop the rest of actions from executing. There can be only 1 terminal action used and it must be last on the list of actions.