at 3:37 pm EDT on (Sunday) 23 November 2003 Miguel said:

> Theo,
> 
[...]
> 
> None of the browsers on OS X support LiveConnect communications between
> JavaScript and Java Applets, so there is no clean mechanism for
> scripting using JavaScript.
> 
> Nevertheless, scripting can be accomplished on OS X using the
> JmolAppletControl mechanism of adding applet buttons.
> 
> This code is currently in beta test and is not well documented. But if
> you have some experience with web development you should be able to
> figure it out quickly.
> 

if you are interested, I have implemented this kind of thing at

<http://www.molvisions.com/community/jmol/jm_cmdline.html>

you can take a look at the source to figure out what's going on.  the
relevant javascript is here

<http://www.molvisions.com/community/jmol/jm_meth.js>


I've tested this on Safari 1 (OS 10.2.8) and Mozilla Firebird, and it
works ok.  it uses the latest build, not the beta release of the applet.

regards,

:tim

-- 
timothy driscoll
molvisions - molecular graphics & visualization
<http://www.molvisions.com/>
usa:north carolina:wake forest


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to