Command Reference

Complete documentation of all available PTHKD actions

This page lists all available commands organized by namespace, with their parameters and usage examples.

Beta Software Disclaimer

PTHKD is beta software provided "AS IS" without warranty of any kind. Use at your own risk. This software is in active development and may contain bugs, cause unexpected behavior, or interfere with other applications.

While we make every effort to ensure stability, we provide no technical support, warranties, or guarantees regarding this beta release. Users should exercise caution and test thoroughly in non-critical environments before relying on PTHKD in production workflows.

By downloading and using PTHKD, you acknowledge that this is experimental software and agree to use it at your own discretion and risk.

Configuration File Location

All PTHKD hotkeys are configured in a single TOML file located at:

~/Library/Application Support/pthkd/config.toml

Getting Started: On first launch, PTHKD will automatically create a default configuration file at this location. Edit this file using any text editor to add or modify your hotkeys. After making changes, use the os.reload_config command to apply your changes without restarting the daemon.

Configuration Structure: Each hotkey is defined in a [[hotkey]] section. All commands below should be used as the action parameter within these sections. See the configuration guide for basic TOML syntax and structure.

OS Namespace macOS System

System-level macOS automation and control commands.

os.reload_config

Reload the configuration file without restarting the daemon.

ParametersTypeDescription
No parameters
[[hotkey]]
keys = ["cmd", "option", "r"]
action = "os.reload_config"
os.test_notification

Display a test notification to verify hotkey is working.

ParametersTypeDescription
No parameters
[[hotkey]]
keys = ["cmd", "shift", "t"]
action = "os.test_notification"
os.test_app_info

Display current application name and window title for debugging filters.

ParametersTypeDescription
No parameters
[[hotkey]]
keys = ["cmd", "shift", "i"]
action = "os.test_app_info"
os.focus_protools

Bring Pro Tools to the foreground.

ParametersTypeDescription
No parameters
[[hotkey]]
keys = ["cmd", "option", "p"]
action = "os.focus_protools"
os.launch_application

Launch an application by name.

ParameterTypeDescription
appstringApplication name to launch
[[hotkey]]
keys = ["ctrl", "shift", "l"]
action = "os.launch_application"
[hotkey.params]
app = "Pro Tools"
os.shell_script

Execute a shell script from file path.

ParameterTypeDescription
script_pathstringPath to shell script to execute
[[hotkey]]
keys = ["ctrl", "option", "s"]
action = "os.shell_script"
[hotkey.params]
script_path = "/path/to/script.sh"
os.click_window_button

Click a UI button in a specific window.

ParameterTypeDescription
appstringApplication name
windowstringWindow title (fuzzy match)
buttonstringButton label to click
[[hotkey]]
keys = ["ctrl", "shift", "c"]
action = "os.click_window_button"
[hotkey.params]
app = "Pro Tools"
window = "Edit"
button = "OK"
os.list_running_apps

Display list of all running applications (debug).

ParametersTypeDescription
No parameters
os.list_window_titles

List all window titles in current application (debug).

ParametersTypeDescription
No parameters

Pro Tools: Edit Actions Pro Tools

Editing, selection, and clip manipulation commands.

pt.edit_crossfade

Create crossfades using preset with optional automation and selection adjustment.

ParameterTypeDescription
presetstringName of crossfade preset
crossfade_automationboolCrossfade automation with fades
fill_selectionboolFill entire selection with crossfade
adjust_selection_framesfloatAdjust selection by N frames (can be negative)
snap_to_gridboolSnap selection to grid
[[hotkey]]
keys = ["cmd", "control", "f"]
action = "pt.edit_crossfade"
target_application = "Pro Tools"
app_window = "Edit"
[hotkey.params]
preset = "TF Default"
crossfade_automation = true
fill_selection = true
adjust_selection_frames = 1.0
snap_to_grid = true
pt.edit_adjust_clip_to_match_selection

Trim clip boundaries to match current timeline selection.

ParametersTypeDescription
No parameters
[[hotkey]]
keys = ["cmd", "shift", "a"]
action = "pt.edit_adjust_clip_to_match_selection"
target_application = "Pro Tools"
pt.edit_conform_delete

Delete audio in shuffle mode (closes gaps).

ParametersTypeDescription
No parameters
[[hotkey]]
keys = ["cmd", "shift", "delete"]
action = "pt.edit_conform_delete"
target_application = "Pro Tools"
pt.edit_conform_insert

Insert silence in shuffle mode (creates space).

