<< Click to Display Table of Contents >> Navigation: 3. Script Language > Window Operations > STW. - Search Top Window > Window Operations * STW. |
MiniRobotLanguage (MRL)
"h" - Flag "handle"
Search Top Window by handle
Intention
This flag is an exception. In fact it must not search the window, it will just localize the window "by handle". Of course this is a very efficient solution. Therefore if you have already localized your window, keep the handle in a variable and just feed it back to STW. when you need that window again.
' Localize by handle
STW.cta|ieframe|Update
' We grab the handle in a variable
HTV.$$MYW
' Later we can always get definitely this window,
' without further parameters
STW.h|$$MYW
MMV.
' Some more examples
STW.h|52367
MMV.
STW.h|#hnw#
MMV.
Example
'
' Localize by handle
STW.cta|ieframe|Update
' We grab the handle in a variable
: $$MYW=#hwn#
' Later we can always get definitely this window,
' without further parameters
STW.h|$$MYW
MMV.
ENR.
Remarks
-
Limitations:
See also: