Difference between revisions of "Shutter:Actions"

From den4b Wiki
Jump to navigation Jump to search
(Added table headings)
(Run Preset action added)
 
(One intermediate revision by the same user not shown)
Line 20: Line 20:
 
|-
 
|-
 
| Sleep <span style="color: red;"></span>  
 
| Sleep <span style="color: red;"></span>  
|  
+
| Put computer into the suspended state.
Put computer into the suspended state.(''Windows Vista'' and ''Windows 7'' only)
 
 
 
Note that usually the PC automatically enters the ''Hibernation'' state after default 3 hours, but some applications (such as recording or CD/DVD burning) can turn off the sleep timer to prevent the PC from entering the ''Hibernation ''state. <br>
 
  
 
|-
 
|-
Line 29: Line 26:
 
| 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)
+
'''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  
Line 43: Line 41:
 
| 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].
 
  
 
|-
 
|-
Line 80: 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]]
 
[[Category:Shutter]]

Latest revision as of 11: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.