I don't know....This works perfectly in the search box at http://chemapps.stolaf.edu/jmol/jsmol/jsmol.htm after I click on "spin/vibration" to get a model of benzene.

!point0 = script("calculate pointgroup");set echo  top left; echo @point0

("!" is just to pass that on as a command, not a search.)

Xavier, what version are you using? This could be a problem with earlier versions of JSmol. Please use http://chemapps.stolaf.edu/jmol/jsmol.zip which is 13.1.17.

Bob



On Mon, Jun 24, 2013 at 6:47 PM, Xavier Prat-Resina <pratr001@r.umn.edu> wrote:
I'm getting stuck translating my Jmol scripts into Jsmol.
In Jmol I could write into a jmolButton the script:
point0 = script("calculate pointgroup");set echo  top left; echo @point0

However I cannot use the script() function into the Jmol.script().
Any ideas?
Thanks

Xavier

--
Xavier Prat-Resina
Assistant Professor, Chemistry.
University of Minnesota Rochester.
111 South Broadway, Suite 300
Rochester, Minnesota 55904

Phone: 507-258-8215
E-mail: pratr001@r.umn.edu
https://sites.google.com/a/r.umn.edu/prat-resina/

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users



--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
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