Windows manipulation
Download: https://github.com/Hammerspoon/Spoons/raw/master/Spoons/WinWin.spoon.zip
Signature | WinWin.gridparts |
---|---|
Type | Variable |
Description | An integer specifying how many gridparts the screen should be divided into. Defaults to 30. |
Signature | WinWin:centerCursor() |
---|---|
Type | Method |
Description | Center the cursor on the focused window. |
Signature | WinWin:moveAndResize(option) |
---|---|
Type | Method |
Description | Move and resize the focused window. Parameters:
|
Signature | WinWin:moveToScreen(direction) |
---|---|
Type | Method |
Description | Move the focused window between all of the screens in the Parameters:
|
Signature | WinWin:stepMove(direction) |
---|---|
Type | Method |
Description | Move the focused window in the Parameters:
|
Signature | WinWin:stepResize(direction) |
---|---|
Type | Method |
Description | Resize the focused window in the Parameters:
|
Signature | WinWin:undo() |
---|---|
Type | Method |
Description | Undo the last window manipulation. Only those "moveAndResize" manipulations can be undone. |