I immediately get a sync callback when I set

      case JmolConstants.CALLBACK_SYNC:
         return true;

in notifyEnabled() and

      case JmolConstants.CALLBACK_SYNC:
        System.out.println(:strInfo);
        break;

in notifyCallback()


Are you getting any callbacks at all? Something simple is wrong here....

In general we recommend implementing 11.8, not 11.9, for distributions.
Let's get this working for you in 11.8.

Take a look at examples/basic/org/jmol/Export.java in the 11.8 source code.
I've modified it to add the sync callback, and it is working just fine. I
just start the program and enter

load =1crn
sync *;set syncMouse on;set syncScript on

and it starts reporting all mouse moves and scripts

Are you just not issuing "sync *"?

Bob

On Wed, Sep 30, 2009 at 7:45 AM, Robert Hanson <[email protected]> wrote:

> I think so. No major reorganizations there. But we do need to get that
> going in 11.8.4 if it is a problem there. I'll check that as well.
>
> On Tue, Sep 29, 2009 at 6:32 PM, Joe Gatewood <[email protected]> wrote:
>
>> Bob,
>>
>> I am unable to get the sync callbacks to show up in 11.8.4.
>> I thought I would try a development build.
>>
>> You mentioned using 11.9.5.  Is there a 11.9 build stable enough for
>> inclusion in our software.  I may have a month before we start delivering
>> to
>> customers.
>>
>> Thanks,
>> Joe
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> 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;
>> http://p.sf.net/sfu/devconf
>> _______________________________________________
>> Jmol-developers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>>
>
>
>
> --
> 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
>



-- 
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
------------------------------------------------------------------------------
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;
http://p.sf.net/sfu/devconf
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to