Message: 2
Date: Fri, 12 Sep 2008 15:32:59 -0500
From: "Robert Hanson" <[EMAIL PROTECTED]>
Subject: Re: [Jmol-users] Jmol app - size of start-up window
To: [email protected]
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"
Someone more familiar with Macs help me out here....
You need a terminal window and a prompt. At the prompt, on a PC at
least,
you type
java -jar jmol.jar -h
That starts the program and assumes that the path to "java.exe" is
known to
the system. If you can get that working, then you start Jmol using
java -jar jmol.jar -g600x600
and you should be good to go.
Bob
This worked for me. I typed " java -jar " in Terminal and then dragged
the Jmol.jar file in the Finder into the Terminal window to avoid
having to type the full path.
Last login: Fri Sep 12 20:03:37 on console
NG-MBP:~ ngreeves$ java -jar /Users/ngreeves/Desktop/Jmoltest/jmol/
Jmol.jar -h
usage: Jmol
-o,--noconsole no console -- all output to sysout
-q,--quality JPG image quality (1-100; default 75)
or PNG
image compression (0-9; default 2,
maximum compression 9)
-g,--geometry window width x height, e.g. -g500x500
-x,--exit exit after script (implicit with -n)
-D <property=value> supported options are given below
-b,--backgroundtransparent transparent background
-c,--check check script syntax only
-h,--help give this help page
-i,--silent silent startup operation
-l,--list list commands during script execution
-m,--menu menu file to use
-n,--nodisplay no display (and also exit when done)
-s,--script script file to execute
-t,--threaded independent commmand thread
-w,--write CLIP or JPG|JPG64|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)
jmol.logger.debug=[true|false] (false)
jmol.logger.error=[true|false] (true)
jmol.logger.fatal=[true|false] (true)
jmol.logger.info=[true|false] (true)
jmol.logger.logLevel=[true|false] (false)
jmol.logger.warn=[true|false] (true)
plugin.dir (unset)
user.language=[CA|CS|DE|EN|ES|FR|NL|PT|TR] (EN)
NG-MBP:~ ngreeves$
All the best
Nick
--
3D Organic Animations http://www.chemtube3d.com
Tel: +44 (0)151-794-3506 (3500 secretary)
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users