Thanks Bob, Your item 2 answer clears up my problem.
Otis Sent from my iPad > On Jun 15, 2015, at 1:09 AM, Robert Hanson <hans...@stolaf.edu> wrote: > > > >> On Sat, Jun 13, 2015 at 8:59 AM, Otis Rothenberger <osrot...@chemagic.com> >> wrote: >> Bob, >> >> Am I correct on these 2 points: >> >> 1) jmol_isReady() is only called when Jmol originally loads AND the first >> model is loaded. > correct: > > if (script.length() > 0) > scriptProcessor(script, null, SCRIPT_WAIT); > viewer.notifyStatusReady(true); > > > So the script is run in "wait until finished" mode, and then the ready > message is sent out. The message is received just prior to the first > rendering (which is done asynchronously, so it appears later.) > > > >> 2) A load structure callback is NOT called in the above process. > > Incorrect. The loadStructCallback is processed first, then the readyCallback > is made. > > >> Otis >> >> >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Jmol-users mailing list >> Jmol-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/jmol-users > > > > -- > Robert M. Hanson > Larson-Anderson Professor of Chemistry > Chair, Department of Chemistry > St. Olaf College > Northfield, MN > http://www.stolaf.edu/people/hansonr > > > 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 > > ------------------------------------------------------------------------------ > _______________________________________________ > Jmol-users mailing list > Jmol-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jmol-users
------------------------------------------------------------------------------
_______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users