Re: launch safari to open an url
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