I would like to know how to reset a user set window size for an application to the one chosen by the developer. Are these settings usually stored in some plist file?
MacOS – Resetting application window size
applicationsmacoswindow-manager
Related Question
- How to change the size of a Google Hangouts window in AppleScript
- MacOS – Set default Finder window size
- MacOS – How to add a confirmation prompt window to warn before closing a window for any application
- Atom’s application window disappeared
- MacOS – How to set an application to be open in max window size
Best Answer
It depends on the Application, but mostly it's stored in the
defaults
database. You can check for example Mail.app with:If You do not know the
key
just grep with "window" the output fromdefaults read BUNDLE_ID
whereBUNDLE_ID
is Your application bundle identifier which can be read like this:You can try to change keys in plists using
defaults
command or locate plist file in~/Library/Preferences
directory and change it manually.