Macro Language Reference > Macros > System > coords
  
coords
Description
Displays the coordinates of the mouse cursor position on-screen, e.g. . When clicking and dragging the mouse to create or edit graphic objects or frames, or to edit text, three rows of measurements will appear. The first row shows the current cursor position. The second row shows the initial cursor position. The third row shows the distance the cursor has been dragged.
 
This option is not available for Windows installations.
 
Example 225. Display coordinates box
The coords macro shown below will display the coordinates box at a distance of 100 pixels from the top left of the screen:
coords 100,100
Syntax
coords ypos:n? ( xpos:n? )
coords
[no parameter]
Toggles the display of coordinates on or off, depending on current setting
ypos
The initial y-position of the coordinates box in screen pixels, i.e. its distance from the top of the screen.
xpos
The initial x-position of the coordinates box in screen pixels, i.e. its distance from the left-hand edge of the screen. The coordinates box can be dragged to a new position using the mouse.