Re: how to reset another app's prefs
Re: how to reset another app's prefs
- Subject: Re: how to reset another app's prefs
- From: Shane Stanley <email@hidden>
- Date: Fri, 21 Nov 2014 16:22:04 +1100
On 21 Nov 2014, at 8:21 am, Scott Ribe <email@hidden> wrote:
>
> Every once in a while, Word just resets some of its prefs. Every once in a while, it corrupts its prefs. Every once in a while, it wedges itself due to (probably) resource leaks. And so on. So periodically (+ whenever it stops responding) I quit Word, copy preferences files from cached copies I keep that are set the way I want, and relaunch it.
FWIW, this is a not-uncommon problem with AppleScript formatting preferences. It happens even if people lock the .plist. Someone plagued with it recently came up with this Terminal solution on the AppleScript mailing list:
do shell script "asprefs=$(defaults read com.apple.applescript) ; defaults write com.apple.applescript \"$asprefs\""
Looks odd, but it might be worth a try.
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden