How can you assign a custom shortcut to stop a QuickTime screen recording?
I am looking to record my screen using QuickTime on my Mac, but stopping a screen recording requires you to press ControlCommandEsc. I would like to know if it is possible to create a custom keyboard shortcut, such as ControlCommandS, to stop the QuickTime recording.
I prefer not clicking the Stop button in the menu bar because the recording captures the mouse trailing up to click that button.
If it is possible, how can one create a custom shortcut to stop a QuickTime screen recording?
You may use the default stop recording shortcut: ⌘ + Ctrl + Esc to stop recording when you finished.
This can be accomplished using an Automator Service bound to a custom keyboard shortcut, as follows:
- Open Automator (
/Applications/Utilities/Automator.app
) and create a newService
. - At the top, set this service to receive
no input
inany application
. - Use the search bar on the left side to find the
Run AppleScript
action and drag it into the main workflow pane on the right side. -
Set the contents of the
Run AppleScript
to the following:on run tell first document of application "QuickTime Player" to stop end run
Save the Service under a name you'll remember (perhaps "Stop QuickTime Recording").
- Open System Preferences, go to Keyboard preferences, go to the
Shortcuts
tab, selectServices
from the menu on the left, and find the Service you just created (it's probably located underText
). Click on it to select it, then click theAdd Shortcut
button. - Press the keyboard shortcut you want to assign to this action (⌃-⌘-S).
You can then close System Preferences and Automator. From now on, any time you press that key combination, it will attempt to stop the first active recording in QuickTime Player, including screen recordings.
To end the recording you can press: ⌘+Ctrl+Esc, or press the ⏺ (stop recording) button on your Macbook's touchbar. (see Apple Support > QuickTime Player)
To alter the shortcut, you would need to know what the name of the command is and rebind it in:
System Preferences > Keyboard > Shortcuts > App Shortcuts
You could also consider using software that intercepts keys and runs arbitrary actions, e.g.: Alfred (workflows), Keyboard Maestro, Hammerspoon.