PawBear Posted February 26, 2007 Share Posted February 26, 2007 (edited) ok iv been looking around and i think this should work. what i want it to do is press and hold shift and click the mouse left endless ammount of times. Lmk if this is correct. Func Send("{SHIFTDOWN}") For $x = 1 To 99999999999999 MouseClick("left", $pos[0], $pos[1], 1) Sleep(600) Next Send("{SHIFTUP}") Sleep(200) EndFunc Edited February 26, 2007 by PawBear Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 26, 2007 Moderators Share Posted February 26, 2007 (edited) So try it... you haven't done anything but grab a script from someone here "in the support forum of all places" with no modding it to your needs. As I've stated before, and will in every thread you start... you will not get someone to do it for you.To do something repetitively look at Loops in the help file. Edited February 26, 2007 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
PawBear Posted February 26, 2007 Author Share Posted February 26, 2007 I understand but when i do that i get an error. I dont understand why. I dont want you to do it for me but i need more instructions than this does this. i dont even know how to start an auto it file. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 26, 2007 Moderators Share Posted February 26, 2007 I understand but when i do that i get an error. I dont understand why. I dont want you to do it for me but i need more instructions than this does this. i dont even know how to start an auto it file.1. Download AutoIt2. Download SciTe Editor (Really handy for creating autoit scripts)3. Open the help file.4. Go To Search.5. Type in 1 word what you "think" you are looking for.Learn from the examples... mold something ... after you've created what you think you want... then try to run it, if it errors and you don't understand... then post what you have done along with the code and any errors that were ouput to you.There are no short cuts... However there is an tutorial created by Valuater that could help you along your learning curve.Tutorial Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
PawBear Posted February 26, 2007 Author Share Posted February 26, 2007 Thanks a ton man. is sending shift is that Send (shift down) ? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 26, 2007 Moderators Share Posted February 26, 2007 Thanks a ton man. is sending shift is that Send (shift down) ?If you want to "hold" shift down it's Send('{SHIFTDOWN}')oÝ÷ Ùhbr¨¹Æ§~)ݺw^®«¨µ'§v«¨¶)íè^ââÊ°j{m¢;¬¶Ç§vƲJµ©Ý¶¥zÛ^®Ü¨» .×hjëh×6Send('+t')with "+" (with out curly brackets ({} because with them it would just send the actual plus sign) representing shift. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
PawBear Posted February 26, 2007 Author Share Posted February 26, 2007 Wow cool thanks i think i just finished my problem. 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