12
$\begingroup$

When using the menu item File - Save Selection As, the default file type is PDF. Is there any way to change the default to something else, for example PNG?

enter image description here

$\endgroup$
14
$\begingroup$

I am not aware of a programmatic way of doing this (other than programmatically opening/editing/saving this file) but you can do it by editing an internal file.

  1. In a text editor open

    FileNameJoin[{$InstallationDirectory, "SystemFiles", "FrontEnd", "TextResources", "CommonFrontEndInit.tr"}]

  2. Find AddFileBrowserFilterPacket["SaveSelection", ...

  3. Change the order of the file types, e.g. to show PNG by default move PNG to the top of the list

enter image description here

  1. Now the default will always be PNG
$\endgroup$
  • 1
    $\begingroup$ works well thanks +1 $\endgroup$ – bobbym Nov 28 '16 at 1:45
  • 3
    $\begingroup$ Thanks a lot for this. I've been wanting to make this change for a long time, but didn't know how to do it. $\endgroup$ – m_goldberg Nov 28 '16 at 2:00
  • $\begingroup$ Exactly what I needed, thanks Mike. $\endgroup$ – Simon Woods Nov 28 '16 at 21:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.