Charger Posted October 30, 2005 Share Posted October 30, 2005 I need to make a auto it that can click the space bar ever half a sec, it needs to loops till I hit a key or a preset exit... Im really new to thes but im hoping to inpove my skills. And I wanted to know how to speed up a auto click... I have been using this: Mouseclick("Left", 775, 185) Sleep(1) Mouseclick("Left", 595, 215) Sleep(1) Mouseclick("Left", 595, 215) Sleep(1) But I want to know how to speed it up to 4 clicks per half a sec Thank you... Never forget the power of words, and how it can affect someones life.Always remember theres another person on the other side of the computer. Link to comment Share on other sites More sharing options...
Nuffilein805 Posted October 30, 2005 Share Posted October 30, 2005 i don't get the point, but i think what you want to do is hit the spacebar every 0.5sec? send(" ") sleep(500) if you want to do your mousclicks every 0.125 sec than i suggest you try this: Mouseclick("Left", 775, 185) Sleep(125) Mouseclick("Left", 595, 215) Sleep(125) Mouseclick("Left", 595, 215) Sleep(125) Mouseclick("Left", 595, 215) Sleep(125) send (" ") both things together hope this helps you my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
Stumpii Posted October 30, 2005 Share Posted October 30, 2005 Check out my script here: http://www.autoitscript.com/forum/index.php?showtopic=13749It should do what you want with only minor modification. Give a man a script; you have helped him for today. Teach a man to script; and you will not have to hear him whine for help.AutoIt4UE - Custom AutoIt toolbar and wordfile for UltraEdit/UEStudio users.AutoIt Graphical Debugger - A graphical debugger for AutoIt.SimMetrics COM Wrapper - Calculate string similarity. Link to comment Share on other sites More sharing options...
Charger Posted October 31, 2005 Author Share Posted October 31, 2005 (edited) Thanks on part one Nuffilein805 But on the 2ed part, it dont seem to be fast enough to do what I need it to do. The way you had it set it clicked 4 times in 3.6 secs but I need it to click 4 times in like a half of a sec.... I hope you see this being that your on/off light is on... Edited October 31, 2005 by Charger Never forget the power of words, and how it can affect someones life.Always remember theres another person on the other side of the computer. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 31, 2005 Moderators Share Posted October 31, 2005 (edited) Opt("SendKeyDelay", 1) Mouseclick("Left", 775, 185, 1, 1) Sleep(60) Mouseclick("Left", 595, 215, 1, 1) Sleep(60) Mouseclick("Left", 595, 215, 1, 1) Sleep(60) Mouseclick("Left", 595, 215, 1, 1) Sleep(60) send (" ") Edit: Added SendKeyDelay, can't really speed it up more than that, but you can adjust it to 2, 3 etc.. if you need less speed. Edited October 31, 2005 by ronsrules 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...
Moderators SmOke_N Posted October 31, 2005 Moderators Share Posted October 31, 2005 Tested it with this on my slow computer and got all mouseclicks and send in 0.497793714005551 $timer = TimerInit() Opt("SendKeyDelay", 1) Mouseclick("Left", 775, 185, 1, 1) Sleep(10) Mouseclick("Left", 595, 215, 1, 1) Sleep(10) Mouseclick("Left", 595, 215, 1, 1) Sleep(10) Mouseclick("Left", 595, 215, 1, 1) Sleep(10) send (" ") MsgBox(0, "", TimerDiff($timer) / 1000) 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...
Nuffilein805 Posted October 31, 2005 Share Posted October 31, 2005 lol, thats way too fast nice idea with the timer my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
Charger Posted October 31, 2005 Author Share Posted October 31, 2005 Thank you ronsrules, by the way I love your ava, stargate is a cool show.... Never forget the power of words, and how it can affect someones life.Always remember theres another person on the other side of the computer. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 31, 2005 Moderators Share Posted October 31, 2005 LOL Nuff, I needed a Speed Limit Sign with a Red Circle and a Line thru it I guess. Thanks Charger about the avatar, and your welcome. Just call me Ron 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...
Nuffilein805 Posted October 31, 2005 Share Posted October 31, 2005 can't you just slow it down the 0.0221 secs? how bout another sleep (22)? my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 31, 2005 Moderators Share Posted October 31, 2005 I'm gonna take that as a joke, cuz I can't get one mouseclick to barely go to .09 sec's without any sleeps... 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...
Nuffilein805 Posted October 31, 2005 Share Posted October 31, 2005 it was supposed to be a joke thats why there was a smilie but you could do another sleep (22) and you will get really close to 0.5secs, maybe after the send (" ") my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 31, 2005 Moderators Share Posted October 31, 2005 Joke... Good! Yes, on my computer it's off and on by a 10th sometimes using the extra sleep() (448 mhz, still using stdram on this one), I figured he could at least adjust the sleeps to suit his computer, if not, then at least it was close. 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...
Charger Posted October 31, 2005 Author Share Posted October 31, 2005 Hay it was not fast enough lol, Uing it I scord a 160 speed shift, but to even get into the hight score's you need a 188.9 the highest is 198.923And ron here if you want this, I had a old psd of one of my sigs laying around:And sorry Nuffilein805, I only had one psd, my comp burned up like 4 days ago and it was the only psd I had uploaded to the web...maybe if I got time ill make you a sig f you would like one Never forget the power of words, and how it can affect someones life.Always remember theres another person on the other side of the computer. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 31, 2005 Moderators Share Posted October 31, 2005 Well, not fast enough... you could always take out the sleeps, and see if that works for you, or lower them one by one. You asked for .5 seconds, and I got it to .49 and some change But seriously try eliminating a sleep here and there. (Wonder how the high score was achieved ) Thanks, like the sig, but just not me... I really like the Font though! 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...
Charger Posted October 31, 2005 Author Share Posted October 31, 2005 (edited) What kinda sigs you into? And I tryed removing all the sleeps.... thats how I got it to 160 over 149 and what do you mean by "eliminating a sleep here and there"? Edited October 31, 2005 by Charger Never forget the power of words, and how it can affect someones life.Always remember theres another person on the other side of the computer. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 31, 2005 Moderators Share Posted October 31, 2005 Ok... Try this, though it's not suggested in the help file. Opt("SendKeyDelay", 0) If that doesn't work, still try this: Replace Send(" ") With: ControlSend("Your Window Title Your Playing", "", "", " ") Where you see "Your Window Title Your Playing" put the window title between the quotes. If you're using this in a loop, I hope you don't have to use it long, cuz the CPU won't like you much Not really into the whole Sig thing really, I don't know, never had one. 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...
Charger Posted October 31, 2005 Author Share Posted October 31, 2005 (edited) It slowed it down to 144.9, and after I ran the script a odd box poped up but it closed befor I even looked at it.... Edit> do you have aim or msn? Edited October 31, 2005 by Charger Never forget the power of words, and how it can affect someones life.Always remember theres another person on the other side of the computer. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 31, 2005 Moderators Share Posted October 31, 2005 MSN is on my profile... but be quick, I haven't been to bed yet, and I have to get up in 2 hours...lol 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...
Charger Posted October 31, 2005 Author Share Posted October 31, 2005 Hay all im still looking for a way to speed it up...... If anyone thinks they can give me a hand.... holla back Never forget the power of words, and how it can affect someones life.Always remember theres another person on the other side of the computer. 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