GetCursorPos


 

GetCursorPos>X,Y[,cursorType]

 

Returns the X and Y coordinates of the current mouse cursor position.  X and Y are variables in which to store the coordinates.  The optional cursorType return variable can be used to return the cursor type.

 

Abbreviation : GCP

See also: GetWindowPos, GetCaretPos

 

Example

 

GetCursorPos>XCursor,YCursor

Message>Current Position : %XCursor%,%YCursor%