<< Click to Display Table of Contents >> Navigation: 3. Script Language > Window Operations > Window Operations |
MiniRobotLanguage (MRL)
HTV. Command
Handle to Variable
Intention
This command returns the Window-Handle of previous localized windows into the given variable or on TOS.
Examples for usage:
' place handle of last localized window on TOS
HTV.
' place handle of last localized window in $$HWN
HTV.$$HWN
' place handle of last localized top-window in $$HWN
HTV.$$HWN|t
' place handle of last localized child-window in $$HWN
HTV.$$HWN|c
Syntax
HTV.[P1][|P2]
Parameter Explanation
P1 - First Parameter is a Variable, local or Global. If invalid, or -, Stack is used.
P2 - Second Parameter (Flag) is optional, it can be
a - Handle from last localized Window,Top- or Childwindow.
c - Handle from last localized Childwindow.
t - Handle from last localized Topwindow.
Example
'*****************************************************
' EXAMPLE : HTV
'*****************************************************
STW.ct|#32770|Sample App
' This Line puts the Handle on TOS
HTV.
' This Line puts the Handle into the given Variable
HTV. $$HWN
' This Line puts the last localized Childwindow into Stack
HTV.-|c
Remarks
-
Limitations:
-
See also:
• 1.8. Selecting the Application (Topwindow)
•