Guest XiangChu Posted January 1, 2004 Posted January 1, 2004 I'm just trying to make a simple script that double clicks my mouse twice, then repeats every 10 seconds. Here's what I have so far, it will move the mouse, but it won't actually click. I'm using version 2.64. Thanks for any help WinActivate, SwgClient Sleep,8000 start: MouseMove,105,245 Sleep,500 LeftClick,105,245 LeftClick,105,245 Sleep,1000 LeftClick,105,245 LeftClick,105,245 Sleep,10000 goto,start
Insolence Posted January 2, 2004 Posted January 2, 2004 try adding a sleep between the 2 clicks, 250 should work "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.
jade420 Posted January 3, 2004 Posted January 3, 2004 just get version 3 and the script is cut down to this, MouseClick("left") MouseClick("left") this is to just double click the mouse but you can add in the rest just put mouse move,mousedown,mouseup,mouseclick thats all and you will have a more stable script.
Valik Posted January 4, 2004 Posted January 4, 2004 just get version 3 and the script is cut down to this, MouseClick("left") MouseClick("left") this is to just double click the mouse but you can add in the rest just put mouse move,mousedown,mouseup,mouseclick thats all and you will have a more stable script.Actually, with AutoIt 3, it would be as simple as: WHILE 1=1 MouseClick("left", 105, 245, 2); This is a double click Sleep(1000) MouseClick("left", 105, 245, 2); This is a double click, too Sleep(10000) WEND
Recommended Posts