Jump to content

Send ( $Input)


Info
 Share

Recommended Posts

#include <GUIConstants.au3>

$Form1 = GUICreate("Form1", 177, 63, 193, 125)
$Input1 = GUICtrlCreateInput("BlaBla1", 16, 8, 145, 21)
$Button1 = GUICtrlCreateButton("Click", 32, 32, 105, 25, 0)
GUISetState(@SW_SHOW)

While 1
    $msg = GUIGetMsg()
    Select
        Case $msg = $GUI_EVENT_CLOSE
        Exit
        Case $msg = $Button1
            Sleep ( 1000 )
            Send ( $Input1)
    EndSelect
WEnd

Let's say I write "BlaBla1" in the Input place, I want it to wait a second and write "BlaBla1"...

Thanks.

Edited by Info
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...