AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Navyfield xbutton1 assignment.

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
jtso



Joined: 15 Nov 2009
Posts: 2

PostPosted: Sun Nov 15, 2009 4:18 am    Post subject: Navyfield xbutton1 assignment. Reply with quote

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]
Back to top
View user's profile Send private message
jtso



Joined: 15 Nov 2009
Posts: 2

PostPosted: Mon Nov 16, 2009 9:05 pm    Post subject: I still need help with this. Reply with quote

As topic, I am still having this problem.
Back to top
View user's profile Send private message
Guest






PostPosted: Mon Nov 16, 2009 9:10 pm    Post subject: Reply with quote

try other send modes
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group