just moves that number of pixels.
On Thu, Mar 4, 2010 at 1:06 PM, Otis Rothenberger <o...@chemagic.com> wrote:
> Bob-
>
> Very interested! Thanks.
>
> How about translate?
>
> Otis
>
>
> On Thu, Mar 4, 2010 at 1:53 PM, Robert Hanson <hans...@stolaf.edu> wrote:
>
>> Otis, in case you are interested, here is what Jmol does with the standard
>> mouse click motion, in this order though not using exactly this command:
>>
>> rotate X @{180.0 * _deltaY / _Height * mouseDragFactor};
>> rotate Y @{180.0 * _deltaX / _Width * mouseDragFactor};
>>
>> But, right, there must be something about CTRL-LEFT and the Mac.
>> Bob
>>
>> On Thu, Mar 4, 2010 at 12:30 PM, Otis Rothenberger <o...@chemagic.com>wrote:
>>
>>> 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
>>>
>>>
>>
>>
>> --
>> Robert M. Hanson
>> Professor of Chemistry
>> St. Olaf College
>> 1520 St. Olaf Ave.
>> Northfield, MN 55057
>> http://www.stolaf.edu/people/hansonr
>> phone: 507-786-3107
>>
>>
>> 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
>>
>>
>> ------------------------------------------------------------------------------
>> 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
>>
>>
>
>
> --
> 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
>
>
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107
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
------------------------------------------------------------------------------
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