ParametersTypeDescription
No parameters
[[hotkey]]
keys = ["cmd", "shift", "i"]
action = "pt.edit_conform_insert"
target_application = "Pro Tools"
pt.edit_toggle_mode

Toggle between GridAbsolute and Slip edit modes.

ParametersTypeDescription
No parameters
[[hotkey]]
keys = ["f4"]
action = "pt.edit_toggle_mode"
target_application = "Pro Tools"
pt.edit_toggle_tool

Toggle between Selector and GrabberTime tools.

ParametersTypeDescription
No parameters
[[hotkey]]
keys = ["f3"]
action = "pt.edit_toggle_tool"
target_application = "Pro Tools"
pt.edit_reset_clip

Remove all clip processing (fades, gain, effects).

ParametersTypeDescription
No parameters
[[hotkey]]
keys = ["cmd", "shift", "r"]
action = "pt.edit_reset_clip"
target_application = "Pro Tools"
pt.edit_bg_paste_selection

Paste audio and automatically create fades.

ParameterTypeDescription
fade_presetstringFade preset to apply
adjust_selection_framesfloatAdjust selection by N frames
snap_to_gridboolSnap to grid
[[hotkey]]
keys = ["cmd", "shift", "v"]
action = "pt.edit_bg_paste_selection"
target_application = "Pro Tools"
[hotkey.params]
fade_preset = "TF Default"
adjust_selection_frames = 1.0
snap_to_grid = true
pt.edit_bg_clear_selection

Clear audio from selection with fade handling.

ParameterTypeDescription
adjust_selection_framesfloatAdjust selection by N frames
snap_to_gridboolSnap to grid
[[hotkey]]
keys = ["cmd", "shift", "x"]
action = "pt.edit_bg_clear_selection"
target_application = "Pro Tools"
[hotkey.params]
adjust_selection_frames = 1.0
snap_to_grid = true

Pro Tools: Track Actions Pro Tools

Track soloing, view management, and lane selection.

pt.tracks_solo_selected

Solo only the currently selected tracks (clears other solos).

ParametersTypeDescription
No parameters
[[hotkey]]
keys = ["cmd", "shift", "s"]
action = "pt.tracks_solo_selected"
target_application = "Pro Tools"
pt.tracks_solo_clear

Clear all track solos.

ParametersTypeDescription
No parameters
[[hotkey]]
keys = ["cmd", "shift", "c"]
action = "pt.tracks_solo_clear"
target_application = "Pro Tools"
pt.tracks_add_selected_to_solos

Add selected tracks to existing solos without clearing others.

ParametersTypeDescription
No parameters
[[hotkey]]
keys = ["cmd", "shift", "a"]
action = "pt.tracks_add_selected_to_solos"
target_application = "Pro Tools"
pt.tracks_remove_selected_from_solos

Remove selected tracks from solos.

ParametersTypeDescription
No parameters
[[hotkey]]
keys = ["cmd", "shift", "r"]
action = "pt.tracks_remove_selected_from_solos"
target_application = "Pro Tools"
pt.tracks_view_selector

Multi-press selector for cycling through track views (waveform, volume, pan, etc.).

ParameterTypeDescription
timeout_msintTime window (ms) for multiple presses
[[hotkey]]
keys = ["ctrl", "v"]
action = "pt.tracks_view_selector"
target_application = "Pro Tools"
[hotkey.params]
timeout_ms = 200
pt.tracks_lane_selector

Multi-press selector for cycling through track lanes.

ParameterTypeDescription
timeout_msintTime window (ms) for multiple presses
[[hotkey]]
keys = ["ctrl", "l"]
action = "pt.tracks_lane_selector"
target_application = "Pro Tools"
[hotkey.params]
timeout_ms = 200

Pro Tools: Marker Actions Pro Tools

Marker navigation and quick marker management.

pt.markers_go_to_next_marker

Navigate to next or previous marker on a specific ruler.

ParameterTypeDescription
reverseboolGo to previous marker instead of next (optional)
rulerstringRuler name (e.g., "Markers 1", optional)
[[hotkey]]
keys = ["pad_0", "pad_plus"]
action = "pt.markers_go_to_next_marker"
target_application = "Pro Tools"

[[hotkey]]
keys = ["pad_0", "pad_minus"]
action = "pt.markers_go_to_next_marker"
target_application = "Pro Tools"
[hotkey.params]
reverse = true

[[hotkey]]
keys = ["pad_1", "pad_plus"]
action = "pt.markers_go_to_next_marker"
target_application = "Pro Tools"
[hotkey.params]
ruler = "Markers 1"
pt.markers_go_to_quick_marker

