 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
edu
Joined: 12 Oct 2006 Posts: 99 Location: Canada
|
Posted: Thu Dec 04, 2008 5:27 pm Post subject: keywait inside a loop |
|
|
Hi, I wonder why this script seems to ignore completely the command keywait:
| Code: |
f5::
Send, ^c
ClipWait, 1
values := Clipboard
Loop,Parse, values, `n,`r
{
KeyWait, x
; Send, {Right}
Send, %A_Loopfield%
}
return
|
Am I missing the obvious?  _________________ The best things of life are free. |
|
| Back to top |
|
 |
[VxE]
Joined: 07 Oct 2006 Posts: 3254 Location: Simi Valley, CA
|
|
| Back to top |
|
 |
edu
Joined: 12 Oct 2006 Posts: 99 Location: Canada
|
Posted: Thu Dec 04, 2008 6:38 pm Post subject: |
|
|
Thanks, [VxE]!
I realized that keywait was not the right approach, even with your example, as it would send the key x and all the rest immediately:
This is working great for me --- Autohotkey is just awesome:
| Code: | f5::
Send, ^c
ClipWait, 1
Loop,Parse, Clipboard, `n,`r
{
Input, trigger, V, {RControl}
Send, %A_Loopfield%
}
return |
then I can use the arrow keys to insert the values wherever I want in a spreadsheet. _________________ The best things of life are free. |
|
| 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
|