MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Query the paste buffer for coordinates in a graphic

  • To: mathgroup at
  • Subject: [mg48716] Query the paste buffer for coordinates in a graphic
  • From: cbeckett at (craig beckett)
  • Date: Fri, 11 Jun 2004 03:52:47 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

I would like to create mouse based IO tools for graphics in

Given a graphic in mathematica, one can

1) select the graphic with the mouse
2) depress and hold the control key
3) find a location in the graphic with the mouse and press the left
mouse button
4) use the edit menu to select the copy function
5) use the mouse to select a new cell or location in an existing cell
6) use the edit menu to paste the buffer contents

The result is that you have the coordinates of a user selected point
in a graphic.  What I would like to do is write code that did steps
1,2, issued a message for the user to perform step 3, and then took
care of steps 4,5,6 placing the information in the cell that my
notebook needs to continue it's calculation.

Does anybody know how to exorcise mathematica like this.

Craig Beckett

  • Prev by Date: Re: Scriptable Mathematica tools for auto-editing text?
  • Next by Date: Integration error in 5.0?
  • Previous by thread: Solutions to the Flexural Gravity Dispersion Relation.. help needed
  • Next by thread: Integration error in 5.0?