did you try scriptCallback? That's what I use at new.htm

debugscript should not be a problem with Mac Safari -- or if it is, I need
to know, because I use that at http://jmol.proteinExplorer.org

Can anybody tell me if Jmol Protein Explorer is not working for Macs? In
particular -- do try the Wiki tab!

Bob


On Thu, Jul 15, 2010 at 9:16 PM, Otis Rothenberger <[email protected]>wrote:

> 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
>



-- 
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
------------------------------------------------------------------------------
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