<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>The FILE pull down menu allows for "save" and "save as".</p>
<p><br>
</p>
<p>The command "save" allows for two options: with or without a session_name.</p>
<p><br>
</p>
<p>Without a session_name, a dialog box is presented and effectively I am doing the "save as" in the FILE menu at that point.</p>
<p><br>
</p>
<p>With a session_name, it functions as a 'save as' without the dialog box.</p>
<p><br>
</p>
<p>How do I create the same effect as FILE pull down menu "save", using the save command?</p>
<p><br>
</p>
<p>Looking for a generic approach for any session, not knowing the file/session name apriori, & having to type the session name everytime.</p>
<p><br>
</p>
<p>I suppose there is a python method to get the session filename & path, then build the command string.</p>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<div class="BodyFragment"><font size="2">
<div class="PlainText">Matthew Dougherty<br>
National Center for Macromolecular Imaging<br>
Baylor College of Medicine<br>
<span style="font-size:13.0pt; font-family:Calibri">=================================================</span><br>
</div>
<div class="PlainText"><span style="font-size:13pt; font-family:Calibri">=================================================</span><span style="font-size:13.0pt; font-family:Calibri"><br>
</span></div>
</font></div>
</div>
</div>
</div>
</body>
</html>