Window Operations * SCW.

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Window Operations > SCW. - Search-Child-Window >

Window Operations * SCW.

"n"-Flag "Count on level"

Previous Top Next


MiniRobotLanguage (MRL)

 

"n"-Flag "Count on level"

Search Child Window

 

 

Intention

 

The "n"-flag needs a numeric parameter. This parameter specifies a number of a window that is exactly one level below the window that is the actual window. No matter if its a child- or a top-window.

 

There may be multiple results in a window-search with SCW.. Normally you get the first result that fits to your search parameters.

 

Using the "n"-Flag you can define which result you want, Nr.1, Nr.2 or Nr. 20. Just add the "n"-Flag and the result number that you are looking for.

 

In child-window search, the "r"-flag searches all child-windows below the Top-window.

That differs from the "n"-flag, which only looks at the child-windows that are directly below the actual located Top- or child-window.

 

If "r" (and "n") is omitted, always result Nr.1 from the rest of search parameters is returned.

 

Note: If there are not enough results, your search will fail!

Therefore you can also use this feature to count child-windows.

 

STW.c|WindowClass

' give me the third button on the next level

SCW.cn|button|3

MMV.

 

 

 

Short Examples:

 

-

 

 

 

Example

 

-

 

 

Remarks

-

 

 

Limitations:

 

 

 

 

See also:

 

    1. STW. - Decription

    SCW - Search-Child-Window

    "r" - Flag - SCW.

    "S" - Flag - SCW.