|
From: Robert H. <ha...@st...> - 2012-06-14 22:09:52
|
no, no, no. Don't use that for this purpose. If you want to track mouse
events, you can do that via callbacks. Don't mess with ActionManager.
On Thu, Jun 14, 2012 at 12:33 PM, Benn Snyder <ben...@gm...> wrote:
> 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 <ben...@gm...>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
>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Jmol-developers mailing list
> Jmo...@li...
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>
>
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
|