Difference between revisions of "Shutter:Actions"

From den4b Wiki
Jump to navigation Jump to search
(cleanup)
(Run Preset action added)
 
(6 intermediate revisions by 2 users not shown)
Line 4: Line 4:
  
 
{| class="wikitable"
 
{| class="wikitable"
 +
! Action
 +
! Description
 
|-
 
|-
! Shutdown <span style="color: red;"><sup>(T)</sup></span>  
+
| Shutdown <span style="color: red;"><sup>(T)</sup></span>  
 
| Shutdown computer.
 
| Shutdown computer.
 
|-
 
|-
! Reboot <span style="color: red;"><sup>(T)</sup></span>  
+
| Reboot <span style="color: red;"><sup>(T)</sup></span>  
 
| Reboot computer.
 
| Reboot computer.
 
|-
 
|-
! Logoff <span style="color: red;"><sup>(T)</sup></span>  
+
| Logoff <span style="color: red;"><sup>(T)</sup></span>  
 
| Log out currently logged in user.
 
| Log out currently logged in user.
 
|-
 
|-
! Lock Workstation  
+
| Lock Workstation  
 
| Lock workstation.
 
| Lock workstation.
 
|-
 
|-
! Sleep <span style="color: red;"><sup>(T)</sup></span>  
+
| Sleep <span style="color: red;"></span>  
 
| Put computer into the suspended state.
 
| Put computer into the suspended state.
 +
 
|-
 
|-
! Hibernate <span style="color: red;"><sup>(T)</sup></span>
+
| Hibernate <span style="color: red;"></span>  
 
| Put computer into the hibernated state.
 
| Put computer into the hibernated state.
 +
 +
'''Tip:''' First, check if the ''hibernate'' option is enabled in your PC: '''Control Panel''' &gt; '''Power Options''' &gt; '''Hibernate''' tab.
 +
 
|-
 
|-
! 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.  
 +
 
 +
'''Tip:''' You can set a password to turn off your screensaver and start working on the PC again. This effectively makes your PC secure from intruders.
 +
 
 
|-
 
|-
! 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].
 
  
 
|-
 
|-
! 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/  
Line 56: Line 65:
  
 
|-
 
|-
! 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 to control the workflow of Shutter.  
 
This is a special type of action to control the workflow of Shutter.  
Line 68: Line 77:
 
The options are:  
 
The options are:  
  
*'''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 <u>once</u>: It waits for the events, executes the actions and then closes.
+
* '''Close application<span style="color: red;"><sup>(T)</sup></span>''' - Close Shutter itself, typically, after executing all of the listed actions.<br>Effectively, Shutter runs just <u>once</u>: It waits for the events, executes the actions and then closes.
 +
 
 +
* '''Restart events <span style="color: red;"><sup>(T)</sup></span>''' - Shutter "arms" itself once again, and waits for the entire set of events once again.<br>Effectively, Shutter runs the (''wait for events and then execute all actions'') cycle <u>endlessly</u>.
  
*'''Restart events <span style="color: red;"><sup>(T)</sup></span>''' - Shutter "arms" itself once again, and waits for the entire set of events 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 before the next action is taken.<br>For example, if one Action closes an application, wait till it closes gracefully; and only then execute the next Action.
  
*'''Pause execution''' - This can be used to introduce a waiting period before the next action is taken.<br>For example, if one Action closes an application, wait till it closes gracefully; and only then execute the next Action.
+
|-
 +
| Run Preset <span style="color: red;"><sup>(T)</sup></span>
 +
| Start another preset in the current instance or in a new instance.<br>This action enables a more complex execution flow by running multiple sets of events and actions in sequence.
  
 
|}
 
|}
  
'''<span style="color: red;"><sup>(T)</sup></span>''' Mark shows that this action is a <u>terminal action</u>, meaning that it may cause Shutter to terminate or otherwise stop the rest of actions from executing. You can use only ONE terminal action in the '''Actions''' pane, and it <u>must</u> be the last in the list of actions.
+
'''<span style="color: red;"><sup>(T)</sup></span>''' Mark shows that this action is a <u>terminal action</u>, meaning that it may cause Shutter to terminate or otherwise stop the rest of actions from executing. You can use <u>only one</u> terminal action in the '''Actions''' pane, and it <u>must</u> be the last in the list of actions.
 +
 
 +
[[Category:Shutter]]

Latest revision as of 10:15, 6 November 2022

Arrow Return.png Shutter  

Below is the list of all available actions.

Action Description
Shutdown (T) Shutdown computer.
Reboot (T) Reboot computer.
Logoff (T) Log out currently logged in user.
Lock Workstation Lock workstation.
Sleep Put computer into the suspended state.
Hibernate Put computer into the hibernated state.

Tip: First, check if the hibernate option is enabled in your PC: Control Panel > Power Options > Hibernate tab.

Turn Off Monitor Switch off the monitor.
Screen Saver

Turn on the screen saver.

Tip: You can set a password to turn off your screensaver and start working on the PC again. This effectively makes your PC secure from intruders.

Volume Mute or unmute the master volume.
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(T) - Close Shutter itself, typically, after executing all of the listed actions.
    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 events 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 before the next action is taken.
    For example, if one Action closes an application, wait till it closes gracefully; and only then execute the next Action.
Run Preset (T) Start another preset in the current instance or in a new instance.
This action enables a more complex execution flow by running multiple sets of events and actions in sequence.

(T) Mark shows that this action is a terminal action, meaning that it may cause Shutter to terminate or otherwise stop the rest of actions from executing. You can use only one terminal action in the Actions pane, and it must be the last in the list of actions.