I am not familiar with your screens. My approach would be to look for a string or value that might uniquely identify a particular screen... for example, if get('D_10_12_W2') == 'Something', then I might know that window 2 is the one that I want. This could be done in a loop, for example, looping from 1-10 and checking if Wx has the string I want. Once I'd determined the right window level, I could use that number for the rest of it.
But, again, i'm not familiar with your screens, so I don't know if that idea works or not.
Element Names changing within Window screens
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
-
- Profound User
- Posts: 20
- Joined: Mon Jan 29, 2018 4:58 pm
- First Name: Paul
- Last Name: Therrien
- Company Name: MBI, Inc.
- State / Province: Connecticut
- Country: United States
- Contact:
Re: Element Names changing within Window screens
I see what you are saying. I was hoping there might be a variable available at the document level to tell whether we were at W1, W2, Wn. But I can make this work based on your example.
Who is online
Users browsing this forum: No registered users and 3 guests