Restore all window positions

497902

Suspended
Original poster
Sep 25, 2010
905
223
How can I restore all window positions on my Mac, just like they were after installing Mac OS X?

OS: 10.7.2
 
Nov 28, 2010
22,670
28
located
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?
 
Nov 28, 2010
22,670
28
located
Finder and AppleScript Editor.
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?
 

Simplicated

macrumors 65816
Sep 20, 2008
1,422
254
Waterloo, Ontario, Canada
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?
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.
 
Nov 28, 2010
22,670
28
located
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.
Ah, thanks. Forgot that.
 

497902

Suspended
Original poster
Sep 25, 2010
905
223
I found out that Script Editor restores itself after launching. :eek:

The Finder windows are also OK now. :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.