Launching a URL
Launching a URL
- Subject: Launching a URL
- From: John H Moody <email@hidden>
- Date: Fri, 08 Feb 2002 20:39:33 -0800
There is a point at which all newbies outgrow their application they are
developing and must then learn to communicate with the OS or another
application. I am now at that point.
My application stores URLs and email addresses, and I'm simply needing to
launch these URLs or email addresses in the user's default browser or email
program.
I know in programs like FileMaker, or even Word, a user can click on a URL
and it is immediately opened in the default browser. I can only guess it is
somehow passed to the OS which in turn passes the URL onto the default
browser, which in turn loads the URL. If the URL begins with "
mailto:" then
the OS passes it on to the default email program instead.
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?
Thank you for your guidance.
John Moody
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.