figman Posted November 21, 2010 Share Posted November 21, 2010 I just downloaded autoit... I need help making a script that types a statement, and then clicks enter. Can someone help me? Link to comment Share on other sites More sharing options...
leuce Posted November 21, 2010 Share Posted November 21, 2010 I need help making a script that types a statement, and then clicks enter.Is this for a game?http://www.autoitscript.com/forum/forum-2/announcement-12-game-bots-and-automation/ Link to comment Share on other sites More sharing options...
SadBunny Posted November 21, 2010 Share Posted November 21, 2010 (edited) I just downloaded autoit...I need help making a script that types a statement, and then clicks enter. Can someone help me?He doesn't mention game automation... So in the spirit of "innocent until proven guilty":send("This is a statement{enter}")Figman: nevertheless it is wise to heed the forum rules... Edited November 21, 2010 by SadBunny Roses are FF0000, violets are 0000FF... All my base are belong to you. Link to comment Share on other sites More sharing options...
figman Posted November 21, 2010 Author Share Posted November 21, 2010 (edited) Thanks I'm gonna go test that. I will not answer that question on the grounds that it may incriminate me. Also, though, how can you make it loop??? :S Edited November 21, 2010 by figman Link to comment Share on other sites More sharing options...
SadBunny Posted November 21, 2010 Share Posted November 21, 2010 Since your initial reply was that it is for a game, I wouldn't count on too much help on this issue any more. Roses are FF0000, violets are 0000FF... All my base are belong to you. Link to comment Share on other sites More sharing options...
figman Posted November 21, 2010 Author Share Posted November 21, 2010 shoot... Link to comment Share on other sites More sharing options...
JohnOne Posted November 21, 2010 Share Posted November 21, 2010 Spam bots (which is what this is) .are far worse than game bots if you ask me, but thats because I dont use games AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Foxhound Posted November 21, 2010 Share Posted November 21, 2010 shoot... I suggest you read the help manual that comes with AutoIT. Infinite Loop: While 1 sleep(500) ;half a second to reduce CPU usage send("This is a statement{enter}") WEnd Or a finite loop: $i = 1 While $i <= 100 ;where 100 is the number of times it will loop sleep(500) ;half a second to reduce CPU usage send("This is a statement{enter}") $i += 1 WEnd [quote]Quick YouTube To MP3 | Lyrics Finder | Internet Radio Player | GetWeather | TinyURLifier[/quote] Link to comment Share on other sites More sharing options...
leuce Posted November 21, 2010 Share Posted November 21, 2010 Infinite Loop: While 1 sleep(500) ;half a second to reduce CPU usage send("This is a statement{enter}") WEnd I have found that it is often useful if the send action is immediate, which can be achieved by adding the statement to the clipboard and sending "^v". I'm not sure if there is a better way to send a long string in a way that it is sent in an instant instead of one character at a time. Link to comment Share on other sites More sharing options...
Valik Posted November 22, 2010 Share Posted November 22, 2010 Thread locked. Two comments here. First, don't bait people into admitting if a thread is about a game if they aren't saying 'Hey I have this game how do I...". This question was properly phrased not to mention game. Second, don't answer if people are trying to bait you. Link to comment Share on other sites More sharing options...
Recommended Posts