whoRu 0 Posted March 23, 2004 (edited) hi, i want to know how to write a left mouse click scrip but i dont know anything bout autoit. this what i want it to do. run the strip then it will wait for like 5sec then left click 1 time then wait for like 5sec then left click again then stop. in the middle of the 1st click and the 2nd click i can change the time it take to do the 2nd click. how do i do that? can any1 help me out please. thanks Edited March 23, 2004 by whoRu Share this post Link to post Share on other sites
Dev 0 Posted March 23, 2004 Like this? MouseClick("left"); 1st click Sleep(5000); Sleep 5 sec MouseClick("left"); 2nd click Exit; Exit :iamstupid: Share this post Link to post Share on other sites
Raider 0 Posted March 23, 2004 Hmmm... I think some working with the help file included would help you a lot... But, OK: $waittime = InputBox("Insert time to wait", "Enter the time in milliseconds you want to wait between click one and two") MouseClick("left") ; This is your first click sleep($waittime) ; Wait for $waittime milliseconds MouseClick("left") ; This is you second click exit ; Exit the script... Share this post Link to post Share on other sites