Get-Mouse-Position
Command Description
Get the position of the mouse cursor
Command Prototype
objPoint=Mouse.GetPos()
Parameter Description
Parameter | Required | Type | Default | Description |
---|---|---|---|---|
None | None | None | None | None |
objPoint,The variable used to save the output of the command.
Demo
TracePrint "--------------------Get mouse position--------------------"
// --------------------------------------------------------
// [Remarks] Get the mouse position
// Output parameters:
// objPoint--Assign the result of running the command to this variable
// Command prototype: objPoint=Mouse.GetPos()
// --------------------------------------------------------
objPoint=Mouse.GetPos()
TracePrint(objPoint)