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