For OSX I wound up doing the completely built-in route.
> Create Automator Workflow Service
> Assign Hotkey to service
> service has one item: Run applescript.
I miss the days when applications came with proper applescript dictionaries. Nowadays I have to pull shit like
tell application "System Events"
tell process "Firefox"
get menu item "Quit" of menu "File" of menu bar 1
click
end tell
end tell
I miss the days when applications came with proper applescript dictionaries. Nowadays I have to pull shit like