12-27-2012, 02:43 AM
Hi,
What I'm trying to do is:
The problem is that Track ID is randomly generated each time, so it can not be found in the OR.
Then I read that properties are regular expressions, so I tried:
And it couldn't find that either. (did I do my regexp wrong? Why didn't this work?)
Then I read that RegExpWndTitle is, 'The constant part of the window title.'
So I tried,
Because that is the constant part, right?
And that didn't work either. (Why not?)
So is there a way to fix one of my two attempts above, or is there a different method I should be using?
Thanks for any ideas,
Random
What I'm trying to do is:
Code:
Dialog("Mywindow, Provider ID = 762222, Track ID = AAAA").WinButton("text:=New").Click
The problem is that Track ID is randomly generated each time, so it can not be found in the OR.
Then I read that properties are regular expressions, so I tried:
Code:
Dialog("text:=Mywindow, Provider ID = 762222, Track ID = ????").WinButton("text:=New").Click
And it couldn't find that either. (did I do my regexp wrong? Why didn't this work?)
Then I read that RegExpWndTitle is, 'The constant part of the window title.'
So I tried,
Code:
Dialog("RegExpWndTitle := Mywindow, Provider ID = 762222, Track ID =").WinButton("text:=New").Click
Because that is the constant part, right?
And that didn't work either. (Why not?)
So is there a way to fix one of my two attempts above, or is there a different method I should be using?
Thanks for any ideas,
Random