Dynamic Window Name
How to capture a window which will be having varying caption (dynamically changed caption as per the user input)?
Note: WR shows it cannot identify the corresponding definition in GUI Map file.
Tip: Using 'Regular Expression' in WR this problem could be solved if the caption contains atleast one fo the characters consistently.If the entire characters changed like...
Eg: first time window caption is 'Sak'. Next time 'Citi'...?
Re: Dynamic Window Name
l guess l could think of two options here.
1. If this user input can be determined by yourself, establish exactly what your input will be and then map the windows accordingly. l know this may not be the best solution, but makes the script usable.
2. If you are able to live with it, completely remove the label as a madatory 'learned property' in the gui map configuration. l'm not 100% certain on this option though - several times l've altered the learned properties for some of my mapped windows in guimaps and had some niggly issues when certain windows have different properties in their physical description.
Hope this helps somewhat.