How to make a custom keybind that runs an applescript file? No additional questions. I'm fine with installing an additional program.
First, (Automator -> New -> Service) to paste the code, and then (System Preferences -> Keyboard -> Shortcuts -> Services) to bind the Service to a keyboard shortcut.
BetterTouchTool
Karabiner