Jump to content

Dufferent instance number for the same controls


Recommended Posts

I created a script which uses Advaced Mode property of controls as the controls ID. It works ok on my machine. But if I run it on another machine the scipt crashes because the conrols' Id have another values. There is not any other property which could be used for the controls identification. What is the reason of such kind of difference? (My machine has Win 7 OS, and another one Windows Server 2008, both x64)

Link to comment
Share on other sites

2 hours ago, Vitaliy4us said:

There is not any other property which could be used for the controls identification.

Which property are you using ? depending on OS , same controls may have different class names
You might check @OSVersion with a condition to use the correct class name

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