GetCursorPos

Top  Previous  Next

 

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>X,Y

Message>Current Position : %X%,%Y%