Difference between revisions of "Shutter:Workflow"
Jump to navigation
Jump to search
(Linked to Shutter:Logic) |
|||
(7 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
The workflow of [[Shutter]] is a simple 3-step process: | The workflow of [[Shutter]] is a simple 3-step process: | ||
− | #Add [[Shutter:Events|events]] that are to be monitored, and | + | #Add [[Shutter:Events|events]] that are to be monitored, and |
− | #Add [[Shutter:Actions|actions]] that are to be executed when the specified events occur. | + | #Add [[Shutter:Actions|actions]] that are to be executed when the specified events occur. |
#Start monitoring for the specified events. | #Start monitoring for the specified events. | ||
− | The details are as follows: | + | The details are as follows: |
=== Step 1: Load Events === | === Step 1: Load Events === | ||
Line 13: | Line 13: | ||
[[Shutter:Events|Events]] are usually based on periodic checking of a system state, execution state of a process, or system time. | [[Shutter:Events|Events]] are usually based on periodic checking of a system state, execution state of a process, or system time. | ||
− | *You can add multiple events, and also set the logical relationship between them. | + | *You can add multiple events, and also set the [[Shutter:Logic|logical relationship]] between them. |
− | Note that this | + | Note that this step only loads the events; Shutter will not start monitoring for the event till you press the [[Image:ShutterStartButton.png]] button (see '''Step 3'''). |
=== Step 2: Load Actions === | === Step 2: Load Actions === | ||
Line 24: | Line 24: | ||
*Each action can affect the execution of the other actions listed below it. <br>To avoid that, you may have to change the order of the Actions by moving them up/down. | *Each action can affect the execution of the other actions listed below it. <br>To avoid that, you may have to change the order of the Actions by moving them up/down. | ||
− | *Some of these actions are ''terminal'': They close Shutter, log out the Windows user or shut down the PC. | + | *Some of these actions are ''terminal'': They close Shutter, log out the Windows user or shut down the PC. For example: the '''Shutdown''' action.<br>Therefore, such Actions <u>must</u> be placed at the very <u>end</u> of the '''Actions''' stack. Otherwise the actions listed below them will ''never'' be executed! |
− | === Step 3: Start monitoring === | + | === Step 3: Start monitoring === |
− | Press the | + | Press the [[Image:ShutterStartButton.png]] button. Shutter starts monitoring for the events. The button changes to [[Image:ShutterStopButton.png]]. Press it if you want to stop Shutter in an emergency. |
− | The button changes to | + | |
+ | *Shutter also has a [[Image:ShutterNowButton.png]] button, which starts all actions without waiting for triggering the event-set. | ||
− | |||
:This is useful to check how the specified actions would actually work. | :This is useful to check how the specified actions would actually work. | ||
+ | |||
+ | [[Category:Shutter]] |
Revision as of 01:38, 15 June 2020
The workflow of Shutter is a simple 3-step process:
- Add events that are to be monitored, and
- Add actions that are to be executed when the specified events occur.
- Start monitoring for the specified events.
The details are as follows:
Step 1: Load Events
Events are usually based on periodic checking of a system state, execution state of a process, or system time.
- You can add multiple events, and also set the logical relationship between them.
Note that this step only loads the events; Shutter will not start monitoring for the event till you press the button (see Step 3).
Step 2: Load Actions
Actions are executed one by one, from top to bottom.
You can add as many actions as you want, but please be aware of the following factors:
- Each action can affect the execution of the other actions listed below it.
To avoid that, you may have to change the order of the Actions by moving them up/down. - Some of these actions are terminal: They close Shutter, log out the Windows user or shut down the PC. For example: the Shutdown action.
Therefore, such Actions must be placed at the very end of the Actions stack. Otherwise the actions listed below them will never be executed!
Step 3: Start monitoring
Press the button. Shutter starts monitoring for the events. The button changes to . Press it if you want to stop Shutter in an emergency.
- This is useful to check how the specified actions would actually work.