• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Any way to find out user's default email client?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Any way to find out user's default email client?


  • Subject: Re: Any way to find out user's default email client?
  • From: "chinmoy Gavini" <email@hidden>
  • Date: Tue, 24 Apr 2007 09:39:59 -0500

Does  NSWorkspace fit your needs ?

A nice tutorial on it:
http://theocacao.com/document.page/183

Apple's documentation:
http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSWorkspace_Class/Reference/Reference.html

On 4/24/07, Ryan Stevens <email@hidden> wrote:


On Apr 24, 2007, at 5:30 AM, Justin R. Miller wrote:

> On Apr 24, 2007, at 4:04 AM, Mike Zornek wrote:
>
>> I have a new button in my app that will compose a new email
>> message with a
>> PDF attachment. Rather than just implement this for Mail.app I'm also
>> writing alternative AppleScripts so it works in programs like
>> Entourage (and
>> whatever else my users throw my way).
>>
>> I was hoping to find a way of asking the system in Cocoa what the
>> active
>> user's default email client is and use the appropriate
>> AppleScript. I don't
>> see this and may end up falling back to a preference (like iPhoto
>> does).
>>
>> Am I missing it?
>
> What about LSGetApplicationForURL() or LSCopyApplicationURLsForURL
> () while passing a generic mailto: URL?
>

Can you include attachments in mailto: URLs?
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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




-- Chinmoy Gavini _______________________________________________

Cocoa-dev mailing list (email@hidden)

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


References: 
 >Any way to find out user's default email client? (From: Mike Zornek <email@hidden>)
 >Re: Any way to find out user's default email client? (From: "Justin R. Miller" <email@hidden>)
 >Re: Any way to find out user's default email client? (From: Ryan Stevens <email@hidden>)

  • Prev by Date: Re: how to make your app process non-http URLs
  • Next by Date: Re: Any way to find out user's default email client?
  • Previous by thread: Re: Any way to find out user's default email client?
  • Next by thread: Re: Any way to find out user's default email client?
  • Index(es):
    • Date
    • Thread