[Chimera-users] save command

Tom Goddard goddard at sonic.net
Mon Jan 11 19:01:32 PST 2016


Hi Matt,

  The 2 letter keyboard shorcuts are your friends.  Shortcut “Ss” which can be invoked with command “ac Ss” saves the current state using the current session file name.  Unfortunately I see that if there is no current session file name it throws an error.  But maybe this is still useful to you.  If not and you need it to show a dialog in the cases when there is no current session file name, I can fix that in the daily build.

	Tom


> On Jan 7, 2016, at 2:58 PM, Dougherty, Matthew T <matthewd at bcm.edu> wrote:
> 
> The FILE pull down menu allows for "save" and "save as".
> 
> The command "save" allows for two options: with or without a session_name.
> 
> Without a session_name, a dialog box is presented and effectively I am doing the "save as" in the FILE menu at that point.
> 
> With a session_name, it functions as a 'save as' without the dialog box.
> 
> How do I create the same effect as FILE pull down menu "save", using the save command?
> 
> Looking for a generic approach for any session, not knowing the file/session name apriori, & having to type the session name everytime.
> 
> I suppose there is a python method to get the session filename & path, then build the command string.
> 
> Matthew Dougherty
> National Center for Macromolecular Imaging
> Baylor College of Medicine
> =================================================
> =================================================
> _______________________________________________
> Chimera-users mailing list
> Chimera-users at cgl.ucsf.edu <mailto:Chimera-users at cgl.ucsf.edu>
> http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users <http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20160111/2772c185/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20160111/2772c185/attachment.sig>


More information about the Chimera-users mailing list