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.