<< Click to Display Table of Contents >> Navigation: 3. Script Language > Window Operations > SCW. - Search-Child-Window > Window Operations * SCW. |
MiniRobotLanguage (MRL)
"r"-Flag "result number"
Search Child Window
Intention
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 "r"-Flag you can define which result you want, Nr.1, Nr.2 or Nr. 20. Just add the "r"-Flag and the result number.
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 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
SCW.cr|button|3
MMV.
Short Examples:
-
Example
-
Remarks
-
Limitations:
See also: