I have managed to get (through searching here
So I was wondering if anyone could help me? Essentially I think it would be something like
Repeat x
If x = OddNumber
+1
Many thanks! If anyone can help I will buy a virtual beer!
Posted 15 July 2012 - 06:19 PM
Posted 15 July 2012 - 07:16 PM
$a::
while GetKeyState("a","P")
{
Send a
Sleep 100
send a ;send the key an even number of times on each loop
Sleep 100
}
Return
Posted 15 July 2012 - 07:18 PM
$LControl::
send {LControl}
sleep 610
Loop
{
GetKeyState, state, LControl, P
if state = U
break
Sleep 150
send 1
}
return
Posted 15 July 2012 - 07:24 PM
$LControl::
send {LControl}
sleep 610
Loop
{
GetKeyState, state, LControl, P
if state = U
break
Sleep 150
send 1
Sleep 150
send 1
}
returnIf you put the send twice the loop will always end on a even number
Posted 15 July 2012 - 07:35 PM