Sign in to follow this  
Followers 0
Guest XiangChu

Trying to make an ULTRA-simple script.

5 posts in this topic

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 :whistle:

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

Share this post


Link to post
Share on other sites



looks like it should work....

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0