application users:

I was thinking about this, and the -x as a substitute for -s just seems 
too strange. So the help now reads:

usage: Jmol
 -o,--noconsole        no console -- all output to sysout
 -g,--geometry         window size, e.g. -g500x500
 -x,--exit             exit after script (implicit with -n)
 -D <property=value>   supported options are given below
 -h,--help             give this help page
 -i,--silent           silent startup operation
 -n,--nodisplay        no display (and also exit when done)
 -s,--script           script file to execute
 -w,--write            CLIP or JPG|PNG|PPM:filename

For example:

Jmol -ions myscript.spt -w JPEG:myfile.jpg > output.txt

The -D options are as follows (defaults in parathesis):

  cdk.debugging=[true|false] (false)
  cdk.debug.stdout=[true|false] (false)
  display.speed=[fps|ms] (ms)
  JmolConsole=[true|false] (true)
  plugin.dir (unset)
  user.language=[DE|EN|ES|FR|NL|PL] (EN)


I realized that with -n (no display), -x (exit when done) has to be 
implicit -- If you have no display, what purpose would there be in 
keeping the application open? So that's not really necessary unless you 
particularly DO want to watch the display as it goes and then still 
exit. That might look like this:

Jmol -s myscript.spt -w JPEG:myfile.jpg -x

which I think makes a nice progression

 -s   run the script
 -w   write the image to disk
 -x   exit

Bob

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to