On Wednesday 27 December 2006 08:46, S.Newhouse wrote:
>
> Clicking with the middle mouse button on the canvas makes the coordinates of the
> clicked points visible. Is there a way to get these coordinates to be written
> to a file?
In version 4.2 the most recent mouse-click coordinates are stored in user
variables MOUSE_X and MOUSE_Y. So yes, you can print to a file by doing
set print "coord.out"
print MOUSE_X, MOUSE_Y
See: "help mouse variables"
demo: mousevariables.dem
--
Ethan A Merritt
Biomolecular Structure Center
University of Washington, Seattle 98195-7742
|