Difference between revisions of "Shutter:Actions"

From den4b Wiki
Jump to navigation Jump to search
(added actiosn from Shutter v3)
Line 1: Line 1:
{{Up|Shutter}}
+
{{Up|Shutter}}  
  
Below is the list of all available actions.
+
Below is the list of all available actions.  
  
 
{| class="wikitable"
 
{| class="wikitable"
! Shutdown
+
|-
 +
! Shutdown  
 
| Shutdown computer.
 
| Shutdown computer.
 
|-
 
|-
! Reboot
+
! Reboot  
 
| Reboot computer.
 
| Reboot computer.
 
|-
 
|-
! Logoff
+
! Logoff  
 
| Log out currently logged in user.
 
| Log out currently logged in user.
 
|-
 
|-
! Lock Workstation
+
! Lock Workstation  
 
| Lock workstation.
 
| Lock workstation.
 
|-
 
|-
! Sleep
+
! Sleep  
 
| Put computer into the suspended state.
 
| Put computer into the suspended state.
 
|-
 
|-
! Hibernate
+
! Hibernate  
 
| Put computer into the hibernated state.
 
| Put computer into the hibernated state.
 
|-
 
|-
! Turn Off Monitor
+
! Turn Off Monitor  
 
| Switch off the monitor.
 
| Switch off the monitor.
 
|-
 
|-
! Screen Saver
+
! Screen Saver  
 
| Turn on the screen saver.
 
| Turn on the screen saver.
 
|-
 
|-
! Volume
+
! Volume  
| Mute or unmute the master volume.
+
| Mute or unmute the master volume.  
'''Note:''' At the moment this action does not work on Windows Vista/7 [http://www.den4b.com/forum/viewtopic.php?id=816].
+
'''Note:''' At the moment this action does not work on Windows Vista/7 [http://www.den4b.com/forum/viewtopic.php?id=816].  
 +
 
 
|-
 
|-
! Hang Up
+
! Hang Up  
 
| Drop connection of the modem device.
 
| Drop connection of the modem device.
 
|-
 
|-
! Alarm
+
! Alarm  
 
| Show a simple dialog displaying the current time and play an alarm sound.
 
| Show a simple dialog displaying the current time and play an alarm sound.
 
|-
 
|-
! Message
+
! Message  
 
| Show message for the specified period time with option to stop execution of the rest of actions and option to restart the events.
 
| 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 Sound  
 
| Play specified sound file with ability to wait for the sound file to finish before continuing with the rest of actions.
 
| Play specified sound file with ability to wait for the sound file to finish before continuing with the rest of actions.
 
|-
 
|-
! Run Program
+
! Run Program  
 
| Run specified executable and optionally wait for it to finish executing before continuing with the rest of actions.
 
| Run specified executable and optionally wait for it to finish executing before continuing with the rest of actions.
 
|-
 
|-
! Open File
+
! Open File  
| Open a specified file using shell. This can be either of the following:
+
| Open a specified file using shell. This can be either of the following:  
* URL, for example: http://www.den4b.com/
+
*URL, for example: http://www.den4b.com/  
* Executable, for example: "notepad"
+
*Executable, for example: "notepad"  
* Normal file, for example: "Document.doc" or "Song.mp3"
+
*Normal file, for example: "Document.doc" or "Song.mp3"
 +
 
 
|-
 
|-
! Close Window
+
! Close Window  
 
| Close all windows that match the specified window title.
 
| Close all windows that match the specified window title.
 
|-
 
|-
! Kill Process
+
! Kill Process  
 
| Terminate all processes that match the specified executable filename.
 
| Terminate all processes that match the specified executable filename.
 
|-
 
|-
! Utilities
+
! Utilities  
| This is a special type of action which groups together options that control the workflow of Shutter.
+
|  
 +
This is a special type of action to control the workflow of Shutter.  
 +
 
 +
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>
 +
*'''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.)
 +
 
 
|}
 
|}
 +
 +
 +
 +
<br>

Revision as of 17:04, 3 June 2010

Arrow Return.png Shutter  

Below is the list of all available actions.

Shutdown Shutdown computer.
Reboot Reboot computer.
Logoff Log out currently logged in user.
Lock Workstation Lock workstation.
Sleep Put computer into the suspended state.
Hibernate 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) - 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 - 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 x seconds - .This can be used to introduce a waiting period between actions.
    (For example, to let another application close gracefully before taking the next step.)

Note that the first two options are terminal actions (if these options are selected, then the Utility action must be the last in the Actions stack .)
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.)