Skip to content

Switch Virtual Desktop

  • Action
  • Apps & windows
  • Advanced mode

Goes to a virtual desktop by its number or name, the next or previous one, makes a new one or closes the one showing (its windows move to the next). Uses Windows' own shortcuts, so it works like pressing them yourself.

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

To

A choice
  • A desktop by number
  • A desktop by name
  • The next desktop
  • The previous desktop
  • A new desktop: Makes one and goes to it.
  • Close this desktop: Its windows move to the next one.

Starts as: A desktop by number Can come from another step's output

Number

A screen position

1 is the first desktop.

Starts as: 1 Can come from another step's output

Name

Text

As shown in Task View (Win+Tab).

Starts as: empty Takes ${variables} and expressions Can come from another step's output

Where it continues

  • Out: Continues here when it's done.
  • 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.

Switch Virtual Desktop outputs
OutputGivesWhat it is
NumberA screen positionThe desktop showing afterwards.
NameText
ErrorTextWhy it failed; empty when it worked.

More in Apps & windows