On Mar 29, 2004, at 12:51 PM, Egon Willighagen wrote:
On Monday 29 March 2004 20:43, Judith Cohn wrote:On Mar 28, 2004, at 2:49 PM, Miguel wrote:* support for --script and -s as a script parameter to the Jmol application
Unfortunately, when I attempt to do the following:
java -jar Jmol.jar -script scriptFileName
Jmol appears to be trying to read the script file, which is better than
before. However, I get the following output on the java console:
Please try this command... note the double '--'... it now interprets the
scriptFileName as a chemical file... and hence does not recognize the
chemical format :)
Try:
java -jar Jmol.jar --script scriptFileName
The double dash does not work either. When I use the double dash as you suggest, I get the error message I was getting using the -script in 10pre7 instead of the unrecognized file format message:
[snowdancer:pfigDev/testJmol/testJMolScripts] jcohn% java -jar Jmol.jar --script robetta.rasmol
using Smarter Model Adapter
(C) 2004 The Jmol Development Team
Jmol Version 10pre8 2004/03/28 20:31
java.vendor:Apple Computer, Inc.
java.version:1.4.2_03
os.name:Mac OS X
JmolViewer.setShapeProperty(Labels,color,null)
propertyName=color
value=null
JmolViewer.setShapeProperty(Sticks,color,null)
propertyName=color
value=null
Graphics3D.setSize(640,10)
getting ready to allocateBuffers
returning from Graphics3D.setSize()
Graphics3D.setSize(496,441)
getting ready to allocateBuffers
returning from Graphics3D.setSize()
Executing script: robetta.rasmol
uncaught exception: java.lang.NullPointerException: string is null
java.lang.NullPointerException: string is null
at sun.java2d.SunGraphics2D.drawString(SunGraphics2D.java:2821)
at org.openscience.jmol.app.Splash.showStatus(Splash.java:98)
at org.openscience.jmol.app.Jmol.main(Jmol.java:394)
If it matters, I am running Java 1.4.2 under OS/X 10.3.2.
Judith Cohn
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Jmol-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-users

