Editing window definitions

Top  Previous  Next

Editing window definitions

 

This tutorial assumes to be a continuation of the first tutorial.

It also assumes that Internet Explorer was one of the windows on your desktop during the first tutorial.

 

1. Editing

 

From the layout manager double click the layout you've created in the first tutorial.
Select the window definition for Internet Explorer and double click it to open the window editor.

 

If you are unsure how to locate it, look at the T= details of the window definition. There should be a window there that contains "Windows Internet Explorer" in the title.

 

It is common for Internet Explorer to add the title of a website to the title but if you have Internet Explorer on your desktop and the website is a different one the window title matching will fail and the window will not be recognized. We want our window definition to apply to every Internet Explorer window so we will be editing the window title.

 

Change the window title in the editor to read *Internet Explorer*.

 

The wildcards added to the start and end will ensure that any window that has  a title that contains the words above will be recognized as an Internet Explorer window.

 

You will also notice that the process name (iexplore) is filled and enabled. It is recommended to leave this. For example, if you open a notepad window and create and save a file called "My Internet Explorer Text File" it would get matched if only window title matching is enabled. The notepad window would then be recognized as an Internet Explorer window and you wouldn't want that to happen.

 

2. Changing position and size

 

Change the position X/Y to 0, 0
Change the width and height to 1000, 500

 

3. Let's match

 

Hit the match button.
If all goes well and the status bar turns green, click the status bar.
This will bring up the window locator that allows you to see which window(s) was/were matched to your definition.

 

4. Apply

 

Click OK on the window editor.
Click OK on the layout editor.
Apply the layout that you've just modified.