Shouldn't be any difference on a Mac. Left is Left. (I guess Alt may not be
Alt....)
>From the jsmol site directory you unzipped, start jsmol.htm, start a
console, and clip this in:
load $caffeine
set appendnew false
load append $tylenol
set picking dragMolecule
bind "left-double-click" "if(allowrotateSelected){unbind
_rotateSelected;background white;set allowRotateSelected false;bind
'left-drag' _dragAtom}else{unbind _dragAtom;background yellow;bind
'left-drag' _rotateSelected ;set allowRotateSelected;}"
set debugscript
(making sure that "bind" line is all one line)
then start double-clicking. It should work. If not, then it is some sort of
Mac problem.
On Fri, May 8, 2015 at 11:55 PM, Otis Rothenberger <osrot...@chemagic.com>
wrote:
> Bob,
>
> On Mac with Safari or FF (OS X ), I’m seeing the color changes, but no
> movement other than normal axis rotation.
>
> Otis
>
> On May 8, 2015, at 11:11 PM, Robert Hanson <hans...@stolaf.edu> wrote:
>
>
>
> On Fri, May 8, 2015 at 1:33 PM, Otis Rothenberger <osrot...@chemagic.com>
> wrote:
>
>> Thanks Bob, but I’m still having problems. This may relate the approach
>> that I’m using that worked in the past. In this approach, I use the screen
>> as two of your buttons - i.e. double tap screen to toggle rotate translate
>> modes. In my code, I guess this double binding could be messing things up.
>> I’m not sure.
>>
>>
>>
> This does the trick:
>
> set picking dragMolecule
> bind "left-double-click" "if(allowrotateSelected){unbind
> _rotateSelected;background white;set allowRotateSelected false;bind
> 'left-drag' _dragAtom}else{unbind _dragAtom;background yellow;bind
> 'left-drag' _rotateSelected ;set allowRotateSelected;}"
>
>
> "background" change is just to show it is working.
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
>
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y_______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Department 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
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users