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 

Keywait problems

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





PostPosted: Tue Apr 08, 2008 8:08 pm    Post subject: Keywait problems Reply with quote

I want the end key to click, then wait for the enter key to be pressed, click again and then wait for enter again and click a third time

I want it kind of like when programs say press enter to countinue, I want the script to pause until I press enter before clicking again, but I don't want the enter key to be a permanent hotkey for clicking.

The way I have it now, it just clicks 3 times really fast. Before I was using sleep between the clicks, but the delay is variable so sometimes the Sleep would be too short, and sometimes too long.

Current setup:

end::
click 947,352

KeyWait, enter
click 356,532

KeyWait, enter
click 947,352

return

old setup, using sleep:

end::
click 947,352

Sleep 1000
click 356,532

Sleep 1000
click 947,352

return
Back to top
Razlin



Joined: 05 Nov 2007
Posts: 370
Location: canada

PostPosted: Tue Apr 08, 2008 8:39 pm    Post subject: Reply with quote

this is not really the answer your looking for more then likely but you can try

Code:


Input [, OutputVar, Options, EndKeys, MatchList]

example

Input, SingleKey, T3 L1 V,
;waits 3 seconds for you to push any single key.


it would work
_________________
-=Raz=-
Back to top
View user's profile Send private message
Freighter



Joined: 07 Sep 2006
Posts: 64

PostPosted: Tue Apr 08, 2008 9:06 pm    Post subject: Reply with quote

Code:
end::
click 947,352
KeyWait, enter, D
click 356,532
KeyWait, enter

KeyWait, enter, D
click 947,352
return


KeyWait, enter, D <- waits for it to be pressed
KeyWait, enter <- waits for it to be released
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