Re: Preview in Internet Explorer
Re: Preview in Internet Explorer
- Subject: Re: Preview in Internet Explorer
- From: Matt Judy <email@hidden>
- Date: Sat, 06 Jul 2002 14:50:26 -0700
Steve Bird wrote:
On Saturday, July 6, 2002, at 10:01 AM, 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).
--- I agree with "Don't tie it to Internet Exploder". Let the user's
preferred browser do the work.
In addition to the preferred browser, the user should be able to specify
a list of others, which also become available for preview.
--- I disagree with "put the file in /tmp". Relative links get broken
that way. PageSpinner puts the preview in the same folder as the original.
Any links referring to "OtherFile.html" (as opposed to "http://wherever.
com/thisfolder/OtherFile.html") are expecting that it's in the same
directory.
If a temp file is needed at all, that is. If the original file isn't
dirty, then just use open that in your preview broswer.
-- Matt
_______________________________________________
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.