Jump to content

ControlSetText Problem??


Recommended Posts

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!!!

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...