
Hi Elaine, this is exactly what I needed. Also, thanks for a pointer to experimental features page (it's nice!). One other vaguely related question I had was whether it's possible to find out what chimera commands correspond to actions picked from menus or panels (e.g. Actions->Atoms/Bonds->Hide; Camera -> orthographic from Viewing/Side View panel, etc.). My objective is to capture everything I do in a specific session in chimera command scripts, which have an advantage over saving the session in that 1) I see what I did directly in the script, 2) these scripts are much smaller than session files. Thanks for your help! -Viktor Elaine Meng wrote:
Hi Viktor, From our experimental features page
http://www.cgl.ucsf.edu/chimera/experimental/experimental.html
you can download a "set magnification and window size" feature that includes a "windowsize" command.
A related feature (unfortunately broken in past releases, but will be available in the next release) is the --geometry startup option. We plan to make a release this month. The --geometry option is not quite as straightforward as the windowsize command, because depending on the system, the specified size might include some of the bars around the graphics window. However, that just means you need to try it once, use the "get pixels" button on the image-saving panel (File... Save Image) to determine the actual graphics window dimensions, and at the next startup use --geometry with the necessary additions or subtractions to achieve the target size. That's what I've been doing.
Startup options are described here: http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/options.html
However, if you are on a Windows system, it is not very convenient to use startup options (one way is to make a separate Chimera shortcut and modify its properties). If you are on Windows, getting the "windowsize" command from the experimental features page may be the way to go.
I hope this helps, Elaine
On Oct 6, 2006, at 5:43 AM, Viktor Hornak wrote:
Dear All,
I was wondering if there's chimera command that sets the size of chimera window. Basically I just want to have a well defined window size when I save pictures (or movies)...
Thanks, -Viktor
-- Viktor Hornak SUNY at Stony Brook
_______________________________________________ Chimera-users mailing list Chimera-users@cgl.ucsf.edu http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users
----- Elaine C. Meng, Ph.D. meng@cgl.ucsf.edu UCSF Computer Graphics Lab and Babbitt Lab Department of Pharmaceutical Chemistry University of California, San Francisco http://www.cgl.ucsf.edu/home/meng/index.html