Re: Accessing System Preferences?
Re: Accessing System Preferences?
- Subject: Re: Accessing System Preferences?
- From: Matt Gemmell <email@hidden>
- Date: Mon, 11 Aug 2003 00:20:15 +0100
On 10/8/03 at 10:50 pm, Nick Morris said:
>
The question: How do I retrieve the System Preference setting for
>
Mail and Web for a user?
>
>
Basically, it is just so the right Applescript fires in my
>
application for the right mail program or web-broswer.
You can use my "GetNetApps" code, available from my source code page:
<
http://www.scotlandsoftware.com/products/source/>
It lets you get the name, full path and icon of the user's default
application for handling any net protocol (like "http" for the default
web browser, or "mailto" for the email client).
Cheers,
-Matt
--
Matt Gemmell
Irate Scotsman
http://www.scotlandsoftware.com/blog/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.