that's what I needed. Thanks.
Bob
On Sat, Jan 12, 2013 at 2:14 PM, Otis Rothenberger <osrot...@chemagic.com>wrote:
> var mol = "string";
> var version = Jmol.getPropertyAsArray(jmolApplet0, "appletInfo.version")
> var c = new Date();
> mol += "\n__Jmol-" + version.substring(0,2);
> mol += String("_0" + (1 + c.getMonth())).slice(-3);
> mol += String("0" + (c.getDate())).slice(-2);
> mol += String(c.getFullYear()).substring(2,4);
> mol += String("0" + (c.getHours())).slice(-2);
> mol += String("0" + (c.getMinutes())).slice(-2);
> mol += "3D 1 1.00000 0.00000 0";
> mol += "\nJmol version " + version + " EXTRACT: ";
>
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
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
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users