Hello all,
I have encounter a problem when trying to assign the '
ctrl' key to my mouse button for a game called NavyFIELD. I have a logitech G7 mouse and recently upgrade my computer to Windows 7 64bit and the keystroke assingment functions from the logitech setpoint software just doenst work for this game anymore. So I am trying to use autohotkey to assign the ctrl key to my mouse button instead. Here is my code so far.
Code:
XButton1::
{
IfWinActive, NavyFIELD
{
Send {CTRL}
Sleep, 150
}
}
return
It does nothing when I press the button. I thought maybe the title of the application is wrong, so I even tried removed the "IfWinActive, NavyFIELD" condition, and in game I got nothing from pressing that button. But out of the game it works fine. Any help would be appreciated.[/code]