Jump to content

send enter after text has been written?

Recommended Posts

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.


$input = GUIctrlcreateinput("",x,x,x,x)
$button = GUIctrlcreatebutton("spam",x,x,x,x)

While 1
    $msg = GuiGetMsg()
    Case $msg = $GUI_EVENT_CLOSE

      Case $Msg = button
Send (GUIctrlread($input))
send ("{ENTER}")

Case Else




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 by NegativeNrG

[size=20]My File Upload[/size]Register at my site and upload.

Link to post
Share on other sites

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 post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...