Restore all window positions

Discussion in 'macOS' started by Sven11, Jan 12, 2012.

  1. Sven11 macrumors 6502a

    Joined:
    Sep 25, 2010
    #1
    How can I restore all window positions on my Mac, just like they were after installing Mac OS X?

    OS: 10.7.2
     
  2. simsaladimbamba

    Joined:
    Nov 28, 2010
    Location:
    located
    #2
    Normally deleting the .plist file of the affected application takes care of that.
    Are all applications and its windows ****ed up, or just one application and its windows?
     
  3. Sven11 thread starter macrumors 6502a

    Joined:
    Sep 25, 2010
  4. simsaladimbamba

    Joined:
    Nov 28, 2010
    Location:
    located
    #4
    I only know of the Finder.plist file called com.apple.finder.plist, located in Macintosh HD / Users / YOU / Library / Preferences /, but maybe there is an AppleScript Editor .plist file for you too.
    Just delete the .plist file and restart Finder (CMD+SHIFT+ESC).
    You can still use Finder, can you?
     
  5. Simplicated macrumors 65816

    Simplicated

    Joined:
    Sep 20, 2008
    Location:
    Waterloo, Ontario, Canada
    #5
    Finder is different. The default window location is stored in com.apple.Finder.plist, while locations for different folders are stored in .DS_Store of the folders.

    So you might want to issue this command in terminal:
    Code:
    find . -name ".DS_Store" -type f -delete; killall Finder
    To clear up all the .DS_Store. Note that all file positions will be reset too.
     
  6. simsaladimbamba

    Joined:
    Nov 28, 2010
    Location:
    located
    #6
    Ah, thanks. Forgot that.
     
  7. Sven11 thread starter macrumors 6502a

    Joined:
    Sep 25, 2010
    #7
    I found out that Script Editor restores itself after launching. :eek:

    The Finder windows are also OK now. :)
     
  8. simsaladimbamba

    Joined:
    Nov 28, 2010
    Location:
    located
    #8
    What did work for Finder? The .plist file and/or the Terminal command?
     

Share This Page