• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Preview in Internet Explorer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preview in Internet Explorer


  • Subject: Re: Preview in Internet Explorer
  • From: Joseph Egon Mastandrea (Spiros) <email@hidden>
  • Date: Sun, 7 Jul 2002 01:19:45 -0400

You might want to put them in a directory like... ~/Library/Application Support/YourApp/PreviewTemp/ or something... thats what I'm doing for my HTML editor.

On Saturday, July 6, 2002, at 05:50 PM, Matt Judy wrote:

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.
_______________________________________________
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.

  • Follow-Ups:
    • Re: Preview in Internet Explorer
      • From: Markus Hitter <email@hidden>
References: 
 >Re: Preview in Internet Explorer (From: Matt Judy <email@hidden>)

  • Prev by Date: Getting the process name of an app that isn't launched
  • Next by Date: Re: Non-standard Cocoa RTF Unicode encoding?
  • Previous by thread: Re: Preview in Internet Explorer
  • Next by thread: Re: Preview in Internet Explorer
  • Index(es):
    • Date
    • Thread