• 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: exec(uting) Safari - How (newbie)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: exec(uting) Safari - How (newbie)


  • Subject: Re: exec(uting) Safari - How (newbie)
  • From: Gregory Weston <email@hidden>
  • Date: Tue, 01 Jul 2008 14:04:22 -0400

Barrie Green wrote:

Hi all,

I want to write a quick little cocoa app that fires off Safari.

...

Ideally I would like to run the app without it asking me for my
password, how could I achieve that?

Considering that I can think of no common purpose for "launch Safari" that doesn't continue with "and show the contents of a designated file or URL" I'll point out that the proper way to achieve that goal is NSWorkspace's openURL: method. But I'll caution that it doesn't necessarily launch Safari; it launches the user's default web browser.


_______________________________________________

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


  • Follow-Ups:
    • Re: exec(uting) Safari - How (newbie)
      • From: "Clark Cox" <email@hidden>
  • Prev by Date: [Q] Regression of setSize for NSImage?
  • Next by Date: Re: Cocoa-dev Digest, Vol 5, Issue 1168
  • Previous by thread: Re: exec(uting) Safari - How (newbie)
  • Next by thread: Re: exec(uting) Safari - How (newbie)
  • Index(es):
    • Date
    • Thread