Query the paste buffer for coordinates in a graphic
- To: mathgroup at smc.vnet.net
- Subject: [mg48716] Query the paste buffer for coordinates in a graphic
- From: cbeckett at scf.sk.ca (craig beckett)
- Date: Fri, 11 Jun 2004 03:52:47 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
I would like to create mouse based IO tools for graphics in Mathematica. 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