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 

Simple Question About Using Send & Modifiers

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



Joined: 24 Oct 2009
Posts: 7

PostPosted: Mon Oct 26, 2009 11:56 pm    Post subject: Simple Question About Using Send & Modifiers Reply with quote

In a game there are machine guns! I wanted to add single-fire ability to these weapons so I write something very simple. The LButton is fire weapon.

Code:
*XButton2::
{
   Send {LButton}
   Return
}


So this works perfect, and it makes me fire one single round from all weapons when needed. I used the * modifier because you can zoom (Shift for me).

Now my question is when I am holding down the zoom button and press XButton2, it will act erratic. It will always still fire the single shot, but it will act as if i tapped the "zoom" button, moving me out of zoom for a split second, even one out of 10 times successfully doing so.

I observed this behavior in two separate games. Explanation? Thanks


Last edited by Dave-X on Mon Oct 26, 2009 11:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
Dave-X



Joined: 24 Oct 2009
Posts: 7

PostPosted: Mon Oct 26, 2009 11:58 pm    Post subject: Reply with quote

Adding this...

Also I just noticed that without the modifier, I can still fire the hot key with any other key pressed, is Shift some kind of exception to the rule?
Back to top
View user's profile Send private message
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