Jump to content
Sign in to follow this  
CaptainBeardsEyesBeard

ControlSend() help

Recommended Posts

CaptainBeardsEyesBeard
Posted (edited)

Hi

I can't for the life of me see why it's not sending the data to the control?

 

Local $hWnd1 = WinWait("[CLASS:ThunderRT6TextBox"], "", 10)

; Wait for 2 seconds.
Sleep(7000)

; Send a string of text to the edit control of Notepad. The handle returned by WinWait is used for the "title" parameter of ControlSend.
ControlSend($hWnd1, "", "ThunderRT6TextBox20", "TEst  Test")

Sleep(4000)

I've attached the screenshot of the AutoIT window

1.PNG

Edited by CaptainBeardsEyesBeard

Share this post


Link to post
Share on other sites
CaptainBeardsEyesBeard

Not to worry managed to solve it by using the first Class name.

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  

×