Window Operations * ITW. / NTW.

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Window Operations > ITW. - If Top Window >

Window Operations * ITW. / NTW.

"h" - Flag "handle"

Previous Top Next


MiniRobotLanguage (MRL)

 

"h" - Flag "handle"

If 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 ITW. when you need that window again.

 

 

' Localize by handle

ITW.cta|ieframe|Update

' We grab the handle in a variable

HTV.$$MYW

EIF.

 

' Later we can always get definitely this window,

' without further parameters

ITW.h|$$MYW

MMV.

EIF.

 

' Some more examples

ITW.h|52367

MMV.

EIF.

 

ITW.h|#hnw#

MMV.

EIF.

 

 

 

Example

 

'

' Localize by handle

ITW.cta|ieframe|Update

' We grab the handle in a variable

: $$MYW=#hwn#

 

' Later we can always get definitely this window,

' without further parameters

ITW.h|$$MYW

MMV.

EIF.

ENR.

 

 

' Using HTV.

STW.t|BCS - Testform

HTV.$$HWN

 

ITW.h|$$HWN

 DBP.here

EIF.

 

ENR.

 

 

 

 

Remarks

 

-

 

 

Limitations:

 

-

 

 

 

See also:

 

    "E" - Flag - ITW.