Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

497902

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

OS: 10.7.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?
 
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?
 
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.
 
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.
 
I found out that Script Editor restores itself after launching. :eek:

The Finder windows are also OK now. :)
 
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.
I just tried this on my Mac Mini and I get:

% find . -name ".DS_Store" -type f -delete; killall Finder
find: ./Library/Application Support/CallHistoryTransactions: Operation not permitted
find: ./Library/Application Support/CloudDocs/session/db: Operation not permitted
find: ./Library/Application Support/com.apple.sharedfilelist: Operation not permitted
find: ./Library/Application Support/Knowledge: Operation not permitted
find: ./Library/Application Support/com.apple.TCC: Operation not permitted
find: ./Library/Application Support/FileProvider: Operation not permitted
find: ./Library/Application Support/FaceTime: Operation not permitted
find: ./Library/Application Support/com.apple.avfoundation/Frecents: Operation not permitted
find: ./Library/Application Support/CallHistoryDB: Operation not permitted
find: ./Library/Assistant/SiriVocabulary: Operation not permitted
find: ./Library/Autosave Information: Operation not permitted
find: ./Library/IdentityServices: Operation not permitted
find: ./Library/Messages: Operation not permitted
find: ./Library/HomeKit: Operation not permitted
find: ./Library/Sharing: Operation not permitted
find: ./Library/com.apple.aiml.instrumentation: Operation not permitted
find: ./Library/Mail: Operation not permitted
find: ./Library/Trial: Operation not permitted
find: ./Library/AppleMediaServices: Operation not permitted
find: ./Library/DuetExpertCenter: Operation not permitted
find: ./Library/Accounts: Operation not permitted
find: ./Library/Safari: Operation not permitted
find: ./Library/Biome: Operation not permitted
find: ./Library/IntelligencePlatform: Operation not permitted
find: ./Library/Shortcuts: Operation not permitted
find: ./Library/Suggestions: Operation not permitted
find: ./Library/Weather: Operation not permitted
find: ./Library/Group Containers/group.com.apple.secure-control-center-preferences: Operation not permitted
find: ./Library/Group Containers/group.com.apple.notes: Operation not permitted
find: ./Library/Containers/com.apple.archiveutility: Operation not permitted
find: ./Library/Containers/com.apple.Maps/Data/Maps: Operation not permitted
find: ./Library/Containers/com.apple.Home: Operation not permitted
find: ./Library/Containers/com.apple.Safari: Operation not permitted
find: ./Library/Containers/com.apple.CloudDocs.MobileDocumentsFileProvider: Operation not permitted
find: ./Library/Containers/com.apple.mail: Operation not permitted
find: ./Library/Containers/com.apple.Notes: Operation not permitted
find: ./Library/Containers/com.apple.news: Operation not permitted
find: ./Library/Containers/com.apple.corerecents.recentsd/Data/Library/Recents: Operation not permitted
find: ./Library/Containers/com.apple.stocks: Operation not permitted
find: ./Library/PersonalizationPortrait: Operation not permitted
find: ./Library/Metadata/CoreSpotlight: Operation not permitted
find: ./Library/Metadata/com.apple.IntelligentSuggestions: Operation not permitted
find: ./Library/Cookies: Operation not permitted
find: ./Library/com.apple.bluetooth.services.cloud/CachedRecords/SoundProfileAsset: Operation not permitted
find: ./Library/CoreFollowUp: Operation not permitted
find: ./Library/StatusKit: Operation not permitted
find: ./Library/DoNotDisturb: Operation not permitted
find: ./Library/Caches/com.apple.HomeKit: Operation not permitted
find: ./Library/Caches/CloudKit: Operation not permitted
find: ./Library/Caches/com.apple.Safari: Operation not permitted
find: ./Library/Caches/FamilyCircle: Operation not permitted
find: ./Library/Caches/com.apple.homed: Operation not permitted
find: ./Library/Caches/com.apple.ap.adprivacyd: Operation not permitted
find: ./.Trash: Operation not permitted
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.