Re: [Jmol-users] No atom picking with modifier keys

2017-07-05 Thread Rolf Huehne

Am 06.07.17 um 05:06 schrieb Robert Hanson:

Rolf, what is the expected action of

set pickingStyle select extendedSelect

?

It is described in the scripting documentation:

left-click  selects just that group, like rasmol;
shift-left-clicktoggles the group selected/not selected;
alt-left-click  appends the group to the current selection;
alt-shift-left-clickremoves the group from the current selection;
left-click off modelexecutes (select none);

Regards,
Rolf

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] No atom picking with modifier keys

2017-07-05 Thread Robert Hanson
Rolf, what is the expected action of

set pickingStyle select extendedSelect

?

On Tue, Jul 4, 2017 at 8:29 AM, Rolf Huehne 
wrote:

> Hi Bob,
>
> I would like to implement my own atom pick mode, providing flexibility by
> using modifier keys like (SHIFT, ALT).
>
> In the standard mode, after the commands
> "set picking ATOM; set PickingStyle SELECT extendedSelect",
> atoms can be picked with one or more modifier keys pressed.
>
> But after the command "set picking on" and setting a callback with the
> command
> 'set pickCallback "jmolscript: pickAction()'
> the callback function 'pickAction' is only called in Jmol 14.18.1 if no
> modifier key is pressed.
>
> Q: Is this a bug or unfortunately the intended behaviour?
>
> Regards,
> Rolf
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



-- 
Robert M. Hanson
Professor of Chemistry
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
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users