Code: Select all
settitlematchmode, 2
#notrayicon
#ifwinactive, ahk_exe, javaw.exe
LButton::
{
KeyWait, LButton, T0.15
if(ErrorLevel)
{
{
sendinput, {lbutton down}
KeyWait, LButton
sendinput, {lbutton up}
return
}
}
else
{
Random, x, 1, 3
if (x = 1)
{
click, left
sleep, 10
click, left
}
if (x = 2)
{
click, left
sleep, 10
click, left
}
if (x = 3)
{
click, left
}
}
return
}