Home Reference HScript commands 

desk hscript command

Reconfigures pane layouts.

Usages

  1. desk add|list|set|swap|query [desk_name ...]

Options

add desk_name1 [desk_name2 ...]

Add one or more desktops.

list

Prints a list of all desktops.

set desk_name

Set the current desk.

swap pane1_name pane1_name

Swap the contents of pane1 and pane2 on the current desk.

swap pane1_name pane1_name desk_name

Swap the contents of pane1 and pane2 on desk desk_name.

query

Prints the name of the current desk.

Examples

desk set Desk1
sets the current desk to be Desk1

desk add Desk1 Desk2
adds two desks named Desk1 and Desk2

desk list
list all desktops

desk list Desk1
list all the contents of Desk1

desk swap pane2 pane3
swaps pane2 and pane3 in current desk

desk swap pane2 pane3 Desk1
swaps pane2 and pane3 in Desk1

Replaced by