Expanded save dialogue by default?

Does anyone know how to change the default behaviour of the save and print dialogue boxes?  In ML I used these terminal commands to change the default save location to a local folder instead of icloud, then default to showing the expanded dialogue by default.
defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false
defaults write -g NSNavPanelExpandedStateForSaveMode -bool TRUE
defaults write -g PMPrintingExpandedStateForPrint -bool TRUE
These settings do not appear to be consistent in Mavericks, and it keeps jumping back to the original setting.  If anyone knows how to change it permanently I would be grateful.
Thanks.
-Erk

It seems that the print one is ignored in 10.9. The save one works for me, IF I run it in "this" user's scope, AND execute a killall Finder at the end of my login hooks script.
su -m $THISUSER -c "defaults write .GlobalPreferences NSNavPanelExpandedStateForSaveMode -bool true"
(Shoutout to Scott at Systere for that!)
-- MB

Similar Messages

  • How to make the Open/Save dialogue download the text file instead of JSP

    I am currently coding on a JSP program, which searches the database and writes the resultset into a file on the server, and then allows the client to download this tab delimited text file onto their local machine. But I met a problem, when the default Open or Save dialogue appears, it shows that it's trying to download the running JSP file from my local host instead of the newly-created text file. Despite this, when I click OK to either Open or Save the file, a warning dialogue will appear saying: The explorer cann't download this file, it's unable to find this internet site or something like that. I get no error message from the server but I was always told that Javax.servlet.ServletException: getWriter() was already called. What does this mean?
    I guess maybe this is caused by the mix use of outputStreams in my program. I don't know if there is a way to directly read the resultset from the database and then send it through outputStream to the client. My solution is: first create a file on the server to hold the resultset, and then output this file to the client. I did all these in one JSP program: Create file on the server, search database, and then read file and output the contents to client. Is this correct? I attached my code, please feel free to correct any of my mistake? Thanks!
    //global.class is a class dealing with database connection
    <%@ page language="java" import="java.sql.*,java.util.*,java.math.*,java.io.*,ises.*,frmselection.*" %>
    <jsp:useBean id="global" scope="session" class="ises.Global" />
    />
    <!--start to process data-->
    <%
    //get query statement from the session
    String sQuery = "";
    if (session.getAttribute("sQuery")!=null && !(session.getAttribute("sQuery").toString()).equals(""))
    sQuery = session.getAttribute("sQuery").toString();
    String path = "c:/temp";
    String fileName = "temp.TXT";
    File file= null;
    FileOutputStream fo = null;
    PrintStream ps = null;
    try {
         file = new File(path,fileName);
         if(file.exists()) {
         file.delete();
         file.createNewFile();
         fo = new FileOutputStream(file);
         ps = new PrintStream(fo);
    }catch(IOException exp){
         System.out.println("IO Exception: " +exp.toString() );
    java.sql.ResultSet recResults     = null;
    java.sql.Statement STrecResults = null;
    STrecResults = global.getConnection().createStatement();
    recResults = STrecResults.executeQuery(sQuery);
    ResultSetMetaData meta = recResults.getMetaData();
    int columns = meta.getColumnCount();
    String [] tempColumnName = new String[columns];
    String [] ColumnName =null;
    int DisColumns = 0;
    int unDisCol = 0;
    String sLine = "";
    if(recResults.next()) {     //if_1
    for(int n=0;n<columns;n++) {
    String temp = meta.getColumnName(n+1);
    if(!temp.equals("PROJECTID")&&!temp.equals("BUILDINGID")&&!temp.equals("HAZMATPROFILEID")) {
    sLine = sLine + "'" + temp + "'" + " ";
    tempColumnName[DisColumns] = temp;
    DisColumns ++;
    ColumnName = new String[DisColumns];
    }else {
    unDisCol ++;
    }//end for
    for(int i=0;i<(columns-unDisCol);i++) {
    ColumnName[i] = tempColumnName;
    ps.println(sLine);
    do{
    sLine = "";
    for(int n=0;n<(columns-unDisCol);n++) {
    String tempColName = recResults.getString(ColumnName[n]);
    if(tempColName==null) {
    sLine = sLine + "" + " ";
    } else {
         sLine = sLine + "'"+tempColName+"'" + " ";
    ps.println(sLine);
    }while(recResults.next());
    }     //end if_1
    recResults.close();
    recResults = null;
    STrecResults.close();
    STrecResults = null;
    %>
    <!--end of processing data-->
    <!--start of download.jsp-->
    <%
    //set the content type to text
    response.setContentType ("plain/text");
    //set the header and also the Name by which user will be prompted to save
    response.setHeader ("Content-Disposition", "attachment;filename=temp.TXT");
    //Open an input stream to the file and post the file contents thru the servlet output stream to the client
    InputStream in = new FileInputStream(file);
    ServletOutputStream outs = response.getOutputStream();
    int bit = 256;
    try {
         while ((bit) >= 0) {
         bit = in.read();
    outs.write(bit);
    } catch (IOException ioe) {
    ioe.printStackTrace(System.out);
    outs.flush();
    outs.close();
    in.close();     
    %>
    <!--end of download -->

    Thanks. I believe something wrong with this statement
    in my program:
    You are correct there is something wrong with this statement. Seeing how you are doing this in a jsp, not really what they're made for but thats another topic, the output stream has already been called. When a jsp gets compiled it creates a few implicit objects, one of them being the outputstream out, and it does this by calling the response.getWriter(). getWriter or getOutputStream can only be called once, other wise you will get the exception you are experiencing. This is for both methods as well, seeing how the jsp compiles and calls getWriter means that you cannot call getOutputStream. Calling one makes the other throw the exception if called as well. As far as the filename problem in the browser goes I'm guessing that it's in IE. I've had some problems before when I had to send files to the browser through a servlet and remember having to set an inline attribute of some sort in the content-dis header inorder to get IE to see the real filename. The best way to solve this is to get the orielly file package and use that. It is very easy to use and understand and does all of this for you already. Plus it's free. Cant beat that.
    ServletOutputStream outs =
    response.getOutputStream();
    because I put a lot of printout statement within my
    code, and the program stops to print out exactly
    before the above statement. And then I get the
    following message, which repeats several times:
    ServletExec: caught exception -
    javax.servlet.ServletException: getWriter() was
    already called.

  • Open and Save dialogue boxes are useless

    I have recently moved from Windows to Mac after being told I would never look back and I am already 'looking back' somewhat in terms of the OS. I work with photos and graphics and I'm on the move a lot so went for a Mac Book Pro Retina with SSD and I am not going to lie it is lightning quick and the display is beautiful. But when it comes to saving and opening workflow it does not work how I expected it would.
    It seems such a simple thing but you cannot rename files from within mac open and save dialogue boxes. I'm so used to right clicking on a PC to create a new folder, hit F2 or right click and hit rename to rename to what I want then save the file into that new folder. You can also directly edit the name of the files and folders from within the open save dialogue box. If you right click on a mac you can create a new folder but it defaults to the name 'untitled folder' and you then can't change it's name. It find it unbelievable that you can not do this on a MacOS! So unbelievable that I went into an Apple store and spoke with someone there. When I showed them the problem they weren't even aware of it and pointed out I should just use finder. But that is not convenient if if you want to rename a new folder to then have to come out of the open save relocate in finder and change from there.
    I know there is the new folder button down to the left hand side and you can rename the folder as soon as you create it using that but sometimes you may make a mistake and want to change it. Same with file names.
    Why can't you do this on a Mac? It's crazy. After searching about, I came across the Default Folder X app which appears to fix this issue which isn't really that cheap for something I consider should be 100% native in any OS.
    There are other issues that frustrate me from moving over from Windows to Mac (like the ability to snap windows to screen edges, Better Snap Tool fixed that for me at a much more reasonable price but still would have expected this to be native), which I know I will just have to get used to but this one really surprised me.
    Considering I was promised so much in terms of better efficiency with work flow and ease of use overall there is still a lot that's left to be desired.

    As Axeman1020 noted, the Mac OS is not Windows. Things are not going to be exactly the same. It's no different than if you went from Windows to Linux. So expect a month or so of getting used to a different OS. Once muscle memory gets used to the different keyboard commands, and just where things are in general and how they behave, it'll seem just as easy as Windows.
    To answer some of your statements or questions:
    It seems such a simple thing but you cannot rename files from within mac open and save dialogue boxes.
    Renaming items in the Open or Save dialogue boxes are not what those are for. I know Windows allows it, but why? That's a function for the desktop so you can't accidentally change a file or folder name in a dialogue box that has nothing to do with opening a file or saving one. If opening a file, that's all you're doing. If saving, only the name of the file you're saving can be modified. That's what those dialogue boxes are for - nothing else.
    Yes, you can give a file you're saving any name you like. You can even click on any name shown in the save dialogue box to give it that name if you want. You can also highlight the default name and change it.
    If you right click on a mac you can create a new folder but it defaults to the name 'untitled folder' and you then can't change it's name.
    Of course you can. Either highlight the folder and press Enter, or slowly click on the name twice. Either action will make the name editable.
    When I showed them the problem they weren't even aware of it and pointed out I should just use Finder. But that is not convenient if you want to rename a new folder to then have to come out of the open save relocate in finder and change from there.
    You're crossing over two different things. I believe you mean renaming a folder from the Save dialogue box. When you click the New Folder button, you have the opportunity to give the new folder any name you want before clicking Create.
    If you type the wrong name, then yes, you have to finish the save before you can rename the folder. So either be sure you type the name in correctly before clicking Create, or change the misspelling afterwards. You're not saving any time fixing a typo within the Open dialogue box. It will take the same amount of extra time to do it there as opposed to fixing it on the desktop after you complete the save.
    I know there is the new folder button down to the left hand side and you can rename the folder as soon as you create it using that but sometimes you may make a mistake and want to change it. Same with file names.
    You are again trying to force a Windows feature into an OS that is not Windows. The Mac does some things that I wish Windows could do, and visa versa. However, you can't force any OS to do something it simply isn't designed to do. Expecting it to change by sheer willpower is only going to drive you crazy. You need to let go of what you want the OS to do as opposed to what it will do.
    Considering I was promised so much in terms of better efficiency with work flow and ease of use overall there is still a lot that's left to be desired.
    I find the Mac OS to be incredibly efficient. This from a person who has used Windows for many more years overall than the Mac OS. Yes, it took time to get used to how the Mac OS behaved. But rather than fighting it (which is pointless), I simply took the time to learn how to use it as it's designed.

  • File Save Dialogue

    With previous versions, I would use hot key Shift+Command+S to save as - it would open file save dialogue (looked like mac OS) and I could choose location (by default it was in same location) and I could rename and save/ replace.
    With Pro DC update, I hit a new adobe looking window that gives me redundant options that I have to choose and then I have to click from this new folder list or hit the blue button that says "choose a different folder" and then I can get to the normal file save dialogue what we are used to.
    This is inefficient and redundant for me - can an option please be added to remove this dialogue. Thank you.

    Preferences->General->Show online storage when saving

  • Openoffice and kde4 open/save dialogue

    Now that I've got this beautiful KDE4.4 desktop those dreadful gtk open/save dialogues have got to go!
    Followed the wiki but installation of gtk-qt-engine-1.1-2 rendered soffice useless - so no go there.
    There is Firefox of course but I'm hoping that there will be a 64_86 version of firefox-kde-opensuse in AUR soon. Audacity is another offender and I'm sure there are others...
    Oh, if only there were a one-for-all solution to these eye sores

    For the standard openoffice to get the KDE integration you need to have the command
    export OOO_FORCE_DESKTOP=KDE4
    somewhere that's getting sourced - I have it in /etc/profile.d/openoffice.sh since that was mentioned in the install message. When I tried out go-openoffice a while backI think it needed the same thing or else keeps the default gtk-style.
    For gtk-kde4 I had Systemsettings - appearance - gtk syle and it gives me some drop down menus which can be set to "Use current KDE style"
    I have noticed some things look a little more KDE-like than others - for instance gimp barely looks different than it did under standard gtk styles.

  • Save for Web default folder in PSE 11

    On my Windows 7 system, in PSE 8 when I select Save for Web, it defaults to saving the image in a folder I chose that is separate from the one I used in Open.
    (Save and Save As default to the folder I opened the image from, and PSE 11 works the same way even though "Save As to Original Folder" is not checked in Edit | Preferences).
    But "Save for Web" also always defaults to the folder the image was opened from, even though I have started it in Admiinistrator mode and changed the destination.
    That worked to change the default file type from GIF to JPEG, but had no effect on the save-for-web default destination.
    Is there a way to set/change the save-for-web default folder in PSE 11?

    That makes sense, but it doesn't work for me in PSE11 (though PSE 8 is OK). I get the same result as yesterday, even after rebooting, which I hoped might clear any cached settings. With or without checking Save As to Original Folder, what happens is this:
    - Save to Web defaults to saving the image file in the source folder;
    - if I change the destination to my Web-images folder, that lasts until I close PSE 11, and not beyond;
    - when I start it up again, Save For Web defaults to the source folder (with or without Save As to Original Folder, and regardless of Run As Administrator.
    Looking at the folder   C:\Program Files (x86)\Adobe\Photoshop Elements 11
    I see that no files show a change in the last several days, so the setting must be elsewhere, in the registry or in C:\Users\... somewhere.  Hmmm..

  • How to get Open/Save Dialogue box

    Hi,
    I need to get open/save dialogue box while downloading a file (from JSP).
    One way which I am currently using is on click of the button pass control to servlet and in servlet using the following code:
    /**.....Some Code */
    response.setContentType("application/csv");
    response.setHeader("Content-Disposition", "attachment; filename=" + filename);
    /**.....Some Code */But I am wondering is there any way I can do the same without passing the control to Servlet? On clicking the button in JSP, is there is any possibilty to get the Open/Save dialogue box directly.
    Thanks
    Arun

    without passing the control to Servlet?Why?
    In HTTP you can send the response only once.The application where i have this requirement is an old one. In the application, I have there are some screens, whose control never goes to Servlet.
    TO be more precise, 2 pages one HTML and another JSP. And the file to be downloaded is created when JSP is called from HTML page. And there is no interaction with Servlet. The JSP inturn calls a method in Java file (which is not a Servlet) and gets all the details including the file to be downloaded.
    I have used window.open() to download the file(in JSP) in order to have Open/Save dialogue box.
    But the approach is working fine in Windows XP systems but not in Windows2000. In Win00 machines it is directly opening the file in popup without giving the user any option for Open/Save.
    Please let me know your suggestion on this.
    Thanks

  • Why can't I save camera raw defaults?

    I am currently unable to reset my camera raw defaults in CS5 (Camera raw 6.5).  When I click on "Save Camera Raw Defaults", the changes do not show up when I open up a new image using Adobe Bridge. I seem to be stuck with the changes I made some time ago. What could be happening?

    Camera Raw uses the same settings you used last time to open a file.  That's just the way it works.  The defaults you set will be used on any image you haven't opened before.
    In order to revert an image that's been opened before to the new defaults, you need to do one of the following:
    1.  Choose Camera Raw Defaults from the menu:
    2.  Depending on how you have configured Camera Raw to remember your past settings, either delete the sidecar XMP files or go into Edit - Preferences - Camera Raw... and purge your Camera Raw cache if you'd like to throw away all previous settings and have future opens use your new defaults.
    -Noel

  • Open save dialogue box wehn run servlet program

    hi,
    i m having one servlet file(Write_File.java).. in this prog i retrive some data form one table and write into one file(c:\\write.be).. its automatically stored tat file in server machine.. now what my issue is when i run Write_File.java, it sholud have to shows save dialogue box..
    file name : Write_File.java
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    public class Write_File extends HttpServlet
         public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
              PrintWriter out = response.getWriter();
              //boolean header = true;
    FileOutputStream fos = new FileOutputStream("c:\\write.be");
              try
                   Class.forName("com.mysql.jdbc.Driver");
                   Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/cha_db","root","user");
                   Statement stat = con.createStatement();
                   ResultSet rs = stat.executeQuery("Select * from acc_ledger");
                   ResultSetMetaData rs_meta = rs.getMetaData();
                        out.println(rs_meta.getColumnName(1)+"\t"+rs_meta.getColumnName(2));
                        fos.write((rs_meta.getColumnName(1)+"\t\t"+rs_meta.getColumnName(2)+"\r\n").getBytes());
                        fos.write(("--------------\t\t--------------\r\n").getBytes());
                   while(rs.next())
                        fos.write((rs.getString(2)+"\t\t"+rs.getString(3)+"\r\n").getBytes());
                   fos.write(("========\t\t========\r\n").getBytes());               
              catch(Exception e)
                   out.println(e);
              fos.flush();
              fos.close();
    pls solve this problem
    by
    senthilkumar
    thnks in advance
    Edited by: vishruta on Nov 16, 2007 3:02 AM

    without passing the control to Servlet?Why?
    In HTTP you can send the response only once.The application where i have this requirement is an old one. In the application, I have there are some screens, whose control never goes to Servlet.
    TO be more precise, 2 pages one HTML and another JSP. And the file to be downloaded is created when JSP is called from HTML page. And there is no interaction with Servlet. The JSP inturn calls a method in Java file (which is not a Servlet) and gets all the details including the file to be downloaded.
    I have used window.open() to download the file(in JSP) in order to have Open/Save dialogue box.
    But the approach is working fine in Windows XP systems but not in Windows2000. In Win00 machines it is directly opening the file in popup without giving the user any option for Open/Save.
    Please let me know your suggestion on this.
    Thanks

  • How to make the APEX tree in the "Expand All" shape by default?

    Could anybody please enlighten me on how to make the APEX tree in the "Expand All" shape by default please? I created an APEX tree and by default it's in the "Collapse All" shape. I am using APEX 4.1.0.00.21

    Hi,
    you can check the view source of html and check the onclick code written on that plus sign(Expand All), just copy that onclick javascript code and put it on page javascript event.
    Thanks,
    Jaydip Bosamiya
    +91-76000 23053
    http://jbosamiya.blogspot.com

  • Save as EPS defaults

    Is it possible to change the 'Save as EPS' defaults to 'Preset: High
    Resolution' and 'PostScript LanguageLevel: 3'?
    Michael
    mhphillips at gmail dot com

    Is it possible to change the 'Save as EPS' defaults to 'Preset: High
    Resolution' and 'PostScript LanguageLevel: 3'?
    Michael
    mhphillips at gmail dot com

  • Save For Web Default Settings

    I need to compress about 1,000 jpg images and I'm using the "save for web" feature in Photoshop 7 but I'm running into problems because my file names are very long and its cutting them off. I found the workaround by editing the output settings and unchecking the "Mac OS" box under "Filename Compatibility". However, the problem is that the default settings do not stay like this once I hit OK and I end up having to uncheck the Mac OS box for each and every file. Is there a way to permanently change the default settings so I can do batch processing for all my images? Thanks!

    Look in:
    C:\Program Files (x86)\Adobe\Photoshop 7.0\Presets\Optimized Output Settings
    for the Default Settings.iros.
    If it's gone look in:
    C:\Users\Your Name\AppData\Local\VirtualStore\Program Files (x86)\Adobe\Photoshop 7.0\Presets\Optimized Output Settings
    (i think a reinstall is required to get back that preset if it's gone and you want the default)
    As far as i can tell you would have to save a new Default Settings.iros to make ps 7 use the custom file compatibilty settings all the time.
    You could save a new setting named Default Settings.iros to your desktop and then copy it to:
    C:\Program Files (x86)\Adobe\Photoshop 7.0\Presets\Optimized Output Settings

  • Codesigned Projector and BuddyAPI (or other File Open/Save Dialogue)

    I noticed that with the Buddy Xtra, if baGetFilename call is made when an application is Codesigned, it will crash.
    Actually ANY attempt to use any file open/save dialogue attempt in a Codesigned application will not work.
    Has anybody found a work around for this?

    Hi,
    Did you found the solution to this? I'm also trying to do something like you , but I got stuck up in a very primitive stage than you. I'm not getting how I can make that File Download window to appear. Can you help me please.
    Thanks.

  • Why does pages prompt the save dialogue every time i save?

    Just like every other word editing program, I should be able to just click save or push COMMAND S to save easily without getting the Save dialogue, once I saved for the first time.
    Why does Pages insist on bringing up the Save or Save As dialogue box every time I want to save a version of the document?  Once I saved for the first time, name the file, and save it to my hard drive, I should not have to deal with this anymore, unless I specifically click Save As....  I should be able to click Save or push COMMAND S and have it save in the background as with every document editing program.
    Is there a way to change this?

    You are obviously confused in thinking that Pages is a MsWord substitute which it is not, it is its own program.
    When you export to .doc you are doing exactly that, making a copy in a different format to the one you are working in.
    TextEdit can save to .doc and Save to it as can several other applications, but none of those are MsWord either.
    If you want to work in MsWord, why not use MsWord itself?
    Peter

  • Save dialogue

    My Adobe save dialogue option is missing in all of my Adobe apps.
    All of my apps are using the Apple save dialogue windows and the Adobe save dialogue option is missing.
    All of my other Macs have the option available to switch the save dialogue window between Apple's and Adobe's save dialogue.
    Any idea why the option to switch between them would be missing.
    OS X 10.4.11
    CS3 and CS2 all adobe apps are missing the option to use the Adobe save dialogue

    Version Cue has to be enabled in order for you to see the option.

Maybe you are looking for

  • Install JAVA add-in for ABAP problem.

    Hello. I tried to install java Add-in for ABAP on SAP NetWeaver 7.0 Support Release3. (OS : AIX 5.3 , database : DB2) The installation of phase "Central Service Instance (SCS) Java Add-in" and "Database instance Java Add-in" is complete But in the la

  • WDA - Application in Test Mode is displayed in Disabled mode

    Hi, I have developed a component in SE80 and created an Application. Now if I run the same component in Test mode, It is displaying the page and elements(Ex: Input Fields & Buttons) in Non-Editable mode.  Is there any setting for the same. Please hel

  • OLE DB provider "Microsoft.ACE.OLEDB.15.0" for linked server "(null)" does not support the required transaction interface

    Hi All, I am trying to execute a stored procedure and store its result in an excel. My query to execute stored proc and store sresults in excel INSERT INTO openrowset('Microsoft.ACE.OLEDB.15.0', 'Excel 8.0;Database=C:\TC\DataAnalysisFiles\DataAnalysi

  • Pipeline materials

    Hi All, I wantd to do Goods issue for pipeline materials. So i hav created one pipeline material and also maintained info record. when i tried to post the goods issue ( Mov type 201P) it gives me the error as "G/l account 1214002300 does not exists i

  • Offline-Mode Risk Analysis

    Hello, We are planning for Offline-Mode Risk Analysis. I read a few documents and links, but I couldn't find the method(Tcode) to extract data from the ERP system. Could someone tell me the process to extratc the data from the ERP system? Regards, Ga