• 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: 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.

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

  • Prev by Date: Re: Starting Cocoa development - Developing for Jaguar
  • Next by Date: Re: Starting Cocoa development - Developing for Jaguar
  • Previous by thread: Re: Preview in Internet Explorer
  • Next by thread: Re: Preview in Internet Explorer
  • Index(es):
    • Date
    • Thread