Is there an easy way to remap one keystroke to another in OSX El Capitan?
I want to assign F13 to ⇧⌥⌘4. (I use a little app called Imgup and that's the keystroke to upload a screenshot.)
This answer suggests using Keyboard Maestro. But I'm already running Karabiner and USB Overdrive so I'm hesitant to install more software.
I'm looking through the options in Karabiner and I don't see how to simply remap one key press to another, and obviously "upload screenshot to Imgur" isn't one of the choices since it's not a system command. Also I can't use "App Shortcuts" since in Imgup there's no menu item for this action.
Is there a simple format for writing an XML snippet in Karabiner that would allow this? Something like this?
<item>
<name>F13 to ⇧⌥⌘4</name>
<key><f13>
<definition>4 with Command AND Option and Shift down</definition>
</item>
Sorry I'm late to the party, but here's how to do it:
Delete everything already in the AppleScript box, then copy and paste this in:
on run {input, parameters}
tell application "System Events"
key code 21 using {command down, option down, shift down}
end tell
return input
end run
Run the Service using the Play button in the top right of the window to make sure it does what you want.
Save the Service using whatever title you'd like. This will make it available system-wide.
Now it's shortcut time.
Open System Preferences > Keyboard > Shortcuts, and select Services in the left pane