<< Click to Display Table of Contents >> Navigation: 3. Script Language > Window Operations > STW. - Search Top Window > Window Operations * STW. |
MiniRobotLanguage (MRL)
"r" - Flag "result number"
Search Top Window
Intention
There may be multiple results in a window-search with STW.. 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.
If 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 windows.
'We'll get the 3rd result with that window class
STW.cr|WindowClass|3
MMV.
Example
'We'll get the 4th result
' with that window class
'
STW.cr|WindowClass|4
MMV.
ENR.
Remarks
-
Limitations:
-
See also:
-