hey folks,
i search for a lil script . i have the 3 keys 1,2,3 and want them to run automatical with a random delay with 1-3 seconds i want it to start/stop with a Key. its for a little browser game. i found the beginner guide, but with my bad english i dont get it, and i think its very simple for you =)
thank you for lil helpling or advice. otherwise i would take a german or italian link for my lilttle script helpling.
need a lil script, noob and bad english :/
Re: need a lil script, noob and bad english :/
I don't really understand the purpose of the script, but this could be what you want, if I'm reading your request correctly:
Code: Select all
#MaxThreadsPerHotkey 2
$1::
$2::
$3::AutoSendKey()
AutoSendKey()
{
static
ThisHotkey := SubStr(A_ThisHotkey, 2, 1)
auto%ThisHotkey% := % auto%ThisHotkey% = true ? false : true
While auto%ThisHotkey% = true
{
Random, MyOutputVar, 1000, 3000
Sleep, %MyOutputVar%
Send, %ThisHotkey%
}
}
Who is online
Users browsing this forum: Google [Bot] and 80 guests