Description
- Switches to the specified desktop, if it exists, otherwise creates a new desktop named after the specified command list, then runs the commands on the list to populate the desktop.
Syntax
- Vdesk.CreateOrSwitchTo(deskname)
Parameters
- deskname
- (string) vdesk name or number
Examples
- Vdesk.CreateOrSwitchTo("work")
- Switches to the desk named "work" if it exists, otherwise creates it.
See Also
- Vdesk.CreateOrSwitchTo() is the same as Vdesk.NewFromList().