AutoHotKey not working in some programs
I am new to AutoHotKey. I just finished writing a script that dramatically alters my keyboard layout. I tested it out in notepad and FireFox and it seemed to be working great. Then, I opened up Crimson Editor, and none of my shortcuts were working. My keyboard was back to normal. However, if I switched back to my notepad window, it was working again. Switching back and forth between the two programs toggled my keyboard shortcuts on and off.
There are no conditional statements in my script, just a whole bunch of remapping, like this:
Are there just some programs that AutoHotKey doesn't work with? Any suggestions for how to fix/workaround this problem would be appreciated. I tried searching for this problem, but couldn't find anything. I am running Windows 7 Professional if that makes any difference.
Have you tried turning off the UAC or running the script as administrator.
Those are common fixes when using AHK on windows 7.
I don't know from personal experiance (have only XP) but others have had successs.
Running the script as an administrator did the trick. I guess I didn't search for Windows 7 specific problems because I didn't realize until it worked on my XP machine that it was specific to windows 7. Thanks for the help!