Bob,
I'm testing the jmol-11.0 beta version,
and am again having problems with viewer.scriptWait().
(It hangs my app).
I don't think that the new scriptQueue functions, as descibed in your
docs,
allow the behaviour I want.
I need to call viewer.scriptWait("load molecule.xyz") in my java code,
then have the app wait for the molecule to load, before doing stuff in
the java code which requires the molecule to be loaded.
I can see how to (fairly laboriously) work around this in my particular
case, but I think
that scriptWait would be useful for this sort of development.
Thanks,
Dave
On Wed, 16 Aug 2006 00:06:09 -0500, "Bob Hanson" <[EMAIL PROTECTED]>
said:
> Jmol users:
>
> I thought I should mention a change in Jmol for 11.0. We can undo this
> if it proves to be a burdon, but based on suggestions given to me I
> changed the default to be "set scriptQueue on". This means that one
> script can no longer (by default, anyway) simply "crash" a previously
> started script. Scripts run until completion, and any number of scripts
> can be queued with no adverse effects. This includes the startup load
> script. Scripts that involve the LOOP command specifically (and have no
> exit) must be explicitly stopped using a script that begins with "quit"
> or "exit". If this is a problem, first try "set scriptQueue OFF" to see
> if you like that better.
>
> Bob Hanson
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
--
Dave Evans
[EMAIL PROTECTED]
http://www.davidaevans.org
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users