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 

AHK Problem/Game Macro help

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



Joined: 29 Aug 2009
Posts: 13

PostPosted: Tue Nov 17, 2009 4:41 pm    Post subject: AHK Problem/Game Macro help Reply with quote

How to set a delay for each key Numpad3 Rbutton Lbutton Example: rbutton 3sec later lbutton..


f12::Suspend
~LButton::
Loop
{
Sleep 100
Send, {Numpad3} {RButton} {LButton}
if !GetKeyState("LButton","P")
break
}
Return
Back to top
View user's profile Send private message
doyle



Joined: 14 Nov 2007
Posts: 279
Location: London, England

PostPosted: Tue Nov 17, 2009 4:44 pm    Post subject: Re: AHK Problem/Game Macro help Reply with quote

Misc wrote:
How to set a delay for each key Numpad3 Rbutton Lbutton Example: rbutton 3sec later lbutton..


f12::Suspend
~LButton::
Loop
{
Sleep 100
SetKeyDelay, 3000
Send, {Numpad3} {RButton} {LButton}
SetKeyDelay, 10
if !GetKeyState("LButton","P")
break
}
Return
Back to top
View user's profile Send private message Visit poster's website
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