AutoHotkey Community

It is currently May 26th, 2012, 11:15 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: November 15th, 2009, 5:18 am 
Offline

Joined: November 15th, 2009, 5:05 am
Posts: 2
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]


Report this post
Top
 Profile  
Reply with quote  
PostPosted: November 16th, 2009, 10:05 pm 
Offline

Joined: November 15th, 2009, 5:05 am
Posts: 2
As topic, I am still having this problem.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 16th, 2009, 10:10 pm 
try other send modes


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Cerberus, JSLover, Maestr0, rbrtryn, Tipsy3000 and 68 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group