Re: reading preferences from com.apple.mail under 10.8
Re: reading preferences from com.apple.mail under 10.8
- Subject: Re: reading preferences from com.apple.mail under 10.8
- From: Rob McBroom <email@hidden>
- Date: Thu, 02 Aug 2012 08:47:27 -0400
On Aug 2, 2012, at 3:07 AM, Shane Stanley <email@hidden> wrote:
> On 01/08/2012, at 1:07 AM, Rob McBroom <email@hidden> wrote:
>
>> Mail is, but so is TextEdit and I have no problem reading its prefs.
>
> Are you sure you have no problem with TextEdit? It looks like when Mail moves its prefs to its container it deletes the old file, but TextEdit leaves its old one there. You may well be reading a pre-update TextEdit prefs file.
I was all ready to say “Yes, I’m sure”, but the app isn’t actually reading TextEdit’s prefs. It’s asking for com.apple.TextEdit.LSSharedFileList. Reading the actual preferences doesn’t seem to work.
So maybe you can’t read the prefs from a sandboxed application? But that isn’t documented anywhere that I can find.
--
Rob McBroom
<http://www.skurfer.com/>
_______________________________________________
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