Sign in to follow this  
Followers 0
Info

Send ( $Input)

3 posts in this topic

#1 ·  Posted (edited)

#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

Share this post


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
Sign in to follow this  
Followers 0