<< Click to Display Table of Contents >> Navigation: 3. Script Language > Window Operations > DTI.-Desktop & Mouse Commands > DTI.MousePos |
MiniRobotLanguage (MRL)
DTI.MousePos
Get X and Y Position of the Mouse Pointer on the total Desktop (all Monitors)
Intention
This command will return the X, and Y-Position of the Mousepointer in Screen-Coordinates.
DOL.1
DTI.mp|$$XPO|$$YPO
PRT.Position on $$MYH is at: $$XPO,$$YPO
PAU.0.1
OOP.
Syntax
DTI.MousePos[|P1][|P2]
Parameter Explanation
P1 - (optional) Variable for X-Result. If omitted the Result will be placed on TOS.
P2 - (optional) Variable for Y-Result. If omitted the Result will be placed on TOS.
Example
'*************************************
' Example 1
'*************************************
DOL.1
DTI.mp|$$XPO|$$YPO
PRT.Position on $$MYH is at: $$XPO,$$YPO
PAU.0.1
OOP.
Remarks
Limitations:
-
See also:
•