-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 30 March 2004 19:17, Judith Cohn wrote: > 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: > > 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:
I think the --script *does* work... see below: > [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 Here's the statement that the --script is loaded and being run... I did not see this line in your previous output. *But*: > 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) This seems to be a bug Jmol elsewhere... I had this problem too, but is not in the '--script' code... Egon - -- [EMAIL PROTECTED] PhD on Molecular Representation in Chemometrics Nijmegen University http://www.cac.sci.kun.nl/people/egonw/ GPG: 1024D/D6336BA6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (SunOS) iD8DBQFAanvOd9R8I9Yza6YRAgYIAJ0Y6kWmSm9WnDPb8rK/5WRCv9/IcgCePzPe Fn4WkuQy2GqGMjFM/2fO7pg= =7zEr -----END PGP SIGNATURE----- ------------------------------------------------------- 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_id70&alloc_id638&op=click _______________________________________________ Jmol-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-users

