Virtual Desktop Changed
Starts the macro when you switch to another virtual desktop (Win+Tab, Ctrl+Win+Left or Right), or only to one desktop.
In the editor, press Space on the canvas to add a step, then open Triggers > Apps & windows, or type its name. In Simple mode it's under Show all, and search finds it.
Settings
Desktop
TextIts number (1 is the first) or its name. Empty: any desktop.
Outputs
Values the step gives to the steps after it. In the Graph view, drag a wire from an output to another step's field.
| Output | Gives | What it is |
|---|---|---|
| Number | A screen position | The desktop switched to; 1 is the first. |
| Name | Text | Its name, or Desktop 2 when it has none. |
| Previous number | A screen position | The desktop switched from. |
Good to know
- Wait for Event can wait for it in the middle of a macro, with the same settings.