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
On Fri, Sep 12, 2008 at 3:29 PM, Reichsman Frieda <[EMAIL PROTECTED]> wrote:
> On Sep 12, 2008, at 4:12 PM, Robert Hanson wrote:
>
> There's help available for the command line, but to see it on a Windows
> machine you have to use "java -jar jmol.jar -h" not just "jmol.jar -h"
>
>
> In Jmol app on my MacBook Pro, each of these gives an error.
>
> java -jar 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
> compres
> sion 9)
> -g,--geometry window width x height, e.g. -g500x500
>
>
> when I type
> -g500x500
> into the command line of Jmol, I get "script compiler error: command
> expected".
> Same with
> -g 500x500
> --geometry500x500
> --geometry 500x500
>
> What am I missing?
> Thanks,
> -Frieda
>
>
>
> -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 GIF|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)
>
>
>
> On Fri, Sep 12, 2008 at 3:05 PM, Reichsman Frieda <[EMAIL PROTECTED]>wrote:
>
>> Hi, can someone remind me of how to tell the Jmol app to open its display
>> window to a certain width and height? All I can find in the archives is the
>> following post, which seems no longer to have an effect, and the scripting
>> documentation is still unavailable (and I'm not too hopeful it would be in
>> there)...
>>
>> Tim wrote:
>>
>> >> >> > By the way is there a command-line option for adjusting the
>> >> >> > window size at start-up?
>> >> >>
>> >> >> No, but that is a very good idea.
>>
>> I just checked in code to allow one to set the window size on the Jmol
>> application command-line:
>>
>> -g WIDTHxHEIGHT
>> or
>> --geometry WIDTHxHEIGHT
>>
>> Where WIDTHxHEIGHT is the width and the height in pixels separated by a
>> lower case 'x'
>>
>> 500x550 (the current default)
>> 300x350 (something smaller)
>> 800x850 (something larger)
>>
>> These examples all have a larger height in order to account for the space
>> of the button bar, menus, and status bar.
>>
>> Note that I did not do any work in the area of saving the size as a user
>> preference.
>>
>> Miguel
>>
>>
>> Thanks,
>> Frieda
>>
>> //////////////////////////////////////
>>
>> Frieda Reichsman, PhD
>> Molecules in Motion
>> Interactive Molecular Structures
>> http://www.moleculesinmotion.com
>> 413-253-2405
>>
>> //////////////////////////////////////
>>
>>
>>
>>
>> //////////////////////////////////////
>>
>> Frieda Reichsman, PhD
>> Molecules in Motion
>> Interactive Molecular Structures
>> http://www.moleculesinmotion.com
>> 413-253-2405
>>
>> //////////////////////////////////////
>>
>>
>>
>>
>>
>> -------------------------------------------------------------------------
>> 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
>>
>>
>
>
> --
> Robert M. Hanson
> 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
> -------------------------------------------------------------------------
> 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
>
>
>
> -------------------------------------------------------------------------
> 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
>
>
--
Robert M. Hanson
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
-------------------------------------------------------------------------
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