Bob,

I'm trying to pick up the following script events in a message callback 
(quoted text):

     if (messageString.indexOf("assign atom") > -1) { picMinimize = true; }
     if (messageString.indexOf("assign connect") > -1) { picMinimize = 
true; }
     if (messageString.indexOf("new bonds") > -1) { picMinimize = true; }
     if (messageString.indexOf("assign bond") > -1) { picMinimize = true; }

What I'm trying to do works if I do: set debugscript true.

I think, however, that this is making Mac Safai (not Mac FF and not Mac 
Chrome) choke. Is there any way to pick up on these script events with 
set debugscript false. The model kit mode actions associated with these 
script commands (i.e. the script details of a complete model change) 
only show a start message followed immediately by a completed message 
with set debugscript false.

If Safari (sigh) is choking on this, I have a related question: Does set 
debugscript true result in a refresh after each command as with set 
showScript ON.

Otis

PS: Thanks for the JSdraw feedback earlier today.


-- 
Otis Rothenberger
chemagic.com




------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to