Sorry to revive an old thread. I've been out on vacation.
To clarify, my application is *not* sandboxed. The application who's prefs I'm
interested in (Mail) is. The question is: Should that matter? Documentation
says "no". Trial and error says "yes". Since no one seems to know, I guess I'll
fi
In Mountain Lion Mail is a sandboxed app. Therefore it now stores it's
preferences in ~/Library/Containers/com.apple.mail/Data/Library/Preferences
Gabriel
On 02.08.12 07:44, "cocoa-dev-requ...@lists.apple.com"
wrote:
>On Jul 31, 2012, at 8:07 AM, Rob McBroom wrote:
>
>>Hello. I¹m trying to re
On Jul 31, 2012, at 10:07 AM, Rob McBroom wrote:
> Hello. I’m trying to read Mail’s preferences to find a suitable SMTP server
> so users don’t have to re-enter such configuration details. It seems to have
> stopped working and I can’t find a [documented] reason.
>
> I’ve tried
>
>NSUserD
Would it not be more in keeping with sandbox culture to ask the user for
permission to read the Mail.app preferences at run time? Thereby obviating the
need to maintain a supported under the hood path to the same info. It could be
a single request made once during first run.
~ Erik
Sent from
On Aug 2, 2012, at 5:19 AM, Rob McBroom wrote:
> And I question whether Scripting Bridge is “more supported” than
> `NSUserDefaults`. :-)
Those are both supported APIs, but that's irrelevant. The point is that an
application's scripting API (as declared in its dictionary) is supported,
where
On 2 Aug 2012, at 13:47, Rob McBroom wrote:
> On Aug 2, 2012, at 3:07 AM, Shane Stanley wrote:
>
>> On 01/08/2012, at 1:07 AM, Rob McBroom 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 w
On Aug 2, 2012, at 9:01 AM, Sean McBride wrote:
> On Thu, 2 Aug 2012 08:47:27 -0400, Rob McBroom said:
>
>> So maybe you can’t read the prefs from a sandboxed application?
>
> That would seem to fit with the whole idea of a sandbox, wouldn't it?
The point is that *Mail* is the sandboxed app he
On Thu, 2 Aug 2012 08:47:27 -0400, Rob McBroom said:
>So maybe you can’t read the prefs from a sandboxed application?
That would seem to fit with the whole idea of a sandbox, wouldn't it?
It would probably work if you give yourself a temporary entitlement to Mail's
pref file. I would try that
On Aug 2, 2012, at 3:07 AM, Shane Stanley wrote:
> On 01/08/2012, at 1:07 AM, Rob McBroom 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
On Aug 2, 2012, at 1:44 AM, Jens Alfke wrote:
> On Jul 31, 2012, at 8:07 AM, Rob McBroom wrote:
>
>> Hello. I’m trying to read Mail’s preferences to find a suitable SMTP server
>> so users don’t have to re-enter such configuration details. It seems to have
>> stopped working and I can’t find
On 01/08/2012, at 1:07 AM, Rob McBroom 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
On Jul 31, 2012, at 8:07 AM, Rob McBroom wrote:
> Hello. I’m trying to read Mail’s preferences to find a suitable SMTP server
> so users don’t have to re-enter such configuration details. It seems to have
> stopped working and I can’t find a [documented] reason.
Probably Mail changed where it
Hello. I’m trying to read Mail’s preferences to find a suitable SMTP server so
users don’t have to re-enter such configuration details. It seems to have
stopped working and I can’t find a [documented] reason.
I’ve tried
NSUserDefaults *mailPrefs = [[NSUserDefaults alloc] init];
NSArray
13 matches
Mail list logo