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.