• 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: launch safari to open an url
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: launch safari to open an url


  • Subject: Re: launch safari to open an url
  • From: glenn andreas <email@hidden>
  • Date: Sun, 15 May 2005 11:00:10 -0500


On May 15, 2005, at 10:52 AM, Finlay Dobbie wrote:

On 5/15/05, Daniel Jalkut <email@hidden> wrote:

I think you should be able to access AppKit from a command line tool,
but in this case I would stick to the lower level services from
LaunchServices.

Search on LSOpenFromURLSpec.  You can specify the application and URL
in that spec and ask the system to do the work for you.


LaunchServices isn't really any lower level than AppKit in any way that matters - both will require a connection to the windowserver, which may cause you problems.


Though for this case, it really doesn't matter - if the goal is to launch a web browser, the web browser wouldn't work without a windowserver connection anyway...




Glenn Andreas                      email@hidden
 <http://www.gandreas.com/> oh my!
quadrium | build, mutate, evolve | images, textures, backgrounds, art

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >launch safari to open an url (From: Hernan Ochoa <email@hidden>)
 >Re: launch safari to open an url (From: Daniel Jalkut <email@hidden>)
 >Re: launch safari to open an url (From: Finlay Dobbie <email@hidden>)

  • Prev by Date: Re: launch safari to open an url
  • Next by Date: Re: Application Hang (Cocoa-Java)
  • Previous by thread: Re: launch safari to open an url
  • Next by thread: Re: launch safari to open an url
  • Index(es):
    • Date
    • Thread