Hi Matt,

  I guess you mean you want the Snapshot toolbar icon to do something different.  Currently it uses the current ChimeraX window size for saving an image, and it does not make the background transparent.  In general toolbar icon behavior is not customizable.  The place that the Snapshot button saves its files is customizable using the snapshot command.  I am not keen on adding other rarely useful customizations to how the Snapshot button works.  You could make a command alias that saves images the way you want

alias snap save ~/Desktop/image.png transparentBackground true height 1000

If you wanted that to always be available when you start ChimeraX you could put it in Settings / Startup / "Execute these commands at startup" and Save those settings.  If you wanted a button to do custom things like this you could use the ChimeraX buttonpanel command to create a user interface panel with custom buttons that run whatever command you want, and those can appear every time you start.

https://www.cgl.ucsf.edu/chimerax/docs/user/commands/buttonpanel.html

  You could perhaps replace the "sx" keyboard shortcut with Python code to change the behavior.  Or you could write some Python code to add your own custom toolbar button.

Tom


On Apr 25, 2024, at 6:57 AM, Jaremko, Matt Joseph via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:

Hello ChimeraX Team,
 
Can you add option to snapshot command like transparentBackground and height to allow more customization of this convenient tool?
 
Thank you,
Matt
 
Matt J. Jaremko, Ph.D. (He|Him)
Senior Scientist | Protein & Structural Chemistry
Merck Research Labs | 126 E Lincoln Ave | 80B 1012 | Rahway, NJ 07065
Cell:  808.741.6277 | Email:  matt.jaremko@merck.com
 

This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (126 East Lincoln Ave., P.O. Box 2000, Rahway, NJ USA 07065) and/or its affiliates, that may be confidential, proprietary copyrighted and/or legally privileged.   (Direct contact information for affiliates is available at - Contact us - MSD.)  It is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please notify us immediately by reply e-mail and then delete it from your system.

_______________________________________________
ChimeraX-users mailing list -- chimerax-users@cgl.ucsf.edu
To unsubscribe send an email to chimerax-users-leave@cgl.ucsf.edu
Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/