• 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: Is it possible to open a URL in a specific browser rather than the default one ???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is it possible to open a URL in a specific browser rather than the default one ???


  • Subject: Re: Is it possible to open a URL in a specific browser rather than the default one ???
  • From: Graham Cox <email@hidden>
  • Date: Tue, 2 Jun 2009 23:15:46 +1000


On 02/06/2009, at 11:04 PM, Chunk 1978 wrote:

i hate firefox, and although i have it on my system for backup, it
would kinda piss me off if an app launched it for me instead of safari
(which is often always open).

i'm not sure you can do this without a hack, but i'm curious why you
want to open in firefox as default?

On Tue, Jun 2, 2009 at 8:56 AM, Parimal Das <email@hidden> wrote:
Hello

I want to open a particular URL in a specific browser (say firefox).If
firefox is not present then open it in Safari.
I am using NSWorkspace method openURL:
but it always open the url in the users default browser.


Is it possible to open a URL in specific browser ??


While that was my first thought (the user should have their choices honoured), there is one class of apps that might legitimately want to do this - web page editors that have a "Preview In...<browser X>" command.


Launch Services methods such as LSCopyApplicationURLsForURL would probably allow you to do that.

--Graham


_______________________________________________

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: Is it possible to open a URL in a specific browser rather than the default one ???
      • From: "Adam R. Maxwell" <email@hidden>
References: 
 >Is it possible to open a URL in a specific browser rather than the default one ??? (From: Parimal Das <email@hidden>)
 >Re: Is it possible to open a URL in a specific browser rather than the default one ??? (From: Chunk 1978 <email@hidden>)

  • Prev by Date: Re: Can't set header on NSURLRequest
  • Next by Date: Proper way to release a QTMovie
  • Previous by thread: Re: Is it possible to open a URL in a specific browser rather than the default one ???
  • Next by thread: Re: Is it possible to open a URL in a specific browser rather than the default one ???
  • Index(es):
    • Date
    • Thread