I think ActionManager.mouseAction() could do what I want.  Is there a way to call it from a script?


On Thu, Jun 14, 2012 at 9:19 AM, Benn Snyder <benn.snyder@gmail.com> wrote:
I sent this question to jmol-users, but it's not showing up in the archive so I'm not sure it was received.  I apologize if it's a duplicate.


How do I select a particular molecule based on x and y position in the view window?  Perhaps by simulating a mouse click?  I've seen 'select within(distance, {x y z})' but that refers to internal 3D coordinates, not coordinates in the 2D view window.


Regards,
Benn