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.NewFromList(deskname)
Parameters
- deskname
- (string) vdesk name or number
Examples
- Vdesk.NewFromList("work")
- Creates a new desktop named "work", or switches to it if it already exists.
See Also
- Vdesk.NewFromList() is the same as Vdesk.CreateOrSwitchTo().