omek Posted April 12, 2008 Share Posted April 12, 2008 $i=0 do $i=$i+1 Send("{a down}") Send("{s down}") Send("{d down}") Send("{f down}") until $i=10000 this is the script, it need it spam all those buttons fast as it can. in windows/notebad it works fine and spams them over and over. but when i make the game the main window (tryed full screen and windowed mode) it will press them all once. but not again. am i missing something? im very new to this and any help or advice would be great! thanks again oMek Link to comment Share on other sites More sharing options...
rudi Posted April 12, 2008 Share Posted April 12, 2008 Hi. send("a{down}")oÝ÷ Ù©ÝZºÚ"µÍÙ[ ][ÝÞØHÝÛI][ÝÊ Regards, Rudi. Earth is flat, pigs can fly, and Nuclear Power is SAFE! Link to comment Share on other sites More sharing options...
Paulie Posted April 12, 2008 Share Posted April 12, 2008 How bout this, does this work in game? Opt('SendKeyDownDelay', 0) Opt('SendKeyDelay',0) $i=0 do $i=$i+1 Send("a") Send("s") Send("d") Send("f") until $i=10000 Link to comment Share on other sites More sharing options...
newbiescripter Posted April 12, 2008 Share Posted April 12, 2008 (edited) Hello You could also try this: HotKeySet("{ESC}", "quit") ; press ESC to stop the script While 1 SendKeepActive("Title") ; insert the title of your window in here send("{a down}") send("{s down}") send("{d down}") send("{f down}") WEnd Func quit() Exit 0 EndFunc Regards Edited April 15, 2008 by newbiescripter Link to comment Share on other sites More sharing options...
Paulie Posted April 12, 2008 Share Posted April 12, 2008 you guys realize that doing this: send("a{down}") send("s{down}") send("d{down}") send("f{down}") actually sends the letter then pushes the down arrow key? i don't think thats what the OP wants. 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