Custom Search

Friday, October 3, 2008

: How to use a regular _expression in the physical description of a window in the GUI map?

Several web page windows with similar html names - they all end in or contain "| MyCompany" The GUI Map has saved the following physical description for one of these windows:
{
class: window,
html_name: "Dynamic Name | MyCompany"
MSW_class: html_frame
}

The "Dynamic Name " part of the html name changes with the different pages.

Replace:

{
class: window,
html_name: "!.*| MyCompany"
MSW_class: html_frame
}

Regular expressions in GUI maps always begin with "!".

No comments: