Otis,
This issue may be that the system binds cntrl-left = right mouse
button. This is because until recently most macs came with a one
button mouse. I always replaced it with a two-button/scroll-wheel
mouse:). But on my mice the cntl-left still brings up the context
sensitive right button menus. My guess is your unbind is only
affecting the browser, so everything is captured by the OS and you
don't get signal passed through.
Jonathan
On Mar 4, 2010, at 1:05 PM, [email protected]
wrote:
> Message: 3
> Date: Thu, 4 Mar 2010 13:30:44 -0500
> From: Otis Rothenberger <[email protected]>
> Subject: [Jmol-users] Mac Question re unbind/bind
> To: [email protected]
> Message-ID:
> <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> 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
Dr. Jonathan H. Gutow
Chemistry Department [email protected]
UW-Oshkosh Office:920-424-1326
800 Algoma Boulevard FAX:920-424-2042
Oshkosh, WI 54901
http://www.uwosh.edu/facstaff/gutow
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users