shingo420 Posted June 4, 2009 Share Posted June 4, 2009 can i get help writing a script that plays gunbound.gme close windowed and presses F5 and F8 over and over again back n forth in a never ending loop? Link to comment Share on other sites More sharing options...
JackDinn Posted June 4, 2009 Share Posted June 4, 2009 didn't understand that question, Thx all,Jack Dinn. JD's Auto Internet Speed Tester JD's Clip Catch (With Screen Shot Helper) Projects :- AutoIt - My projects My software never has bugs. It just develops random features. :-D Link to comment Share on other sites More sharing options...
shingo420 Posted June 4, 2009 Author Share Posted June 4, 2009 (edited) can i get help writing a script that plays gunbound.gme close windowed and presses F5 and F8 over and over again back n forth in a never ending loop? i mean can i get help running gunbound.gme in the background a game so it can press F5 and F8 back and forth in never ending cycle like i can go on the internet and it just plays for me and it presses F5 and F8 like F5 F8 F8 F8 F8 F8 F8 F8 F8 F8 F8 F8 F8 F5 F8 F8 F8 F8 F8 F8 F8 F8 F8 F8 F8 F8 F5 etc.... while im on the internet and gunbound.gme plays in background i am meaning in 0.5 second intervals like between each button Edited June 4, 2009 by shingo420 Link to comment Share on other sites More sharing options...
MrMitchell Posted June 4, 2009 Share Posted June 4, 2009 So you want to make a bot? These functions could get you started: ControlSend() Send() Sleep() Have Fun! Link to comment Share on other sites More sharing options...
shingo420 Posted June 4, 2009 Author Share Posted June 4, 2009 So you want to make a bot?These functions could get you started:ControlSend()Send()Sleep()Have Fun!what does control send do how can i use it does it loop? and how can i get the script to work with gunbound.gmeits the name of the process in task manager Link to comment Share on other sites More sharing options...
SaVoR Posted June 4, 2009 Share Posted June 4, 2009 what does control send do how can i use it does it loop? and how can i get the script to work with gunbound.gmeits the name of the process in task managerControlSend sends keystrokes to a window, even if it is minimized.ControlSend()Send()Sleep()That will help you what you are achieving. If you want to do it in a loop, there are several ways to loop something. One for instance is..While 1*Code*Wend Link to comment Share on other sites More sharing options...
shingo420 Posted June 4, 2009 Author Share Posted June 4, 2009 ControlSend sends keystrokes to a window, even if it is minimized.ControlSend()Send()Sleep()That will help you what you are achieving. If you want to do it in a loop, there are several ways to loop something. One for instance is..While 1*Code*Wendi keep getting errors withWhile 1ControlSend(gunbound.gme)Send((F5)(F8)(F8)(F8)(F8)(F8)(F8)(F8)(F8)(F8)(F8)(F8)(F8)(F8)(F8)(F8)(F8)(F8)(F8)(F8)(F8)(F8)(F8)(F8)(F8)(F5))Sleep(2000)Wendneeds exit i think ill play with example exits though for mean time Link to comment Share on other sites More sharing options...
JackDinn Posted June 4, 2009 Share Posted June 4, 2009 read the help files , please !! Thx all,Jack Dinn. JD's Auto Internet Speed Tester JD's Clip Catch (With Screen Shot Helper) Projects :- AutoIt - My projects My software never has bugs. It just develops random features. :-D Link to comment Share on other sites More sharing options...
Bert Posted June 4, 2009 Share Posted June 4, 2009 This isn't McDonalds. You need to do the work here. If you want to learn, take AutoIt 1 2 3. The link is in my signature. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
stampy Posted June 4, 2009 Share Posted June 4, 2009 The controlsend and send are both being used incorrectly From the help file: Send ( "keys" [, flag] ) ControlSend ( "title", "text", controlID, "string" [, flag] ) It even goes into how to send a F# key. Link to comment Share on other sites More sharing options...
JackDinn Posted June 4, 2009 Share Posted June 4, 2009 as much as you might want it to you cant just role a dice to string things together! I would take Volly's AutoIt 1 2 3 tutorial if i was you shingo420 as it looks like your badly in need of it , it really is an excellent place to start out. Thx all,Jack Dinn. JD's Auto Internet Speed Tester JD's Clip Catch (With Screen Shot Helper) Projects :- AutoIt - My projects My software never has bugs. It just develops random features. :-D Link to comment Share on other sites More sharing options...
shingo420 Posted June 5, 2009 Author Share Posted June 5, 2009 (edited) While 1 ControlSend( "GunBound", "", "Edit1", "{F5}{F8}{F8}{F8}{F8}{F8}{F8}{F8}{F8}{F8}{F8}{F8}{F8}{F8}{F8}{F8}" ) Sleep (500) WEnd uhmmm can i get help i cant get it to press F5 or F8 ingame... i think i need a new ControlID possibly.... or can someone gimme a list of control id's and what they do? like how would i get notepad to ctrl save itself? thats what i wonder Edited June 5, 2009 by shingo420 Link to comment Share on other sites More sharing options...
MrMitchell Posted June 5, 2009 Share Posted June 5, 2009 Like everyone else has already mentioned, I would suggest you take an AutoIt tutorial before you ask any more questions... Just sayin... It will help you to really understand the things you are asking. 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