BetterTouchTool Action JSON Definition Reference
This document provides a first, incomplete, reference for all BetterTouchTool actions and how to define them via JSON. Actions are configured using the BTTPredefinedActionType field with the corresponding action ID.
** NOTE: WORK IN PROGRESS ** This page is mostly AI generated and might contain hallucinated properties. I'm currently working through it.
Important Notes
JSON Format
- JSON objects will be automatically recognized on import - you don't need to escape them as strings
- Fields that accept JSON objects (like
BTTGenericActionConfig,BTTAdditionalActionData, etc.) can be provided as regular JSON objects instead of escaped strings
Common Fields
- BTTAdditionalActionData: Many actions support this field for extended configuration options. It contains a JSON object with action-specific properties
- BTTGenericActionConfig: Used for simple configurations, can be a string or JSON object depending on the action
- BTTGenericActionConfig2: Secondary configuration field when additional data is needed
Table of Contents
- Mouse & Trackpad Actions
- Keyboard Actions
- Window Management Actions
- System Actions
- Application Control
- Media Controls
- Display & Brightness
- Spaces & Mission Control
- Screenshot Actions
- Clipboard Actions
- Text & Typing Actions
- Script Execution
- BetterTouchTool Control
- Touch Bar Actions
- Notch Bar Actions
- Stream Deck Actions
- Floating Menu Actions
- Control Flow Actions
- Variable Actions
- Device Control
- UI Automation
- Custom Actions
- AI Actions (h@llo.ai)
- Action Categories
Mouse & Trackpad Actions
Left Click
Performs a standard left mouse click at the current cursor position. It will include the currently pressed modifier keys.
Parameters:
- BTTPredefinedActionType: 3
Example:
{
"BTTPredefinedActionType": 3
}
Left Click - Without Modifier Keys
Performs a left mouse click at the current location. It will NOT include any modifier keys.
Parameters:
- BTTPredefinedActionType: 421
Example:
{
"BTTPredefinedActionType": 421
}
Right Click
Performs a right mouse click at the current cursor position. It will include the currently pressed modifier keys.
Parameters:
- BTTPredefinedActionType: 4
Example:
{
"BTTPredefinedActionType": 4
}
Middle Click
Performs a middle mouse click at the current location. It will include the currently pressed modifier keys.
Parameters:
- BTTPredefinedActionType: 1
Example:
{
"BTTPredefinedActionType": 1
}
Double Left Click
Performs a double left mouse click at the current location. It will include the current modifier keys.
Parameters:
- BTTPredefinedActionType: 54
Example:
{
"BTTPredefinedActionType": 54
}
Ctrl + Left Click
Presses the ctrl modifier key and then performs a left click.
Parameters:
- BTTPredefinedActionType: 87
Example:
{
"BTTPredefinedActionType": 87
}
Opt + Left Click
Presses the option modifier key and then performs a left click.
Parameters:
- BTTPredefinedActionType: 88
Example:
{
"BTTPredefinedActionType": 88
}
CMD + Left Click
Presses the command modifier key and then performs a left click.
Parameters:
- BTTPredefinedActionType: 2
Example:
{
"BTTPredefinedActionType": 2
}
CMD + Double Left Click
Presses the command modifier key and then performs a double left click. This can e.g. be used to open a file in a new tab in Finder.
Parameters:
- BTTPredefinedActionType: 149
Example:
{
"BTTPredefinedActionType": 149
}
CMD + Shift + Left Click
Presses the command and shift modifier keys and then performs a left click.
Parameters:
- BTTPredefinedActionType: 111
Example:
{
"BTTPredefinedActionType": 111
}
Custom Click (Custom Mouse Buttons & Modifiers)
Performs custom mouse clicks with various options including button type, modifiers, and click behavior.
Parameters:
- BTTPredefinedActionType: 119
- BTTClickType: Which mouse button/action to simulate. Possible values:
"left""right""middle""double_left""triple_left""button3"through"button8"
- BTTModifiers: Array of modifier keys to be held during the click. Possible items:
"shift""control","left_control","right_control""option","left_option","right_option""command","left_command","right_command""function"
- BTTIncludePressedModifiers: Boolean - if true, includes physically pressed modifier keys in addition to specified ones
- BTTClickDownUpConfig: Defines how the click is performed:
"downAndUp"- normal click (mouse-down + mouse-up)"downOnly"- press and hold only"upOnly"- release only
- BTTCustomClickConfig: JSON object containing click configuration (alternative format)
BTTClickCount: Number of clicks (e.g., 1 for single click, 2 for double click)BTTClickButton: Mouse button (0=left, 1=right, 2=middle)
- BTTCustomClickUpDownConfig: Additional up/down configuration (optional)
- BTTAdditionalActionData: JSON object (optional)
BTTCustomClickIncludePressedModifiers: boolean - include currently pressed modifiers
Example 1 - Left Click + Shift + Command:
{
"BTTPredefinedActionType": 119,
"BTTClickType": "left",
"BTTModifiers": ["shift", "command"],
"BTTIncludePressedModifiers": false,
"BTTClickDownUpConfig": "downAndUp"
}
Example 2 - Right Click with physically pressed keys:
{
"BTTPredefinedActionType": 119,
"BTTClickType": "right",
"BTTModifiers": [],
"BTTIncludePressedModifiers": true,
"BTTClickDownUpConfig": "downAndUp"
}
Example 3 - Middle Click, Down-Only, with Shift and Left Control:
{
"BTTPredefinedActionType": 119,
"BTTClickType": "middle",
"BTTModifiers": ["shift", "left_control"],
"BTTIncludePressedModifiers": false,
"BTTClickDownUpConfig": "downOnly"
}
Example 4 - Alternative format using BTTCustomClickConfig:
{
"BTTPredefinedActionType": 119,
"BTTCustomClickConfig": {
"BTTClickCount": 2,
"BTTClickButton": 0
},
"BTTAdditionalActionData": {
"BTTCustomClickIncludePressedModifiers": true
}
}
Move Mouse To Position
Moves the mouse cursor to a specific position on screen.
Parameters:
- BTTPredefinedActionType: 153
- BTTMoveMouseToPosition: Position coordinates as "x,y" (legacy)
- BTTMoveMouseRelative: 1 for relative movement, 0 for absolute (legacy)
- BTTAdditionalActionData: JSON object with all mouse movement configuration
BTTMouseMoveX: X coordinate positionBTTMouseMoveY: Y coordinate positionBTTMouseMoveUnitX: X unit type (0=px absolute, 1=% of window width, 2=% of screen width)BTTMouseMoveUnitY: Y unit type (0=px absolute, 1=% of window height, 2=% of screen height)BTTMouseMoveAnchor: Reference point for position (see below for values)BTTMouseMoveDuration: Animation duration in seconds (default: 0.2)BTTMouseMoveWithoutPressedModifierKeys: boolean - ignore currently pressed modifiersBTTMouseMoveScreenNameOrUUID: Target screen identifier (for named screen anchors)BTTMouseMoveDragType: Drag type for drag actions (left/right/middle button)BTTMouseMoveContinueDrag: boolean - continue existing drag
Anchor values:
- 0: Default - Global position (origin top left corner of main screen)
- 1-4: Relative to corners of active window (1=top left, 2=top right, 3=bottom left, 4=bottom right)
- 5: Relative to center of active window
- 6: Relative to current mouse cursor position
- 7-10: Relative to text cursor position (7=top left, 8=top right, 9=bottom left, 10=bottom right)
- 11-15: Relative to focused element (11=top left, 12=top right, 13=bottom left, 14=bottom right, 15=center)
- 17: Relative to window default button center
- 18: Relative to window cancel button center
- 20: Relative to center of text cursor
- 21: Relative to saved mouse cursor position (variable: saved_mouse_position)
- 22: Relative to found image location (variable: image_location)
- 1001-1003: Relative to corners of main screen (1001=top right, 1002=bottom left, 1003=bottom right)
- 1004-1007: Relative to corners of screen with mouse
- 1008-1011: Relative to corners of screen with name
Example:
{
"BTTPredefinedActionType": 153,
"BTTAdditionalActionData": {
"BTTMouseMoveX": 100,
"BTTMouseMoveY": 50,
"BTTMouseMoveUnitX": 1,
"BTTMouseMoveUnitY": 1,
"BTTMouseMoveAnchor": 5,
"BTTMouseMoveDuration": 0.3
}
}
Save Current Mouse Position
Saves the current mouse cursor position for later restoration.
Parameters:
- BTTPredefinedActionType: 154
Example:
{
"BTTPredefinedActionType": 154
}
Restore Saved Mouse Position
Restores the mouse cursor to a previously saved position.
Parameters:
- BTTPredefinedActionType: 155
Example:
{
"BTTPredefinedActionType": 155
}
Start Drag
Initiates a drag operation at the current mouse position.
Parameters:
- BTTPredefinedActionType: 65
Example:
{
"BTTPredefinedActionType": 65
}
Stop Drag
Ends the current drag operation.
Parameters:
- BTTPredefinedActionType: 66
Example:
{
"BTTPredefinedActionType": 66
}
Toggle Mouse Speed
Toggles between different mouse speed settings.
Parameters:
- BTTPredefinedActionType: 126
Example:
{
"BTTPredefinedActionType": 126
}
Toggle Cursor Size
Toggles the cursor between normal and large size.
Parameters:
- BTTPredefinedActionType: 123
Example:
{
"BTTPredefinedActionType": 123
}
Set Cursor Size
Sets the cursor to a specific size.
Parameters:
- BTTPredefinedActionType: 411
- BTTGenericActionConfig: Cursor size value
Example:
{
"BTTPredefinedActionType": 411,
"BTTGenericActionConfig": "2.0"
}
Scroll
Sends scroll events.
Parameters:
- BTTPredefinedActionType: 272
- BTTScrollBy: Scroll amount and direction
Example:
{
"BTTPredefinedActionType": 272,
"BTTScrollBy": "5,0"
}
Shift + Click
Presses the shift modifier key and then performs a left click.
Parameters:
- BTTPredefinedActionType: 89
Example:
{
"BTTPredefinedActionType": 89
}
Start Drag By Double-Click
Starts a mouse drag operation initiated by a double-click.
Parameters:
- BTTPredefinedActionType: 296
Example:
{
"BTTPredefinedActionType": 296
}
Toggle Magic Mouse Touchpad Mode
Toggles Magic Mouse touchpad mode on or off.
Parameters:
- BTTPredefinedActionType: 68
Example:
{
"BTTPredefinedActionType": 68
}
Change Mouse Speed And Acceleration
Changes mouse tracking speed and acceleration settings.
Parameters:
- BTTPredefinedActionType: 559
- BTTAdditionalActionData: JSON object with speed configuration
BTTActionMouseSpeed: number - Mouse tracking speedBTTActionMouseAcceleration: number - Mouse acceleration valueBTTActionMouseName: string - Name of the specific mouse deviceBTTActionMouseVendorID: number - USB vendor ID of the mouseBTTActionMouseProductID: number - USB product ID of the mouseBTTActionMouseDropdownSelection: string - Selected device from dropdown
Example:
{
"BTTPredefinedActionType": 559,
"BTTAdditionalActionData": {
"BTTActionMouseSpeed": 3.0,
"BTTActionMouseAcceleration": 1.5,
"BTTActionMouseName": "Magic Mouse"
}
}
Pick Color On Screen And Write To Clipboard
Opens a color picker to select a color from anywhere on screen and writes the result to the clipboard.
Parameters:
- BTTPredefinedActionType: 546
Example:
{
"BTTPredefinedActionType": 546
}
All Modifier Keys UP
Releases all modifier keys (Fn, Shift, Ctrl, Option, Command). Useful in action sequences to ensure a clean modifier state.
Parameters:
- BTTPredefinedActionType: 547
Example:
{
"BTTPredefinedActionType": 547
}
Keyboard Actions
Type String
Types a predefined string of text.
Parameters:
- BTTPredefinedActionType: 193
- BTTStringToType: The string to type
- BTTMoveCursorLeftBy: Number of characters to move cursor left after typing (optional)
Example:
{
"BTTPredefinedActionType": 193,
"BTTStringToType": "Hello World",
"BTTMoveCursorLeftBy": 0
}
Paste String
Pastes a predefined string of text (faster than typing).
Parameters:
- BTTPredefinedActionType: 118
- BTTStringToType: The string to paste
- BTTMoveCursorLeftBy: Number of characters to move cursor left after pasting (optional)
Example:
{
"BTTPredefinedActionType": 118,
"BTTStringToType": "This text will be pasted",
"BTTMoveCursorLeftBy": 0
}
Send Keyboard Shortcut
Sends a keyboard shortcut to the system - just as if you had pressed it on your keyboard.
Parameters:
- BTTPredefinedActionType: 264
- BTTShortcutToSend: Key codes as comma-separated string. Format: modifier key codes (sorted highest to lowest), then standard key code
- BTTShortcutModifierKeys: Modifier keys as integer (alternative to including in BTTShortcutToSend)
- BTTShortcutUpDown: Optional - "onlyDown" to send only key down event, "onlyUp" to send only key up event
Example:
{
"BTTPredefinedActionType": 264,
"BTTShortcutToSend": "63,59,58,56,55,49"
}
To only send the key down event:
{
"BTTPredefinedActionType": 264,
"BTTShortcutToSend": "63,59,58,56,55,49",
"BTTShortcutUpDown": "onlyDown"
}
Supported modifier key codes:
| Key Code | Modifier Key |
|---|---|
| 63 | function / fn |
| 62 | right ctrl |
| 61 | right option / opt |
| 60 | right shift |
| 59 | ctrl |
| 58 | option / opt |
| 56 | shift |
| 55 | cmd |
| 54 | right command |
Supported Standard key codes:
| Key Symbol | Key Code | Key Symbol | Key Code |
|---|---|---|---|
0 | 29 | Numpad 0 | 82 |
1 | 18 | Numpad 1 | 83 |
2 | 19 | Numpad 2 | 84 |
3 | 20 | Numpad 3 | 85 |
4 | 21 | Numpad 4 | 86 |
5 | 23 | Numpad 5 | 87 |
6 | 22 | Numpad 6 | 88 |
7 | 26 | Numpad 7 | 89 |
8 | 28 | Numpad 8 | 91 |
9 | 25 | Numpad 9 | 92 |
A | 0 | Numpad * | 67 |
B | 11 | Numpad + | 69 |
C | 8 | Numpad - | 78 |
D | 2 | Numpad . | 65 |
E | 14 | Numpad / | 75 |
F | 3 | Numpad = | 81 |
G | 5 | Numpad clear | 71 |
H | 4 | : or ; | 41 |
I | 34 | < or , | 43 |
J | 38 | = or + | 24 |
K | 40 | > or .` | 47 |
L | 37 | ? or / | 44 |
M | 46 | ! or 1 | 18 |
N | 45 | " or '`' | 39 |
O | 31 | # or 3 | 20 |
P | 35 | $ or 4 | 21 |
Q | 12 | % or 5 | 23 |
R | 15 | & or 7 | 26 |
S | 1 | ' or " | 39 |
T | 17 | ( or 9 | 25 |
U | 32 | ) or 0 | 29 |
V | 9 | * or 8 | 28 |
W | 13 | + or = | 24 |
X | 7 | , or < | 43 |
Y | 16 | - or _ | 27 |
Z | 6 | . or > | 47 |
[ or { | 33 | / or ? | 44 |
| `\ or | ` | 42 | ] or } |
^ or 6 | 22 | _ or - | 27 |
{ or [ | 33 | ` | or ` |
} or ] | 30 | `~ or `` | 50 |
Send Shortcut to Specific App
Sends a keyboard shortcut to a specific application.
Parameters:
- BTTPredefinedActionType: 128
- BTTShortcutToSend: Key codes as comma-separated string (same format as Send Keyboard Shortcut)
- BTTShortcutApp: Bundle identifier or path of the target app, or
"active app"to target the currently active/frontmost app, or"app under mouse cursor"to target the app under the mouse cursor - BTTShortcutSwitchToAppFirst: 1 to switch to app first, 0 otherwise
- BTTShortcutAppUnderCursor: Set to
"app under mouse cursor"for app-under-cursor mode, or"active app"for active-app mode (optional)
Example (send to specific app):
{
"BTTPredefinedActionType": 128,
"BTTShortcutToSend": "55,1",
"BTTShortcutApp": "com.apple.finder",
"BTTShortcutSwitchToAppFirst": 1
}
Example (send to active/frontmost app):
{
"BTTPredefinedActionType": 128,
"BTTShortcutToSend": "55,1",
"BTTShortcutApp": "active app",
"BTTShortcutAppUnderCursor": "active app"
}
Function Keys (F1-F24)
Simulates pressing function keys.
Parameters vary by key:
- BTTPredefinedActionType:
- F1: 33
- F2: 34
- F3: 35
- F4: 36
- F5: 37
- F6: 38
- F7: 39
- F8: 40
- F9: 41
- F10: 42
- F11: 43
- F12: 44
- F13: 130
- F14: 131
- F15: 132
- F16: 133
- F17: 134
- F18: 135
- F19: 303
- F20: 304
- F21: 305
- F22: 306
- F23: 307
- F24: 308
Example:
{
"BTTPredefinedActionType": 43
}
Modifier Key Actions
Simulates pressing and releasing modifier keys.
Parameters vary by modifier:
- BTTPredefinedActionType:
- Shift Down: 178
- Shift Up: 179
- Fn Down: 180
- Fn Up: 181
- Control Down: 182
- Control Up: 183
- Option Down: 184
- Option Up: 185
- Command Down: 186
- Command Up: 187
- Right Shift Down: 437
- Right Shift Up: 438
- Right Control Down: 439
- Right Control Up: 440
- Right Option Down: 441
- Right Option Up: 442
- Right Command Down: 443
- Right Command Up: 444
Example:
{
"BTTPredefinedActionType": 186
}
ESC Key
Simulates pressing the Escape key.
Parameters:
- BTTPredefinedActionType: 189
Example:
{
"BTTPredefinedActionType": 189
}
Toggle Caps Lock
Toggles the Caps Lock state on/off.
Parameters:
- BTTPredefinedActionType: 194
Example:
{
"BTTPredefinedActionType": 194
}
Page Navigation Keys
Simulates page navigation keys.
Parameters:
- BTTPredefinedActionType:
- Page Up: 60
- Page Down: 61
- Home: 62
- End: 63
- Forward Delete: 64
Example:
{
"BTTPredefinedActionType": 60
}
Arrow Keys
Simulates arrow key presses.
Parameters:
- BTTPredefinedActionType:
- Page Forward: 51
- Page Backward: 52
Example:
{
"BTTPredefinedActionType": 51
}
Remap Key
Remaps one key to another.
Parameters:
- BTTPredefinedActionType: 483
- BTTActionKeyRemapKeyboard: Keyboard identifier
- BTTActionKeyRemapFromKey: Key to remap from
- BTTActionKeyRemapToKey: Key to remap to
Example:
{
"BTTPredefinedActionType": 483,
"BTTActionKeyRemapKeyboard": "all",
"BTTActionKeyRemapFromKey": 50,
"BTTActionKeyRemapToKey": 51
}
Reset All Key Remappings
Resets all low-level keyboard key remappings to their defaults.
Parameters:
- BTTPredefinedActionType: 482
Example:
{
"BTTPredefinedActionType": 482
}
Act as Hyper Key
Makes the trigger key act as a Hyper Key (simultaneous Ctrl+Shift+Opt+Cmd).
Parameters:
- BTTPredefinedActionType: 293
- BTTAdditionalActionData: JSON object with configuration
BTTActionHyperkeyExcludeShift: boolean - Exclude Shift from the Hyper Key combo (only Ctrl+Opt+Cmd)
Example:
{
"BTTPredefinedActionType": 293,
"BTTAdditionalActionData": {
"BTTActionHyperkeyExcludeShift": false
}
}
Reset Current Key Sequence
Resets / stops the currently active key sequence recognition.
Parameters:
- BTTPredefinedActionType: 422
Example:
{
"BTTPredefinedActionType": 422
}
Press Context Menu Key
Simulates pressing the context menu key to show the context menu for the current selection.
Parameters:
- BTTPredefinedActionType: 532
Example:
{
"BTTPredefinedActionType": 532
}
Window Management Actions
Maximize Window
Maximizes the current window to full screen (not fullscreen mode).
Parameters:
- BTTPredefinedActionType: 21
Example:
{
"BTTPredefinedActionType": 21
}
Maximize Window Left
Maximizes window to the left half of the screen.
Parameters:
- BTTPredefinedActionType: 19
Example:
{
"BTTPredefinedActionType": 19
}
Maximize Window Right
Maximizes window to the right half of the screen.
Parameters:
- BTTPredefinedActionType: 20
Example:
{
"BTTPredefinedActionType": 20
}
Resize Window to Quarters
Resizes window to specific quarter of the screen.
Parameters:
- BTTPredefinedActionType:
- Top Left Quarter: 90
- Top Right Quarter: 92
- Bottom Left Quarter: 91
- Bottom Right Quarter: 93
Example:
{
"BTTPredefinedActionType": 90
}
Resize Window to Thirds
Resizes window to specific third of the screen.
Parameters:
- BTTPredefinedActionType:
- Left Third: 108
- Middle Third: 109
- Right Third: 110
- Left Two Thirds: 174
- Right Two Thirds: 175
Example:
{
"BTTPredefinedActionType": 108
}
Resize Window to Halves
Resizes window to top or bottom half of the screen.
Parameters:
- BTTPredefinedActionType:
- Top Half: 96
- Bottom Half: 95
Example:
{
"BTTPredefinedActionType": 96
}
Center Window
Centers the current window on screen.
Parameters:
- BTTPredefinedActionType: 97
Example:
{
"BTTPredefinedActionType": 97
}
Center Window on Next Monitor
Centers the window on the next monitor.
Parameters:
- BTTPredefinedActionType: 98
Example:
{
"BTTPredefinedActionType": 98
}
Move Window to Next Monitor
Moves the current window to the next monitor.
Parameters:
- BTTPredefinedActionType: 47
Example:
{
"BTTPredefinedActionType": 47
}
Maximize Window on Next Monitor
Maximizes the window on the next monitor.
Parameters:
- BTTPredefinedActionType: 48
Example:
{
"BTTPredefinedActionType": 48
}
Restore Old Window Size
Restores window to its previous size before maximizing.
Parameters:
- BTTPredefinedActionType: 84
Example:
{
"BTTPredefinedActionType": 84
}
Close Window Under Cursor
Closes the window under the mouse cursor.
Parameters:
- BTTPredefinedActionType: 102
Example:
{
"BTTPredefinedActionType": 102
}
Minimize Window Under Cursor
Minimizes the window under the mouse cursor.
Parameters:
- BTTPredefinedActionType: 106
Example:
{
"BTTPredefinedActionType": 106
}
Zoom Window Under Cursor
Zooms (green button) the window under cursor.
Parameters:
- BTTPredefinedActionType: 107
Example:
{
"BTTPredefinedActionType": 107
}
Bring Window Under Cursor to Front
Brings the window under the cursor to the front.
Parameters:
- BTTPredefinedActionType: 204
Example:
{
"BTTPredefinedActionType": 204
}
Move Window Left/Right
Moves window by a small amount left or right.
Parameters:
- BTTPredefinedActionType:
- Move Left: 17
- Move Right: 18
Example:
{
"BTTPredefinedActionType": 17
}
Start/Stop Moving Windows
Enables window moving mode with modifier keys.
Parameters:
- BTTPredefinedActionType:
- Start Moving: 69
- Stop Moving: 70
- Toggle Moving: 74
Example:
{
"BTTPredefinedActionType": 69
}
Start/Stop Resizing Windows
Enables window resizing mode with modifier keys.
Parameters:
- BTTPredefinedActionType:
- Start Resizing: 71
- Stop Resizing: 72
- Toggle Resizing: 73
Example:
{
"BTTPredefinedActionType": 71
}
Custom Move/Resize
Moves and resizes window with custom parameters.
Parameters:
- BTTPredefinedActionType: 251
- BTTActionMoveResizeConfig: JSON object with configuration (deprecated - use BTTAdditionalActionData)
BTTWindowResizeX: X position of windowBTTWindowResizeY: Y position of windowBTTWindowResizeWidth: Width of windowBTTWindowResizeHeight: Height of window
- BTTActionMoveResizeName: Name/description (optional)
- BTTAdditionalActionData: JSON object with advanced configuration
BTTActionCustomMoveResizeUseRelativeValues: boolean - Use relative positioning from current positionBTTActionCustomMoveResizeMaintainAspectRatio: boolean - Keep window aspect ratio when resizingBTTActionCustomMoveResizeX: string - X position (supports variables like @variable_name)BTTActionCustomMoveResizeY: string - Y position (supports variables)BTTActionCustomMoveResizeWidth: string - Width (supports variables)BTTActionCustomMoveResizeHeight: string - Height (supports variables)
Example:
{
"BTTPredefinedActionType": 251,
"BTTAdditionalActionData": {
"BTTActionCustomMoveResizeX": "100",
"BTTActionCustomMoveResizeY": "100",
"BTTActionCustomMoveResizeWidth": "800",
"BTTActionCustomMoveResizeHeight": "600",
"BTTActionCustomMoveResizeUseRelativeValues": false,
"BTTActionCustomMoveResizeMaintainAspectRatio": true
}
}
Move Window to Specific Size and Position
Moves window to exact coordinates and size.
Parameters:
- BTTPredefinedActionType: 446
- BTTGenericActionConfig: "x,y,width,height"
Example:
{
"BTTPredefinedActionType": 446,
"BTTGenericActionConfig": "100,100,1024,768"
}
Window Layout Management
Save and restore window layouts.
Parameters:
- BTTPredefinedActionType:
- Save Current Layout: 269
- Restore Saved Layout: 268
- Restore Last Saved Layout: 270
- Save Layout with Name: 269 (with BTTWindowLayoutName)
- Restore Layout with Name: 513 (with BTTWindowLayoutName)
- Restore Layout with Name & Launch Apps: 580 (with BTTWindowLayoutName)
- BTTWindowLayoutName: Layout name (for named layouts)
- BTTWindowLayout: Layout data (for restore)
Example:
{
"BTTPredefinedActionType": 269,
"BTTWindowLayoutName": "Work Layout"
}
Save/Restore Focused Window Size And Position
Saves or restores the size and position of the currently focused window.
Parameters:
- BTTPredefinedActionType:
- Save: 539
- Restore: 540
Example:
{
"BTTPredefinedActionType": 539
}
Close Window, If Last Window Quit App
Closes the current window. If it is the last window of the application, quits the app entirely.
Parameters:
- BTTPredefinedActionType: 560
- BTTAdditionalActionData: JSON object with configuration
BTTCloseWindowOrQuitAppAskBeforeQuit: boolean - Ask for confirmation before quitting the app
Example:
{
"BTTPredefinedActionType": 560,
"BTTAdditionalActionData": {
"BTTCloseWindowOrQuitAppAskBeforeQuit": true
}
}
Pin/Unpin Window to Float on Top
Makes window float above all others or removes float status.
Parameters:
- BTTPredefinedActionType:
- Toggle Pin: 337
- Pin: 402
- Unpin: 401
- Remove All Float: 338
- BTTAdditionalActionData: JSON object with pin configuration
BTTActionPinOnTopWindowMode: number - Which window to pin (0=focused window, 1=by window ID, 2=by window index, 3=by window title)BTTActionPinOnTopWindowID: number - Window ID (when mode=1)BTTActionPinOnTopWindowIndex: number - Window index (when mode=2)BTTActionPinOnTopWindowTitle: string - Window title substring (when mode=3)BTTActionPinOnTopWindowBelongsToApp: string - Bundle ID of the app the window belongs toBTTActionPinOnTopMode: number - Titlebar style/modeBTTActionPinOnTopMargin: number - Margin around the pinned windowBTTActionPinOnTopBackground: string - Background color (RGBA string)BTTActionPinOnTopOpacity: number - Window opacity (0-1)BTTActionPinOnTopOnlyChangeFocusOnClick: boolean - Only change focus when clicking on the window
Example:
{
"BTTPredefinedActionType": 337,
"BTTAdditionalActionData": {
"BTTActionPinOnTopWindowMode": 0,
"BTTActionPinOnTopOpacity": 0.9,
"BTTActionPinOnTopOnlyChangeFocusOnClick": true
}
}
Window Switcher
Shows a window switcher for the current app or all apps.
Parameters:
- BTTPredefinedActionType:
- Current App: 99
- All Apps: 100
- Backwards: 378
- Activate Hovered: 476
- BTTAdditionalActionData: JSON object with window switcher configuration
BTTWindowSwitcherShowPopover: number - Popover display mode (0=screenshot+shortcuts, 1=screenshot only, 2=shortcuts only, 3=no popover, 4=preview of actual window, 5=preview+shortcuts)BTTWindowSwitcherShowThumbnail: number - Thumbnail mode (0=app icon, 1=window thumbnail)BTTWindowSwitcherDisableMouseHover: boolean - Disable selection by mouse hoverBTTWindowSwitcherSelectNextOnRepeat: boolean - On repeated trigger, select next window in listBTTWindowSwitcherTriggerOnRelease: boolean - Activate selected after releasing modifier keys (requires SelectNextOnRepeat)BTTWindowSwitcherAppearance: number - Appearance (0=automatic, 1=light, 2=dark)BTTWindowSwitcherFontSize: number - Font size in points (default: 12)BTTWindowSwitcherItemHeight: number - Item height in pixelsBTTWindowSwitcherWidth: number - Width in pixels (default: 600)BTTWindowSwitcherHeight: number - Height in pixels (default: 600)BTTWindowSwitcherMousePos: number - Position mode (0=mouse centered left, 1=mouse left to first item, 2=mouse left to second item, 3=centered on screen with mouse, 4=centered on screen with focused window, 5=custom position)BTTWindowSwitcherSort: number - Sort order (0=last used grouped by desktop, 2=alphabetically app+window name, 3=alphabetically app+window name, 4=last used all desktops mixed)BTTWindowSwitcherInitialFocus: number - Initial focus (0=search field, 1=window list)BTTWindowSwitcherFocus: number - Selected item (0=currently active window, 1=second window in list)BTTWindowSwitcherExcludeSpecific: boolean - Enable exclude specific apps/windowsBTTWindowSwitcherExclude: string - Exclusion filter textBTTWindowSwitcherExcludeWindowsFromOtherSpaces: boolean - Exclude windows from other spacesBTTWindowSwitcherExcludeHiddenAndMinimizedWindows: boolean - Exclude hidden and minimized windowsBTTWindowSwitcherExcludeAllButHiddenAndMinimizedWindows: boolean - Show only hidden and minimized windowsBTTWindowSwitcherExcludeVisibleWindows: boolean - Exclude visible windowsBTTWindowSwitcherOverrideDefaultShortcuts: boolean - Override default keyboard shortcutsBTTWindowSwitcherAction1throughBTTWindowSwitcherAction15: number - Custom keyboard shortcut action bindings
Example:
{
"BTTPredefinedActionType": 99,
"BTTAdditionalActionData": {
"BTTWindowSwitcherWidth": 800,
"BTTWindowSwitcherHeight": 600,
"BTTWindowSwitcherAppearance": 2,
"BTTWindowSwitcherSort": 0,
"BTTWindowSwitcherSelectNextOnRepeat": true,
"BTTWindowSwitcherTriggerOnRelease": true,
"BTTWindowSwitcherShowPopover": 4,
"BTTWindowSwitcherInitialFocus": 1
}
}
Arrange Windows Side by Side
Arranges multiple windows side by side.
Parameters:
- BTTPredefinedActionType:
- Two Windows: 317
- Two Windows (Last Used Right): 318
- Three Windows: 319
- Three Windows (Last Used Right): 320
- Four Windows: 322
- Four Windows (Last Used Right): 321
Example:
{
"BTTPredefinedActionType": 317
}
System Actions
Sleep Display
Puts the display to sleep.
Parameters:
- BTTPredefinedActionType: 13
Example:
{
"BTTPredefinedActionType": 13
}
Sleep Computer
Puts the computer to sleep.
Parameters:
- BTTPredefinedActionType: 14
Example:
{
"BTTPredefinedActionType": 14
}
Logout
Logs out the current user.
Parameters:
- BTTPredefinedActionType: 15
Example:
{
"BTTPredefinedActionType": 15
}
Lock Screen
Locks the screen.
Parameters:
- BTTPredefinedActionType: 158
Example:
{
"BTTPredefinedActionType": 158
}
Unlock Screen
Unlocks the screen (requires password to be set).
Parameters:
- BTTPredefinedActionType: 159
- BTTGenericActionConfig: Password (stored securely)
Example:
{
"BTTPredefinedActionType": 159,
"BTTGenericActionConfig": "encrypted_password_data"
}
Start Screen Saver
Starts the configured screen saver.
Parameters:
- BTTPredefinedActionType: 202
Example:
{
"BTTPredefinedActionType": 202
}
Empty Trash
Empties the trash.
Parameters:
- BTTPredefinedActionType: 156
Example:
{
"BTTPredefinedActionType": 156
}
Toggle Do Not Disturb
Toggles Do Not Disturb mode on/off.
Parameters:
- BTTPredefinedActionType: 200
Example:
{
"BTTPredefinedActionType": 200
}
Toggle Dark Mode
Toggles between light and dark mode.
Parameters:
- BTTPredefinedActionType: 197
Example:
{
"BTTPredefinedActionType": 197
}
Toggle Night Shift
Toggles Night Shift on/off.
Parameters:
- BTTPredefinedActionType: 201
Example:
{
"BTTPredefinedActionType": 201
}
Toggle True Tone
Toggles True Tone display on/off.
Parameters:
- BTTPredefinedActionType: 257
Example:
{
"BTTPredefinedActionType": 257
}
Show Desktop
Shows the desktop by hiding all windows.
Parameters:
- BTTPredefinedActionType: 45
Example:
{
"BTTPredefinedActionType": 45
}
Hide All Windows
Hides all windows of all applications.
Parameters:
- BTTPredefinedActionType: 50
Example:
{
"BTTPredefinedActionType": 50
}
Hide All But Active Window
Hides all windows except the currently active one.
Parameters:
- BTTPredefinedActionType: 53
Example:
{
"BTTPredefinedActionType": 53
}
Show All Windows
Shows all hidden windows.
Parameters:
- BTTPredefinedActionType: 488
Example:
{
"BTTPredefinedActionType": 488
}
Show/Hide Hidden Files
Toggles visibility of hidden files in Finder.
Parameters:
- BTTPredefinedActionType: 16
Example:
{
"BTTPredefinedActionType": 16
}
Notification Center
Shows the Notification Center.
Parameters:
- BTTPredefinedActionType: 122
Example:
{
"BTTPredefinedActionType": 122
}
Control Center
Shows the Control Center.
Parameters:
- BTTPredefinedActionType: 290
Example:
{
"BTTPredefinedActionType": 290
}
Close All Notifications
Closes all visible notifications.
Parameters:
- BTTPredefinedActionType: 289
Example:
{
"BTTPredefinedActionType": 289
}
Show Character Viewer
Shows the macOS Character Viewer.
Parameters:
- BTTPredefinedActionType: 167
Example:
{
"BTTPredefinedActionType": 167
}
Start Siri
Activates Siri.
Parameters:
- BTTPredefinedActionType: 173
Example:
{
"BTTPredefinedActionType": 173
}
Eject
Ejects removable media.
Parameters:
- BTTPredefinedActionType: 30
Example:
{
"BTTPredefinedActionType": 30
}
Refresh Status Bar Items
Refreshes all status bar items.
Parameters:
- BTTPredefinedActionType: 302
Example:
{
"BTTPredefinedActionType": 302
}
Search Selected Text With Google
Searches for the currently selected text using Google.
Parameters:
- BTTPredefinedActionType: 58
Example:
{
"BTTPredefinedActionType": 58
}
Switch to Login Screen
Switches to the macOS login screen without logging out.
Parameters:
- BTTPredefinedActionType: 9
Example:
{
"BTTPredefinedActionType": 9
}
Application Control
Launch Application
Launches a specific application.
Parameters:
- BTTPredefinedActionType: 49
- BTTLaunchPath: Path to application or bundle identifier
Example:
{
"BTTPredefinedActionType": 49,
"BTTLaunchPath": "/Applications/Safari.app"
}
Show/Hide Specific Application
Shows or hides a specific application.
Parameters:
- BTTPredefinedActionType: 177
- BTTAppToShowOrHide: Bundle identifier or path
- BTTShowHideAppConfig: Configuration options (optional)
- BTTGenericActionConfig2: JSON object with behavior configuration (optional)
- Additional show/hide behavior settings
Example:
{
"BTTPredefinedActionType": 177,
"BTTAppToShowOrHide": "com.apple.finder",
"BTTGenericActionConfig2": {
"showIfHidden": true,
"hideIfVisible": true
}
}
Quit Specific Application
Quits a specific application. Supports standard quit and force quit.
Parameters:
- BTTPredefinedActionType: 592
- BTTAppToQuit: Bundle identifier or path of the app to quit
- BTTQuitAppConfig: JSON string with quit configuration (optional)
BTTQuitAppForceQuit: boolean - if true, force quits the app without allowing it to save changes
Example:
{
"BTTPredefinedActionType": 592,
"BTTAppToQuit": "com.apple.Safari"
}
Example with force quit:
{
"BTTPredefinedActionType": 592,
"BTTAppToQuit": "com.apple.Safari",
"BTTQuitAppConfig": "{\"BTTQuitAppForceQuit\":true}"
}
Quit App Under Cursor
Quits the application that owns the window under cursor.
Parameters:
- BTTPredefinedActionType: 247
Example:
{
"BTTPredefinedActionType": 247
}
Hide App Under Cursor
Hides the application under cursor.
Parameters:
- BTTPredefinedActionType: 294
Example:
{
"BTTPredefinedActionType": 294
}
Application Switcher
Shows the application switcher.
Parameters:
- BTTPredefinedActionType: 46
- BTTPredefinedActionType: 142 (Backward)
Example:
{
"BTTPredefinedActionType": 46
}
Activate Previous App
Switches to the previously active application.
Parameters:
- BTTPredefinedActionType: 367
Example:
{
"BTTPredefinedActionType": 367
}
Activate Previous Window
Activates the previous window.
Parameters:
- BTTPredefinedActionType: 383
- BTTPredefinedActionType: 491 (Excluding Minimized)
Example:
{
"BTTPredefinedActionType": 383
}
Save Active Window
Saves reference to currently active window.
Parameters:
- BTTPredefinedActionType: 368
Example:
{
"BTTPredefinedActionType": 368
}
Go Back to Saved Active Window
Returns to previously saved active window.
Parameters:
- BTTPredefinedActionType: 369
Example:
{
"BTTPredefinedActionType": 369
}
Activate Specific Window
Activates a window by title or other criteria.
Parameters:
- BTTPredefinedActionType: 364
- BTTGenericActionConfig: Window title or identifier
- BTTAdditionalActionData: JSON object with configuration
BTTActionActivateSpecificWindowIndex: number - Activate window by index (0-based)BTTActionActivateSpecificWindowOnlyFullScreen: boolean - Only target fullscreen windows
Example:
{
"BTTPredefinedActionType": 364,
"BTTGenericActionConfig": "Document.txt"
}
Expose And Sort
Shows Expose and sorts windows automatically.
Parameters:
- BTTPredefinedActionType: 103
Example:
{
"BTTPredefinedActionType": 103
}
Show Menu Bar in Context Menu
Shows the application's menu bar as a context menu at the current mouse position.
Parameters:
- BTTPredefinedActionType: 125
Example:
{
"BTTPredefinedActionType": 125
}
Show Shortcuts in Context Menu
Shows macOS Shortcuts app shortcuts in a context menu.
Parameters:
- BTTPredefinedActionType: 298
Example:
{
"BTTPredefinedActionType": 298
}
Activate Hovered App in Dock
Activates the application whose Dock icon is currently hovered.
Parameters:
- BTTPredefinedActionType: 150
Example:
{
"BTTPredefinedActionType": 150
}
Open Finder
Opens a new Finder window.
Parameters:
- BTTPredefinedActionType: 10
Example:
{
"BTTPredefinedActionType": 10
}
Create New File in Finder
Creates a new file in the current Finder location.
Parameters:
- BTTPredefinedActionType: 85
Example:
{
"BTTPredefinedActionType": 85
}
Open Finder Selection with Specific App
Opens selected files in Finder with a specific application.
Parameters:
- BTTPredefinedActionType: 157
- BTTLaunchPath: Path to application
Example:
{
"BTTPredefinedActionType": 157,
"BTTLaunchPath": "/Applications/TextEdit.app"
}
Open Selected Folder with App
Opens selected folder with specific app.
Parameters:
- BTTPredefinedActionType: 176
- BTTLaunchPath: Path to application
Example:
{
"BTTPredefinedActionType": 176,
"BTTLaunchPath": "/Applications/Visual Studio Code.app"
}
Media Controls
Play/Pause
Toggles media playback.
Parameters:
- BTTPredefinedActionType: 23
Example:
{
"BTTPredefinedActionType": 23
}
Next Track
Skips to the next track.
Parameters:
- BTTPredefinedActionType: 27
Example:
{
"BTTPredefinedActionType": 27
}
Previous Track
Goes to the previous track.
Parameters:
- BTTPredefinedActionType: 26
Example:
{
"BTTPredefinedActionType": 26
}
Volume Up
Increases system volume.
Parameters:
- BTTPredefinedActionType: 24
Example:
{
"BTTPredefinedActionType": 24
}
Volume Down
Decreases system volume.
Parameters:
- BTTPredefinedActionType: 25
Example:
{
"BTTPredefinedActionType": 25
}
Volume Up (Small Step)
Increases volume by a small amount.
Parameters:
- BTTPredefinedActionType: 198
Example:
{
"BTTPredefinedActionType": 198
}
Volume Down (Small Step)
Decreases volume by a small amount.
Parameters:
- BTTPredefinedActionType: 199
Example:
{
"BTTPredefinedActionType": 199
}
Mute
Toggles system mute on/off.
Parameters:
- BTTPredefinedActionType: 22
Example:
{
"BTTPredefinedActionType": 22
}
Set Volume
Sets volume to specific level.
Parameters:
- BTTPredefinedActionType: 373
- BTTGenericActionConfig: Volume level (0-100)
Example:
{
"BTTPredefinedActionType": 373,
"BTTGenericActionConfig": "50"
}
Set Audio Output Device
Changes the system audio output device.
Parameters:
- BTTPredefinedActionType: 583
- BTTAdditionalActionData: JSON object with audio device configuration
BTTAudioDeviceName: string - Audio device nameBTTAudioDeviceUID: string - Audio device unique identifier
Example:
{
"BTTPredefinedActionType": 583,
"BTTAdditionalActionData": {
"BTTAudioDeviceName": "MacBook Pro Speakers",
"BTTAudioDeviceUID": "BuiltInSpeakerDevice"
}
}
Set Audio Input Device
Changes the system audio input device.
Parameters:
- BTTPredefinedActionType: 584
- BTTAdditionalActionData: JSON object with audio device configuration
BTTAudioDeviceName: string - Audio device nameBTTAudioDeviceUID: string - Audio device unique identifier
Example:
{
"BTTPredefinedActionType": 584,
"BTTAdditionalActionData": {
"BTTAudioDeviceName": "MacBook Pro Microphone",
"BTTAudioDeviceUID": "BuiltInMicrophoneDevice"
}
}
Play Sound File
Plays a sound file.
Parameters:
- BTTPredefinedActionType: 582
- BTTGenericActionConfig: Path to sound file
- BTTAdditionalActionData: JSON object with configuration
BTTPlaySoundCustomPath: string - Custom path to sound file
Example:
{
"BTTPredefinedActionType": 582,
"BTTGenericActionConfig": "/System/Library/Sounds/Glass.aiff"
}
Display & Brightness
Brightness Up
Increases display brightness.
Parameters:
- BTTPredefinedActionType: 28
Example:
{
"BTTPredefinedActionType": 28
}
Brightness Down
Decreases display brightness.
Parameters:
- BTTPredefinedActionType: 29
Example:
{
"BTTPredefinedActionType": 29
}
Brightness Up (Small Step)
Increases brightness by a small amount.
Parameters:
- BTTPredefinedActionType: 259
Example:
{
"BTTPredefinedActionType": 259
}
Brightness Down (Small Step)
Decreases brightness by a small amount.
Parameters:
- BTTPredefinedActionType: 260
Example:
{
"BTTPredefinedActionType": 260
}
External Monitor Brightness Up
Increases external monitor brightness.
Parameters:
- BTTPredefinedActionType: 120
Example:
{
"BTTPredefinedActionType": 120
}
External Monitor Brightness Down
Decreases external monitor brightness.
Parameters:
- BTTPredefinedActionType: 121
Example:
{
"BTTPredefinedActionType": 121
}
External Brightness Up (Small Step)
Increases external brightness by small amount.
Parameters:
- BTTPredefinedActionType: 261
Example:
{
"BTTPredefinedActionType": 261
}
External Brightness Down (Small Step)
Decreases external brightness by small amount.
Parameters:
- BTTPredefinedActionType: 262
Example:
{
"BTTPredefinedActionType": 262
}
Set Brightness
Sets display brightness to specific level.
Parameters:
- BTTPredefinedActionType: 370
- BTTGenericActionConfig: Brightness level (0-100)
Example:
{
"BTTPredefinedActionType": 370,
"BTTGenericActionConfig": "75"
}
Keyboard Illumination Up
Increases keyboard backlight brightness.
Parameters:
- BTTPredefinedActionType: 31
Example:
{
"BTTPredefinedActionType": 31
}
Keyboard Illumination Down
Decreases keyboard backlight brightness.
Parameters:
- BTTPredefinedActionType: 32
Example:
{
"BTTPredefinedActionType": 32
}
Set Keyboard Brightness
Sets keyboard brightness to specific level.
Parameters:
- BTTPredefinedActionType: 477
- BTTGenericActionConfig: Brightness level (0-100)
Example:
{
"BTTPredefinedActionType": 477,
"BTTGenericActionConfig": "50"
}
Toggle Mirroring
Toggles display mirroring on/off.
Parameters:
- BTTPredefinedActionType: 266
Example:
{
"BTTPredefinedActionType": 266
}
AirPlay Mirroring
Opens AirPlay mirroring options.
Parameters:
- BTTPredefinedActionType: 127
Example:
{
"BTTPredefinedActionType": 127
}
Toggle Super Brightness
Toggles super brightness mode for current display.
Parameters:
- BTTPredefinedActionType: 326
- BTTAdditionalActionData: JSON object (optional)
BTTSuperBrightnessIncrease: number - Extra brightness level (0-100, default: 100)BTTSuperBrightnessBrightness: number - brightness level (default: 4)BTTSuperBrightnessSaturation: float - saturation (default: 0.7)BTTSuperBrightnessContrast: number - contrast (default: 9)BTTSuperBrightnessVideoMode: boolean - video mode (default: false)BTTSuperBrightnessOpacity: float - opacity (default: 0.5)
Example:
{
"BTTPredefinedActionType": 326,
"BTTAdditionalActionData": {
"BTTSuperBrightnessBrightness": 5,
"BTTSuperBrightnessSaturation": 0.8,
"BTTSuperBrightnessContrast": 10
}
}
Enable Super Brightness
Enables super brightness for current display.
Parameters:
- BTTPredefinedActionType: 324
- BTTAdditionalActionData: JSON object (optional)
BTTSuperBrightnessIncrease: number - Extra brightness level (0-100, default: 100)BTTSuperBrightnessBrightness: number - brightness level (default: 4)BTTSuperBrightnessSaturation: float - saturation (default: 0.7)BTTSuperBrightnessContrast: number - contrast (default: 9)BTTSuperBrightnessVideoMode: boolean - video mode (default: false)BTTSuperBrightnessOpacity: float - opacity (default: 0.5)
Example:
{
"BTTPredefinedActionType": 324,
"BTTAdditionalActionData": {
"BTTSuperBrightnessBrightness": 5,
"BTTSuperBrightnessSaturation": 0.8,
"BTTSuperBrightnessContrast": 10
}
}
Disable Super Brightness
Disables super brightness for current display.
Parameters:
- BTTPredefinedActionType: 325
- BTTAdditionalActionData: JSON object (optional)
BTTSuperBrightnessBrightness: number - brightness level (default: 4)BTTSuperBrightnessSaturation: float - saturation (default: 0.7)BTTSuperBrightnessContrast: number - contrast (default: 9)BTTSuperBrightnessVideoMode: boolean - video mode (default: false)BTTSuperBrightnessOpacity: float - opacity (default: 0.5)
Example:
{
"BTTPredefinedActionType": 325,
"BTTAdditionalActionData": {
"BTTSuperBrightnessBrightness": 5,
"BTTSuperBrightnessSaturation": 0.8,
"BTTSuperBrightnessContrast": 10
}
}
Move All Windows to Mouse Display
Moves all windows to the display where mouse is.
Parameters:
- BTTPredefinedActionType: 267
Example:
{
"BTTPredefinedActionType": 267
}
Rotate Display Clockwise
Rotates the display 90 degrees clockwise.
Parameters:
- BTTPredefinedActionType: 314
Example:
{
"BTTPredefinedActionType": 314
}
Rotate Display Counter-Clockwise
Rotates the display 90 degrees counter-clockwise.
Parameters:
- BTTPredefinedActionType: 315
Example:
{
"BTTPredefinedActionType": 315
}
Spaces & Mission Control
Mission Control
Shows Mission Control.
Parameters:
- BTTPredefinedActionType: 7
Example:
{
"BTTPredefinedActionType": 7
}
Mission Control & Show Desktop Preview
Shows Mission Control with desktop preview.
Parameters:
- BTTPredefinedActionType: 165
Example:
{
"BTTPredefinedActionType": 165
}
Application Exposé
Shows all windows of current application.
Parameters:
- BTTPredefinedActionType: 6
Example:
{
"BTTPredefinedActionType": 6
}
Switch to Desktop (1-19)
Switches to a specific desktop/space.
Parameters:
- BTTPredefinedActionType:
- Desktop 1: 207
- Desktop 2: 208
- Desktop 3: 209
- Desktop 4: 210
- Desktop 5: 211
- Desktop 6: 212
- Desktop 7: 213
- Desktop 8: 214
- Desktop 9: 215
- Desktop 10-19: 226-235
Example:
{
"BTTPredefinedActionType": 207
}
Move Window to Desktop (1-19)
Moves current window to specific desktop.
Parameters:
- BTTPredefinedActionType:
- Desktop 1: 216
- Desktop 2: 217
- Desktop 3: 218
- Desktop 4: 219
- Desktop 5: 220
- Desktop 6: 222
- Desktop 7: 223
- Desktop 8: 224
- Desktop 9: 225
- Desktop 10-19: 236-245
Example:
{
"BTTPredefinedActionType": 216
}
Switch Space Left/Right
Switches to the space on the left or right.
Parameters:
- BTTPredefinedActionType:
- Left: 113
- Right: 114
- Left (No Animation): 527
- Right (No Animation): 528
Example:
{
"BTTPredefinedActionType": 113
}
Move Window to Left/Right Space
Moves window to adjacent space.
Parameters:
- BTTPredefinedActionType:
- Left Space: 151
- Right Space: 152
Example:
{
"BTTPredefinedActionType": 151
}
Add New Space
Creates a new desktop space.
Parameters:
- BTTPredefinedActionType: 196
Example:
{
"BTTPredefinedActionType": 196
}
Launchpad
Shows Launchpad.
Parameters:
- BTTPredefinedActionType: 115
Example:
{
"BTTPredefinedActionType": 115
}
Dashboard
Shows Dashboard (deprecated in newer macOS).
Parameters:
- BTTPredefinedActionType: 8
Example:
{
"BTTPredefinedActionType": 8
}
Navigate To Space Or Fullscreen App By ID or Index
Navigates to a specific space or fullscreen app using either its index or its unique ID.
Parameters:
- BTTPredefinedActionType: 550
- BTTAdditionalActionData: JSON object with configuration
BTTActionGoToSpaceByIndex: number or string - The space index (supports BTT variables)BTTActionGoToSpaceByID: number or string - The space ID (supports BTT variables)
Example:
{
"BTTPredefinedActionType": 550,
"BTTAdditionalActionData": {
"BTTActionGoToSpaceByIndex": 3
}
}
Screenshot Actions
Take Screenshot
Takes a screenshot with configurable options.
Parameters:
- BTTPredefinedActionType: 169
- BTTScreenshotOptions: Screenshot configuration as integer or string
- BTTScreenshotDateFormat: Date format for filename (optional)
Example:
{
"BTTPredefinedActionType": 169,
"BTTScreenshotOptions": "0"
}
Screenshot Window
Takes a screenshot of a specific window.
Parameters:
- BTTPredefinedActionType: 170
Example:
{
"BTTPredefinedActionType": 170
}
Screenshot and Edit
Takes a screenshot and opens it for editing.
Parameters:
- BTTPredefinedActionType: 171
Example:
{
"BTTPredefinedActionType": 171
}
Screenshot to Clipboard
Takes a screenshot directly to clipboard.
Parameters:
- BTTPredefinedActionType: 316
Example:
{
"BTTPredefinedActionType": 316
}
Screenshot to Clipboard (New)
Enhanced screenshot to clipboard with more options.
Parameters:
- BTTPredefinedActionType: 500
- BTTGenericActionConfig: Configuration options
Example:
{
"BTTPredefinedActionType": 500,
"BTTGenericActionConfig": "{\"BTTScreenshotType\":1}"
}
Take Screenshot or Video
Opens screenshot/recording toolbar.
Parameters:
- BTTPredefinedActionType: 263
Example:
{
"BTTPredefinedActionType": 263
}
Take Screenshot (Configurable)
Takes a screenshot with advanced configuration options.
Parameters:
- BTTPredefinedActionType: 495
- BTTAdditionalActionData: JSON object with screenshot configuration
BTTActionScreenCaptureConfigurableMode: number - Capture mode (0=selection, 1=window, 2=fullscreen)BTTActionScreenCaptureConfigurableShowSelection: boolean - Show selection UIBTTActionScreenCaptureConfigurableRecordVideo: boolean - Record video instead of screenshotBTTActionScreenCaptureConfigurableShowDesktopIcons: boolean - Include desktop iconsBTTActionScreenCaptureConfigurableCopyToClipboard: boolean - Copy to clipboardBTTActionScreenCaptureConfigurableOpenWith: string - App bundle ID to open screenshot withBTTActionScreenCaptureConfigurableVariableName: string - Variable name to store file path
Example:
{
"BTTPredefinedActionType": 495,
"BTTAdditionalActionData": {
"BTTActionScreenCaptureConfigurableMode": 0,
"BTTActionScreenCaptureConfigurableShowSelection": true,
"BTTActionScreenCaptureConfigurableCopyToClipboard": true,
"BTTActionScreenCaptureConfigurableVariableName": "screenshot_path"
}
}
Measure Area on Screen
Shows tool to measure distances on screen.
Parameters:
- BTTPredefinedActionType: 501
Example:
{
"BTTPredefinedActionType": 501
}
Clipboard Actions
Toggle Clipboard Manager
Shows/hides the clipboard manager.
Parameters:
- BTTPredefinedActionType: 203
- BTTAdditionalActionData: JSON object (optional)
BTTActionClipboardManagerAutoSaveName: string - auto-save identifierBTTActionClipboardManagerDontHide: boolean - keep manager visible
Example:
{
"BTTPredefinedActionType": 203,
"BTTAdditionalActionData": {
"BTTActionClipboardManagerAutoSaveName": "work-clipboard",
"BTTActionClipboardManagerDontHide": true
}
}
Show Clipboard Manager
Shows the clipboard manager window.
Parameters:
- BTTPredefinedActionType: 480
- BTTAdditionalActionData: JSON object (optional)
BTTActionClipboardManagerAutoSaveName: string - auto-save identifierBTTActionClipboardManagerDontHide: boolean - keep manager visible
Example:
{
"BTTPredefinedActionType": 480,
"BTTAdditionalActionData": {
"BTTActionClipboardManagerAutoSaveName": "work-clipboard",
"BTTActionClipboardManagerDontHide": true
}
}
Hide Clipboard Manager
Hides the clipboard manager window.
Parameters:
- BTTPredefinedActionType: 481
Example:
{
"BTTPredefinedActionType": 481
}
Save Clipboard Contents
Temporarily saves current clipboard contents.
Parameters:
- BTTPredefinedActionType: 508
Example:
{
"BTTPredefinedActionType": 508
}
Restore Clipboard Contents
Restores previously saved clipboard contents.
Parameters:
- BTTPredefinedActionType: 509
Example:
{
"BTTPredefinedActionType": 509
}