Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Set Save sheets to expanded state by default' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Set Save sheets to expanded state by default
Authored by: mantrid on Nov 13, '06 11:31:47AM
The suggestion in the comment actually contains an error since:
defaults write -g
which writes to the user's .GlobalPreferences.plist file, is not equivalent to:
defaults write /Library/Preferences/.GlobalPreferences
which writes to the file in the main "/Library/Preferences" folder. Using "-g", the change is user-specific, whereas the version with the path would apply to all users, including new ones subsequently created (individual user settings will override this default one though). If the intent is to forestall the "save location" question, the version in the hint is more useful, at least for multi-user machines.

However, it seems that "NSNavPanelExpandedStateForSaveMode" normally takes a data-type of "boolean". Although a given property may accept both "boolean" or a string "0/1", it would be considered "good practice" to get into the habit of using the appropriate data type since other keys may not be as forgiving. The use of "-bool TRUE" in the comment's version of the command is probably better.

Otherwise, good hint. That question about save location is one that one does pop up fairly regularly.

[ Reply to This | # ]