[ I'm taking this off the users list ]

El 8 Jun 2010 a las 18:53, Robert Hanson escribió:
> jmolSetCallback("UseCommandThread","true")
[...]
> * You can specify that the signed or unsigned applet or application 
> should
> * use an independent command thread (EXCEPT for scripts containing 
> the "javascript" command) 
> * 
> * [param name="useCommandThread" value="true"]


I'm narrowing the problem:

1. I need UseCommandThread=true for both loading a script file and 
runnign the minim from a button
2. I was using a messageCallback to follow the minim. That's NOT the 
problem (although I said so a while ago)
3. I was also using jmolScriptWait('minimize'). THAT'S the problem; 
if I put jmolScript('minimize') things work.

Problem is, I'm sure there is a reason why I put the wait in there. 
Cannot remember now. Might even be per Bob's suggestion after some 
other problem I had, but I've been working on this project on and off 
for a long time.

So it all looks certainly as a thread issue. Minimization still runs 
ok from popup or console, even under conditions when the button 
fails.

Thanks for the help. I hope my descriptions are useful



------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to