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

Reply via email to