Re: Launching a URL
Re: Launching a URL
- Subject: Re: Launching a URL
- From: Michael Peirce <email@hidden>
- Date: Sat, 9 Feb 2002 00:00:43 -0500
On Friday, February 8, 2002, at 11:39 PM, John H Moody wrote:
So how can my app do this? Can I simply pass the NSURL as an argument
on to
some NSOperatingSystem object that I haven't yet learned about as if I
were
passing a notification to an [NSNotificationCenter defaultCenter], or
is it
time for me to start learning about NSTasks and NSThreads and all those
other fun topics I've yet to get around to studying?
Click on that "Classes" tab in PB. Scroll it down to NSWorkspace and
click on the little book icon.
You'll see:
openURL:
- (BOOL)openURL:(NSURL *)url
Opens the location specified by url; returns YES if the location was
successfully opened, NO otherwise.
You need to start reading through some of the documents there...
--
Michael Peirce
6497 Spinnaker Drive
Lewis Center OH 43035
740-657-1269
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.