[this should be on Jmol-Developers list]

It all looks right to me. But a System.out.println(type) in notifyEnabled to see if it is checking for type 12. Maybe you just have a programming error in that method.


On Fri, Sep 25, 2009 at 1:08 PM, Joe Gatewood <jmg@seirad.com> wrote:
Here are my setup calls

viewer.evalString("set disablePopupMenu on");
viewer.evalString("set bondPicking true");
viewer.evalString("set autobond false");
viewer.evalString("sync *;set syncMouse;set syncScript");

also tried
viewer.evalString("sync *;set syncMouse on;set syncScript on");

In the echo I get syncmouse = true and syncscript = true

I am not getting messages at notifyEnabled for any of the mouse movements
When I zoom by script I get a message at notifyEnabled with an int value of
and several messages with int value of 11.  I have not looked up the
corresponding static names.

If I remove the sync evalString I still get the messages at notifyEnabled
when I zoom by script


From: Robert Hanson [mailto:hansonr@stolaf.edu]
Sent: Friday, September 25, 2009 11:08 AM
To: jmol-users@lists.sourceforge.net
Subject: Re: [Jmol-users] zoom callback

When I do that, I get callback messages coming into notifyCallback.

Are you should you issued

sync *

Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
Jmol-users mailing list

Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
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