NegativeNrG Posted November 19, 2005 Share Posted November 19, 2005 (edited) hi again, i dont know if this is allowed but, im working on a spambot for anygame, im not gonna release the source OR the .exe. but ill give an example. what i want is, it sends the users input and it has to finish writing the text the user inputs THEN it presses enter key. example. $input = GUIctrlcreateinput("",x,x,x,x) $button = GUIctrlcreatebutton("spam",x,x,x,x) While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $Msg = button Send (GUIctrlread($input)) send ("{ENTER}") Case Else EndSelect WEnd ;==== i could use, sleep(xxxx) but the users input might be longer to be written then the milliseconds. so i needa know WHEN it finished writing the users input THEN pressing the enter key. This is not my whole script, because i dont want it to be public. if this isnt allowed, then simply close this thread without notice. Edited November 19, 2005 by NegativeNrG [size=20]My File Upload[/size]Register at my site and upload. Link to comment Share on other sites More sharing options...
t0ddie Posted November 19, 2005 Share Posted November 19, 2005 Send (GUIctrlread($input) & "{ENTER}") this should work fine, and so should what you have there already. have you tested this? because the send command will finish sending before it continues in the script. you shouldnt be having any problems.... Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you. Link to comment Share on other sites More sharing options...
NegativeNrG Posted November 19, 2005 Author Share Posted November 19, 2005 lol,im so stupid, i forgot about that. anywaiz, thanks alot. [size=20]My File Upload[/size]Register at my site and upload. 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