repeat = true
#ifWinActive World of Warcraft
{
$Enter::
{
repeat := ~repeat
Send {Enter}
return
}
$1::
{
Send 1
if repeat
{
Loop
{
if not GetKeyState("1","P")
break
Send 1
sleep 0
}
}
return
}
$2::
{
Send 2
if repeat
{
Loop
{
if not GetKeyState("2","P")
break
Send 2
sleep 0
}
}
return
}
}
Page 1 of 1
AHK Improvement
#1
Posted 01 June 2010 - 10:23 PM
I was getting tired of accidentally typing 1111111111111111111111 instead of 1 in chat so I modified my AHK script so it toggles the key repeat each time you press enter. So when you press "Enter" to type it will deactivate the hotkey and then reactivate it when you press "Enter" again. I tested it briefly tonight after I wrote it and it seemed to be working ok.
"Hey yo I'm gonna be on ti dop that's all my eyes can see
Victory is mine yeah surprisingly
I've been laying waiting for your next mistake
I put in work and watch my status escalate" - Gang Starr
Victory is mine yeah surprisingly
I've been laying waiting for your next mistake
I put in work and watch my status escalate" - Gang Starr
Share this topic:
Page 1 of 1

Help
Add Reply


MultiQuote











