Skip to main content

set

static set = ws_num

Workspace.set creates or switches to workspace by ws_num number. If workspace is empty, it will be erased, otherwise it will switch to an existing one.

Example:

Workspace.set(2).add(anyWindow);