AutoHotKey equivalent on Mac

Solution 1:

What subset of AHK functionality are you trying to mimic?

Quicksilver comes up in this discussion kind of a lot. You can have it store snippets of text, fire scripts, and move a lot of stuff between programs.

For actual "macros", there's TextExpander. That's an input manager that sniffs for certain key combinations and then dashes in to backspace over your magic shortcut and replace it with something static or dynamic. Like on my system, "ddte" becomes "2009.08.22" in any program whenever I'm typing.

Automator or AppleScript might give you some of the macro stuff without actual macros. You'll be dealing with actual application hooks instead of input hacks, but it's worth checking out.

There's also Spotlight.

Solution 2:

I used to use Auto HotKey for some ergonomically-minded key remapping under Windows - when I switched to a Mac, I started using Keyboard Maestro to do the same things.

Solution 3:

Look into IronAHK. It's a rewrite of Autohotkey for .NET and Mono. Works perfectly under Mono on Mac.

Solution 4:

Keymando was created for exactly this. You can create key mappings, setup system automation commands, application launchers, and much more.

http://keymando.com/

Full disclosure: I'm the creator of Keymando. Please feel free to ask any questions.

Solution 5:

ControllerMate is a controller programming tool that allows you to customize the behavior of your HID devices — keyboards, keypads, mice, trackballs, joysticks, gamepads, throttles, among others.