Professional Web Applications Themes

Opening an html doent (macosx) - Mac Programming

Hello people, Is there anyone who can tell me how to open a html doent from my application? I'm writing an application for MacOSX. I can not find this in the doentation (probably looking at the wrong pages). Thanks, Cor....

  1. #1

    Default Opening an html doent (macosx)

    Hello people,

    Is there anyone who can tell me how to open a html doent from my
    application?
    I'm writing an application for MacOSX.

    I can not find this in the doentation (probably looking at the wrong
    pages).

    Thanks, Cor.


    Cor Jansen Guest

  2. #2

    Default Re: Opening an html doent (macosx)

    We just use the FinderLaunch sample from apple's site. Seems to work
    pretty well in launching the appropriate application for the FSSpec.
    For instance, it pops up Safari on my machine with the html file.



    "Cor Jansen" <corjremoveThisPartIncludingTheUnderscores_dapdes ign.com> wrote in message news:<3f5863d0$0$49117$e4fe514cnews.xs4all.nl>...
    > Hello people,
    >
    > Is there anyone who can tell me how to open a html doent from my
    > application?
    > I'm writing an application for MacOSX.
    >
    > I can not find this in the doentation (probably looking at the wrong
    > pages).
    >
    > Thanks, Cor.
    Jedidja Bourgeois Guest

  3. #3

    Default Re: Opening an html doent (macosx)

    Cor Jansen <corjremoveThisPartIncludingTheUnderscores_dapdes ign.com>
    wrote:
    > Is there anyone who can tell me how to open a html doent from my
    > application?
    > I'm writing an application for MacOSX.
    >
    > I can not find this in the doentation (probably looking at the wrong
    > pages).
    If your application is in Cocoa, you can just do this:

    [[NSWorkspace sharedWorkspace] openFile:"/Path/To/your.doc.html"];
    Paul Mitchum Guest

  4. #4

    Default Re: Opening an html doent (macosx)

    In article <b4b8c5a0.0309050620.a81b241posting.google.com> ,
    [email]jedidjab79hotmail.com[/email] (Jedidja Bourgeois) wrote:
    > We just use the FinderLaunch sample from apple's site. Seems to work
    > pretty well in launching the appropriate application for the FSSpec.
    > For instance, it pops up Safari on my machine with the html file.

    Or you can use Launch Services. LSOpenFSRef() and such.
    Uli Kusterer Guest

Similar Threads

  1. Doent Opening Event
    By truello@gmail.com in forum Macromedia Exchange Dreamweaver Extensions
    Replies: 1
    Last Post: August 3rd, 08:40 PM
  2. Need Help in opening FH10/11 doent
    By hebbe999 in forum Macromedia Freehand
    Replies: 4
    Last Post: May 27th, 07:02 AM
  3. opening a doent created in v 4.0.4
    By Rick Voege in forum Macromedia Director Basics
    Replies: 2
    Last Post: February 15th, 08:11 PM
  4. opening doent in freehand 10
    By bootleg in forum Macromedia Freehand
    Replies: 0
    Last Post: February 10th, 01:09 PM
  5. opening textfile on macosx
    By Johan Meskens Cs3 Jmcs3 in forum PERL Beginners
    Replies: 1
    Last Post: January 4th, 01:30 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139