dukette Posted May 28, 2011 Share Posted May 28, 2011 Hi there, before you guys start calling me noob and what not, just know that I recently dled this program, and have no prior experience. So anyways, in my script I typed this in: MouseClick("Left",173,353,2,10) I thought the 10 in that command is supposed to represent the speed. I assumed that's the delay? So once I start the script, it will wait 10 seconds, then click the set coordinate. However I was wrong, putting in the speed didn't change anything. So basically what I'm asking is, how do I put a delay on commands? Thanks in advance! Link to comment Share on other sites More sharing options...
somdcomputerguy Posted May 28, 2011 Share Posted May 28, 2011 Read about the Sleep function in the help file, and keep readin. . - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
monoscout999 Posted May 28, 2011 Share Posted May 28, 2011 two things to help you.. 1 - Read the help and search on it before posting, many newcomers ask things that already are described in the help file... see also the examples and try to understan.. if this is hard to do, then ask we happily help those who show an effort.. 2 - Try the things before you ask... if you put in a script MouseClick("Left",173,353,2,10) and run it, then change 10 to 1 MouseClick("Left",173,353,2,1) and run it again, then you change 1 to 0 MouseClick("Left",173,353,2,0) and run that too, you will see the difference... Link to comment Share on other sites More sharing options...
Zedna Posted May 28, 2011 Share Posted May 28, 2011 (edited) I will end up teasing him :-) Sleep(10000) MouseClick("Left",173,353,2) Edited May 28, 2011 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
dukette Posted May 29, 2011 Author Share Posted May 29, 2011 Sorry about that, in the help file, all I looked at was the basic scripting. Thanks for all your help guys! It's really greatly appreciated! Link to comment Share on other sites More sharing options...
somdcomputerguy Posted May 29, 2011 Share Posted May 29, 2011 Welcome to the Forum, dukette. The help file is great, with examples code for all the AutoIt functions. There's online copies too, the links are in my sig, and tutorials on YouTube. Good luck with your project. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
monoscout999 Posted May 29, 2011 Share Posted May 29, 2011 maybe this.. click on the text of the function you want to retrieve the help(description, syntaxis, parameters, remarks and examples) and press F1.. i use it all the time 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