Jump to content
Sign in to follow this  
langthang084

ControlSetText Problem??

Recommended Posts

langthang084

Image%203_zpsurqqltke.jpgImage%204_zps5mwoqwsb.jpg

Sorry for large Picture (o read Information in Autoit Windows Info easily)

I want to set text at INPUT-1 (IMG-1), after that at LINE 2 (IMG-2). (After Type in INPUT-1 and Press ENTER, The box will appears to type in LINE-2)

And Here's my code:

ControlSetText("[Class:WindowsForms10.Window.8.app.0378734a]", "", "[NAME:txtTenMau]", "ABCD")
Send("{ENTER}")
sleep(100)
WinWaitActive("[Class:WindowsForms10.Window.8.app.0378734a]")
ControlSetText("[Class:WindowsForms10.Window.8.app.0378734a]", "", "[NAME:txtFilter]", "XYZ")

But both "ABCD" and "XYZ" will put at INPUT-1.

Could any one help me!!!

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  

×