PDA

View Full Version : Distinguishing nearly identical windows



Ron
October 13th, 2002, 12:55 PM
Are they from a different exe file or the same exe file ?

Abdul Jalib
October 13th, 2002, 12:55 PM
I need to have Girder press one button in one window and another button in another window; one needs to be linked to one trigger event, and the other needs to be linked to another trigger event. The problem is, the buttons have almost the same targeting information; the class name, executable, child name, and child class are identical. Fortunately, the names of the two windows are different. Unfortunately, the names of the two windows will change if they are exited and restarted.

I don't really care how the windows are distinguished. The distinguishing feature could be top/bottom or left/right. Could be lower/higher handle. Could be started first/second. Could be user set up, where he points to one window to distinguish it. But I don't know how to do any these things and have it impact the targeting.

Any ideas?

Abdul Jalib
October 13th, 2002, 12:55 PM
Same executable. All 4 bottom checkboxes in targeting are always the same, and the top checkbox (name) is not a constant.