Autohotkey question

08/06/2007 16:08 Diabox#1
Ok here's my question...

how do I script the following thing in autohotkey..
like first I want it to leftclick on a certain coordinate, then I want it to right-click 2 times on a certain coordinate, then I want it to left click again on a certain coordinate, and then right-click 2 times on a certain coordinate, until it has reached a full circle (or square, I dont care) and then let it loop again.... I hope I'm clear enough.
08/06/2007 17:06 Bl@ze!#2
Use AutoIT .. its easier.. and it should like this then :

Code:
call("clicktodeath")

func clicktodeath()
MouseClick("left",x,y,1)
MouseClick("right",x,y,2)
MouseClick("left",x,y,1)
MouseClick("right",x,y,2)
call("clicktodeath")
EndFunc
08/07/2007 11:49 Pblx#3
can autohotkey make mouseclicks at x,y without moving/using the mouse?????
08/08/2007 12:09 Diabox#4
Quote:
Originally posted by PiroX@Aug 7 2007, 11:49
can autohotkey make mouseclicks at x,y without moving/using the mouse?????
Yes, SendClick I suppose? And about the other reply, thanks for the autoIT code but the rest of my code is in autohotkey =[ so I would like it to have it in ahk... :bandit:
10/04/2007 07:44 evanxxxm#5
loop
{
xx=0
yy=0
loop 10
{
Click %xx%, %yy%
Click %xx%, %yy% right
Click %xx%, %yy% right
EnvAdd, xx, 50
}

loop 10
{
Click %xx%, %yy%
Click %xx%, %yy% right
Click %xx%, %yy% right
EnvAdd, yy, 50
}

loop 10
{
Click %xx%, %yy%
Click %xx%, %yy% right
Click %xx%, %yy% right
Envsub, xx, 50
}

loop 20
{
Click %xx%, %yy%
Click %xx%, %yy% right
Click %xx%, %yy% right
Envsub, yy, 50
}
}