Re: Determining the Default Mail App
Re: Determining the Default Mail App
- Subject: Re: Determining the Default Mail App
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 06 Feb 2006 19:15:20 -0800
- Thread-topic: Determining the Default Mail App
Title: Re: Determining the Default Mail App
On 2/6/06 5:02 PM, "Adam Bell" <email@hidden> wrote:
Gnarlie sayeth:
Ah yes, I do believe you are right. Someone with a pristine system might
check it out and post here after setting their browser to something else.
So the default string would need to be worked in before or after checking
for non-default values.
And it is so! I have a pristine partition, moved the script to it, restarted there, ran the script with "mailto" and "http" as search entries, and got "" for both. As delivered OS X 10.4 defaults to Mail and Safari, but doesn't that little detail in the location we expect.
This is consistent with the basic "locale" system on OS X. There are system defaults which don't appear anywhere, then defaults for your locale which don't appear anywhere. 'defaults' - i.e. settings made just for 1) your computer and 2) your user - are only written into files if you change from the system and localization defaults. Lots of things look first in your user defaults (and no further if they find a setting), then computer (i.e. /Library) settings (and no further if they find a setting), and only if there's still no setting do they default to your locale default, which is built in. You'll usually know, or can find out, what the "pristine" locale defaults are, and can set those if nothing is found via 'read defaults'.
--
Paul Berkowitz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden