Jump to content

how to select only part of control id


ur
 Share

Recommended Posts

I need to set value to a text box to a desktop application.

 

I am trying to do that with 

ControlSetText($MartConfigWindow, "", "WindowsForms10.EDIT.app.0.378734a6", $dbserver)

 

where $MartConfigWindow has the window ID.

And the text box field is having class as WindowsForms10.EDIT.app.0.378734a6

 

THis code is working on one machine but on some machines, the last part of ID WindowsForms10.EDIT.app.0.378734a6, means 378734a6

is changing.

 

Is there anyway to handle this?

Edited by ur
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

×
×
  • Create New...