Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am a new Mac user and while I was on Windows I used to use AutoHotkey in order to assign NumPad keys for Photoshop shortcuts. I have heard that in order to do the same thing one can use IronAHK that is exactly the same but can run on Mono. I tried installing Mono, but I have NO clue if I have installed the right thing, how to use it ... or how to get my IronAHK started.

Can anyone help me, guide me a bit?

share|improve this question
    
If you have done any research at all for yourself (eg visited ironahk.net) it might be as well to say so specifically in this case because at present there seems no sign that you have made any effort - which does not encourage others to bother to help you! –  pnuts Dec 13 '12 at 15:12
add comment

1 Answer

Assuming you have already installed mono like you said, then you should be able to install IronAhk, by going to the ironAhk site and downloading your binaries, this comes as a zipped folder, open that and run setup.sh from the terminal.

If you do ./setup.sh it will tell you where it's default install directory will be, on mac /usr run sudo ./setup.sh install from the terminal and it will install it.

Go into the /usr/bin folder and run IronAhk and it should say No source path specified.

Give it a source path, the example.ahk provided in the download

This may give you an error message:

Could not execute: An exception was thrown by the type initializer for System.Windows.Forms.WindowsFormsSynchronizationContext

To fix this you will need to install Xquartz: http://xquartz.macosforge.org/landing/

After which you log out, log in, and run the example above which should give you a little hello world msgBox.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.