Re: Preview in Internet Explorer
Re: Preview in Internet Explorer
- Subject: Re: Preview in Internet Explorer
- From: email@hidden (Simon Fraser)
- Date: Mon, 08 Jul 2002 11:27:51 -0700
Ondra Cada wrote:
On Saturday, July 6, 2002, at 03:46 , Luca Torella wrote:
2) I create an HTMLeditor as my first Cocoa application. I'd like to add a
feature with which it can be possible have a preview of the HTML source
using Intenet Explorer. How can I make communicate my app with Intenet
Explorer and how can I give to IE the HTML and say to it "make a preview"
?
Don't. There are users who don't want the crap.
Just generate the HTML file (preferrably in /tmp), and open it via
NSWorkspace. The user's preferred HTML browser should be used
automatically (unless NSWorkspace got broken lately -- I haven't done
that since OpenStep days).
Will this use the preferred browser set via the Internet System Prefs?
I'm not sure it will. You should probably use the Carbon Internet Config
API to launch a file URL corresponding to the file you want to preview.
Simon
_______________________________________________
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.