Hello,

I'm using the following start up script to unbind and bind CTRL operations:

unbind 'CTRL-LEFT'; bind 'CTRL-LEFT' 'rotateSelected Y
_DELTAX;rotateSelected X _DELTAY;';unbind 'CTRL-RIGHT'; bind 'CTRL-RIGHT'
'translateSelected {_DELTAX/100 _DELTAY/-100 0};'

Under Windows, the script works with Firefox, MSIE, and Chrome. Under Mac
(Firefox and Safari), I am getting user reports that the translation works,
but the rotation does not. Specifically, the unbind of CTRL-LEFT seems to
work, but the bound script does not work. The assessment that the unbind is
working is based on the fact that CTRL-LEFT does nothing. It should, I
think, raise the Jmol menu, so it seems to be properly disconnected by the
above script.

Three questions:

1. Does anyone see a problem with my rotation script? I should note that the
rotateSelected Y _DELTAX format is intentional.

2. Is there anything special about CTRL-LEFT on a Mac that might interfere
with this?

3. I don't have convenient access to a Mac, can anyone easily swap LEFT and
RIGHT in the above script to check if the swap moves the problem to the
translate and fixes the rotate? The following page has a command field that
could check this:

http://chemagic.com/web_molecules/script_page_large.aspx


Otis

-- 
Otis Rothenberger
http://chemagic.org
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to