Jump to a quick marker location (0-9).

ParameterTypeDescription
numberintQuick marker number (0-9)
[[hotkey]]
keys = ["ctrl", "1"]
action = "pt.markers_go_to_quick_marker"
target_application = "Pro Tools"
[hotkey.params]
number = 1
pt.markers_update_quick_marker

Update a quick marker with current location, name, and color.

ParameterTypeDescription
numberintQuick marker number (0-9)
namestringMarker name (optional)
colorstringMarker color (optional)
[[hotkey]]
keys = ["ctrl", "shift", "1"]
action = "pt.markers_update_quick_marker"
target_application = "Pro Tools"
[hotkey.params]
number = 1
name = "Scene Start"
color = "red"

Pro Tools: Plugin Actions Pro Tools

AudioSuite plugin automation and control.

pt.plugins_audiosuite

Open AudioSuite plugin and click a button automatically.

ParameterTypeDescription
pluginstringPlugin name
buttonstringButton to click (e.g., "Render")
closeboolClose plugin after action (optional)
saveboolSave settings before closing (optional)
[[hotkey]]
keys = ["ctrl", "shift", "n"]
action = "pt.plugins_audiosuite"
target_application = "Pro Tools"
[hotkey.params]
plugin = "Normalize"
button = "Render"
close = true
pt.plugins_multitap_selector

Multi-press selector for cycling through plugins. Press same hotkey multiple times to cycle.

ParameterTypeDescription
pluginsarrayArray of plugin names to cycle through
timeoutintTime window (ms) for multiple presses
buttonstringButton to click (optional)
closeboolClose after action (optional)
[[hotkey]]
keys = ["ctrl", "pad_1"]
action = "pt.plugins_multitap_selector"
target_application = "Pro Tools"
[hotkey.params]
timeout = 200
plugins = ["Altiverb 8", "ValhallaVintageVerb", "ValhallaSuperMassive"]
pt.plugins_send_receive_rx

Send audio to iZotope RX for processing and receive back.

ParameterTypeDescription
versionintRX version number (e.g., 11)
[[hotkey]]
keys = ["ctrl", "shift", "r"]
action = "pt.plugins_send_receive_rx"
target_application = "Pro Tools"
[hotkey.params]
version = 11

Pro Tools: Session Actions Pro Tools

Session management, export, and versioning.

pt.session_export_selection

Export selected tracks and timeline range to new session.

ParameterTypeDescription
copy_audio_filesboolCopy audio files to new session (optional)
closeboolClose export dialog after (optional)
[[hotkey]]
keys = ["ctrl", "shift", "e"]
action = "pt.session_export_selection"
target_application = "Pro Tools"
[hotkey.params]
copy_audio_files = true
close = false
pt.session_version_up

Save session with incremented version number.

ParameterTypeDescription
name_idstringName identifier for version (optional)
[[hotkey]]
keys = ["ctrl", "shift", "s"]
action = "pt.session_version_up"
target_application = "Pro Tools"
[hotkey.params]
name_id = "mix"
pt.session_save_as

Save session with new name and/or location.

ParameterTypeDescription
namestringNew session name (optional)
locationstringNew save location path (optional)
[[hotkey]]
keys = ["ctrl", "option", "s"]
action = "pt.session_save_as"
target_application = "Pro Tools"
[hotkey.params]
name = "MySession_Final"

Soundminer Namespace Soundminer

Soundminer integration and file spotting commands.

sm.send_to_daw

Send files from Soundminer to DAW with customizable options.

ParameterTypeDescription
dawstringTarget DAW: "Pro Tools", "Reaper", "iZotope RX 11"
commandstring"Spot To DAW", "Bring into DAW", "Send Files to DAW"
reference_originalboolUse original files vs converted (optional)
original_sample_rateboolMaintain original sample rate (optional)
spot_as_regionboolCreate as region in DAW (optional)
launchboolAuto-launch DAW if not running (optional)
[[hotkey]]
keys = ["ctrl", "s"]
action = "sm.send_to_daw"
target_application = ["Soundminer", "Pro Tools"]
trigger_on_release = true
[hotkey.params]
command = "Spot To DAW"
daw = "Pro Tools"
reference_original = false
original_sample_rate = false
spot_as_region = true
launch = false
sm.select_spotting_folder

Open Soundminer spotting folder selection dialog.

ParametersTypeDescription
No parameters
[[hotkey]]
keys = ["ctrl", "shift", "f"]
action = "sm.select_spotting_folder"
target_application = "Soundminer"