 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
Guest56838 Guest
|
Posted: Tue Apr 08, 2008 8:08 pm Post subject: Keywait problems |
|
|
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
|
Posted: Tue Apr 08, 2008 8:39 pm Post subject: |
|
|
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 |
|
 |
Freighter
Joined: 07 Sep 2006 Posts: 64
|
Posted: Tue Apr 08, 2008 9:06 pm Post subject: |
|
|
| 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 |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|