• 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: opening default email and browser from the code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: opening default email and browser from the code


  • Subject: Re: opening default email and browser from the code
  • From: "Stephen J. Butler" <email@hidden>
  • Date: Mon, 16 Jun 2008 21:31:39 -0500

2008/6/16 Angelo Chen <email@hidden>:
> Hi,
>
> I got two questions:
>
> 1) I have an email address in the code, I'd like to open default mailing program from the code with the email address as the recipient.
>
>
> 2) I have a NSImageView, when mouse move over it, the cursor should be changed to a hand, and when it is clicked, it will open a URL in the default browser.
>
> Any tips on these? Thanks,

-[NSWorkspace openURL:]

<http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSWorkspace_Class/Reference/Reference.html#//apple_ref/doc/uid/20000391-BCIBBHIG>
_______________________________________________

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

References: 
 >opening default email and browser from the code (From: Angelo Chen <email@hidden>)

  • Prev by Date: Re: Agent tutorial help needed.
  • Next by Date: Re: Strange leak reported by leaks command line tool
  • Previous by thread: opening default email and browser from the code
  • Next by thread: Re: opening default email and browser from the code
  • Index(es):
    • Date
    • Thread