Move Window to Desktop
Moves an app's window to another virtual desktop, or shows it on every desktop. Picks the window by process name, by text in its title, or both; with both empty, the window in front. Continues on Not found when there's no such window, and on Failed when Windows refuses or this version of Windows isn't one MacroWin can do it on yet.
In the editor, press Space on the canvas to add a step, then open Actions > Apps & windows, or type its name. In Simple mode it's under Show all, and search finds it.
Settings
Process name
A program (process name)The app's executable, e.g. notepad.exe (the .exe is optional). Leave this and Window title contains empty for the window in front.
Window title contains
TextOnly windows whose title has this text (any case), e.g. "- Word". Leave it empty for any window of the app.
Move to
A choiceDesktop
A screen position1 is the first desktop in Task View.
Desktop name
TextAs Task View shows it, e.g. Work.
Where it continues
- Out: Continues here when it's done.
- Not found: Continues here when it isn't found (e.g. the app has no window).
- Failed: Continues here when it fails; the reason is in the run log.
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 |
|---|---|---|
| Desktop | A screen position | The number of the desktop it's on afterwards; 0 when it's on every desktop. |
| Error | Text | Why it failed; empty when it worked. |
More in Apps & windows
- Active Window
- Always on Top
- Click Element
- Close App
- Find Windows
- Focus App
- Get Element Properties
- Get Element Text
- Launch App
- Move & Resize Window
- Move to Monitor
- Office Documents
- Read List or Table
- Restore Window Layout
- Save Window Layout
- Set App Priority
- Set Element State
- Set Element Text
- Set Window State
- Snap Window
- Suspend App
- Switch Virtual Desktop
- Wait for Window
- Window Opacity