Bob,

OK, now you have me worried! Some variation of this has been working for years 
(Java applet and JSmol):

unbind "LEFT"; bind "LEFT" "select WITHIN(BRANCH,{atomno=rot1}, {atomno=rot2}); 
if (_X < 250){select WITHIN(BRANCH,{atomno=rot2}, {atomno=rot1});} 
rotateSelected {atomno=rot1} {atomno=rot2} @{_DELTAY}";

rot1 and rot2 are atomno's set by a bond click.

See http://chemagic.com/JSmolVMK.htm

Move button - then Conformation Rotation Method.

This page is running 13.1.16_dev 2013.05.28d, but this was SOP for versions 
before this. I've used it with and without ALT in the past. In this case, there 
is no ALT because we were making it work on an iPad.

Otis


--
Otis Rothenberger
[email protected]
http://chemagic.com




On Sep 12, 2013, at 6:25 PM, Robert Hanson wrote:

> that's a good question. So you want a script to fire every pixel of a drag??
> 
> 
> On Thu, Sep 12, 2013 at 4:39 PM, Otis Rothenberger <[email protected]> 
> wrote:
> Bob,
> 
> Binding ALT-LEFT is firing on ALT-LEFT-CLICK. If I said just LEFT-CLICK, I 
> meant ALT-LEFT-CLICK.
> 
> Having said that, up to and including 13.1.16_dev 2013.05.28d, binding LEFT 
> (alt or not) bound LEFT-DRAG (with ALT if so bound). Binding SINGLE and 
> DOUBLE bound simple clicks. I'm OK with whatever, but if binding LEFT now 
> means binding the click only, how do you bind a click-drag?
> 
> Otis
> 
> --
> Otis Rothenberger
> [email protected]
> http://chemagic.com
> 
> 
> 
> 
> On Sep 12, 2013, at 3:50 PM, Robert Hanson wrote:
> 
>> It's possible. I did some work on that recently. Why would ALT-LEFT have 
>> activated with left-click? Does sound like there was a bug there. I believe 
>> the current behavior is correct. "LEFT" should mean "left-click" not 
>> "left-drag"
>> 
>> ------------------------------------------------------------------------------
>> How ServiceNow helps IT people transform IT departments:
>> 1. Consolidate legacy IT systems to a single system of record for IT
>> 2. Standardize and globalize service processes across IT
>> 3. Implement zero-touch automation to replace manual, redundant tasks
>> http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk_______________________________________________
>> Jmol-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
> 
> 
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. Consolidate legacy IT systems to a single system of record for IT
> 2. Standardize and globalize service processes across IT
> 3. Implement zero-touch automation to replace manual, redundant tasks
> http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
> 
> 
> 
> 
> -- 
> Robert M. Hanson
> Larson-Anderson 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
> 
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. Consolidate legacy IT systems to a single system of record for IT
> 2. Standardize and globalize service processes across IT
> 3. Implement zero-touch automation to replace manual, redundant tasks
> http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk_______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to