Chris,

I have a quick follow-up curiosity question after Bob and Angel's replies. In 
your original note, you seemed to want to hold this information in JavaScript 
variables. Was there a particular reason that you wanted to do this?


Otis




--Otis rothenbergero...@chemagic.org
http://chemagic.org




> On Jul 13, 2016, at 6:48 AM, Chris St Pourcain 
> <chrisstpourc...@indigomolecularimages.com> wrote:
> 
> 
> Is there any way to capture a PNGJ file from JSmol as a variable in 
> javascript?
> 
> I can do this when exporting an x3d file, for instance, using:
> 
> 
> var x3d = Jmol.evaluateVar(jmolApplet0,'write("X3D")');
> 
> 
> I've tried various combinations like these, but they don't seem to work.
> 
> 
> var x3d = Jmol.evaluateVar(jmolApplet0,'write("PNGJ")');
>  
> var x3d = Jmol.evaluateVar(jmolApplet0,'write("IMAGE PNGJ")');
> 
> 
> Or will I have to save the file first and then set it to a variable.
> 
> 
> 
> 
> 
> 
> 
> Thanks
> 
> 
> 
> Chris
> 
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are 
> consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
> reports.http://sdm.link/zohodev2dev
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
> 
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to