Browse the docs

BetterTouchTool conditions

The values BetterTouchTool conditions read, and what they become.

BetterTouchTool keeps a trigger's conditions as a predicate. Each value it can read is below.

ConditionValueBecomesNotes
active_app_namestringA script conditionread by a script condition or compared as an app name: check it
active_app_bundle_identifierstringAn Only if condition
active_app_executable_pathstringA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
active_website_urlstringA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
hovered_app_namestringA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
hovered_app_bundle_identifierstringA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
hovered_dock_appstringA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
focused_window_titlestringAn Only if condition
focused_window_app_namestringA script conditionread by a script condition or compared as an app name: check it
focused_window_xnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
focused_window_ynumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
focused_window_widthnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
focused_window_heightnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
focused_element_rolestringA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
focused_element_subrolestringA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
running_processesstringAn Only if condition
fullscreen_activeboolAn Only if condition
missioncontrol_activeboolA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
app_expose_activeboolA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
active_window_is_pinnedboolA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
window_titlebar_hoveredboolA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
active_spacenumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
translated_active_spacenumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
connected_wifi_namestringAn Only if condition
power_sourcestringAn Only if condition
battery_levelnumberAn Only if condition
focus_modestringA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
darkmode_activeboolA script conditionread by a script condition or compared as an app name: check it
lid_anglenumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
BTTIdleTimenumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
current_hournumberAn Only if condition
current_minutenumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
current_daynumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
current_weekdaynumberAn Only if condition
seconds_since_last_triggernumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
audio_output_devicestringA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
audio_input_devicestringA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
CurrentDisplayBrightnessnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
BuiltInDisplayBrightnessnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
keyboard_input_sourcestringA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
current_keyboard_input_sourcestringA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
connected_screen_countnumberAn Only if condition
connected_screensstringA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
active_screen_resolutionsstringA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
mouse_screen_widthnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
mouse_screen_heightnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
mouse_screen_xnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
mouse_screen_ynumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
focused_screen_xnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
focused_screen_ynumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
focused_screen_widthnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
focused_screen_heightnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
mouse_position_xnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
mouse_position_ynumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
mouse_pos_percent_xnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
mouse_pos_percent_ynumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
position_in_window_xnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
position_in_window_ynumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
color_under_cursorstringA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
left_mouse_downboolA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
middle_mouse_downboolA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
right_mouse_downboolA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
currently_pressed_mouse_buttonsstringA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
currently_connected_micestringA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
currently_pressed_keyboard_keysstringA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
currently_active_modifier_keysstringAn Only if condition
currently_blocking_keyboardboolA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
secure_input_pidnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
ignore_builtin_trackpad_activeboolA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
fingers_touching_trackpadnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
last_trackpad_forcenumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
trackpad_touch_durationnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
trackpad_touch_swipe_distancenumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
trackpad_mouse_distance_since_initial_touchnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
trackpad_idnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
thumb_recognizedboolA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
thumb_x_percentnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
thumb_y_percentnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
leftmost_touch_x_percentnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
leftmost_touch_y_percentnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
rightmost_touch_x_percentnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
rightmost_touch_y_percentnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
leftmost_rightmost_touch_distance_percentnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
fingers_touching_magic_mousenumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
magic_mouse_touch_durationnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
leftmost_mouse_touch_x_percentnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
leftmost_mouse_touch_y_percentnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
rightmost_mouse_touch_x_percentnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
rightmost_mouse_touch_y_percentnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
leftmost_rightmost_mouse_touch_distance_percentnumberA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
hovered_floating_menu_identifierstringA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
visible_floating_menu_identifiersstringA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
customVariable1stringAn Only if condition
customVariable2stringAn Only if condition
customVariable3stringAn Only if condition
customVariable4stringAn Only if condition
customVariable5stringAn Only if condition
processMatchModeenumA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
BTTScreenConditionIncludeUUIDstringA condition that never passesno Switchboard equivalent: imports as a condition that never passes, with a note
user_variableanyAn Only if condition
BTTTriggerConditionsDatapredicateAn Only if condition