lilshortwun Posted June 14, 2007 Share Posted June 14, 2007 How do you make the program send 1 then press space and then 2 and so on. Please help. Link to comment Share on other sites More sharing options...
Vindicator209 Posted June 14, 2007 Share Posted June 14, 2007 uh Lookup Send() [center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center] Link to comment Share on other sites More sharing options...
lilshortwun Posted June 14, 2007 Author Share Posted June 14, 2007 I mean do it automatically not like Send("1") Send("2") Send("3") Send("4") Send("5") But another way where it can go as high as 1000 Link to comment Share on other sites More sharing options...
Vindicator209 Posted June 14, 2007 Share Posted June 14, 2007 uhm use Do...Until Loop and within the loop, use a variable for what number to send, then keep adding 1 to the variable..... I dunno how to explain it, without writing the whole script for you... [center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center] Link to comment Share on other sites More sharing options...
gsglive Posted June 14, 2007 Share Posted June 14, 2007 (edited) Try this: $num = 0 Do Send ($num) Send ("{SPACE}") $num+=1 Until $num = 1000 - gsglive Edited June 14, 2007 by gsglive - gsglive Link to comment Share on other sites More sharing options...
Vindicator209 Posted June 14, 2007 Share Posted June 14, 2007 *sigh* oh well, but I still want you to know why and how those work.... [center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center] Link to comment Share on other sites More sharing options...
lilshortwun Posted June 14, 2007 Author Share Posted June 14, 2007 Thank you so much gsglive Link to comment Share on other sites More sharing options...
lilshortwun Posted June 14, 2007 Author Share Posted June 14, 2007 Oh yeah, how would you put that in a send command? Such as Send("blah blah blah 1") and so on Link to comment Share on other sites More sharing options...
Vindicator209 Posted June 14, 2007 Share Posted June 14, 2007 $num = 0 Do Send("blah blah blah" & $num) Send ("{SPACE}") $num+=1 Until $num = 1000 [center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center] Link to comment Share on other sites More sharing options...
lilshortwun Posted June 14, 2007 Author Share Posted June 14, 2007 Thank you guys for helping me on this. I really appreciate it. Link to comment Share on other sites More sharing options...
JoshDB Posted June 14, 2007 Share Posted June 14, 2007 This is shorter: For $num = 0 To 1000 Send ("Text " & $num & "{SPACE}") Next Ha, I haven't been on these forums since... 2006, almost. Behold, my legacy signature:My AutoIt idol is Valuater. You know you love him, too.My Stuff: D&D AGoT Tools Suite 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