whoRu Posted March 23, 2004 Share 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 Link to comment Share on other sites More sharing options...
Dev Posted March 23, 2004 Share Posted March 23, 2004 Like this? MouseClick("left"); 1st click Sleep(5000); Sleep 5 sec MouseClick("left"); 2nd click Exit; Exit :iamstupid: Link to comment Share on other sites More sharing options...
Raider Posted March 23, 2004 Share 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... Link to comment Share on other sites More sharing options...
whoRu Posted March 23, 2004 Author Share Posted March 23, 2004 thanks alot Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now