Professional Web Applications Themes

can't find AE opendoc sample code - Mac Programming

the dev apple site either doesn't have -- or has done a good job hiding -- any sample code demonstrating how to handle the AE opendoc event. I already have code in my program that opens files successfully and I have the opendoc AE event installed, so if I drop a file on my program the program launches and the debugger stops inside the right AE function. However, I have no idea how to tease the file information out of the AE information. Where is there some sample code on this stuff? Thanks. __________________________________________________ ______________________ Keith Wiley [email]kwileycs.unm.edu[/email] [url]http://www.unm.edu/~keithw[/url] [url]http://www.mp3.com/KeithWiley[/url] ...

  1. #1

    Default can't find AE opendoc sample code

    the dev apple site either doesn't have -- or has done a good job hiding --
    any sample code demonstrating how to handle the AE opendoc event. I
    already have code in my program that opens files successfully and I have
    the opendoc AE event installed, so if I drop a file on my program the
    program launches and the debugger stops inside the right AE function.
    However, I have no idea how to tease the file information out of the AE
    information. Where is there some sample code on this
    stuff?

    Thanks.

    __________________________________________________ ______________________
    Keith Wiley [email]kwileycs.unm.edu[/email]
    [url]http://www.unm.edu/~keithw[/url] [url]http://www.mp3.com/KeithWiley[/url]

    "Yet mark his perfect self-contentment, and hence learn his lesson,
    that to be self-contented is to be vile and ignorant, and that to
    aspire is better than to be blindly and impotently happy."
    -- Edwin A. Abbott, Flatland
    __________________________________________________ ______________________
    Keith Wiley Guest

  2. #2

    Default Re: can't find AE opendoc sample code

    In article <Pine.LNX.4.56.0309051828510.10478santafe.cs.unm. edu>,
    Keith Wiley <kwileycs.unm.edu> wrote:
    > the dev apple site either doesn't have -- or has done a good job hiding --
    > any sample code demonstrating how to handle the AE opendoc event. I
    > already have code in my program that opens files successfully and I have
    > the opendoc AE event installed, so if I drop a file on my program the
    > program launches and the debugger stops inside the right AE function.
    > However, I have no idea how to tease the file information out of the AE
    > information. Where is there some sample code on this
    > stuff?
    [url]http://www.macosxguru.net/article.php?story=2003090215443366[/url]

    (there are MacOS X, Carbon and Cocoa FAQs there to which anyone may add
    their own entries).

    Cheers,
    -- M. Uli Kusterer
    [url]http://www.zathras.de[/url]
    Uli Kusterer Guest

  3. #3

    Default Re: can't find AE opendoc sample code

    In article <Pine.LNX.4.56.0309051828510.10478santafe.cs.unm. edu>,
    Keith Wiley <kwileycs.unm.edu> wrote:
    > the dev apple site either doesn't have -- or has done a good job hiding --
    > any sample code demonstrating how to handle the AE opendoc event. I
    > already have code in my program that opens files successfully and I have
    > the opendoc AE event installed, so if I drop a file on my program the
    > program launches and the debugger stops inside the right AE function.
    > However, I have no idea how to tease the file information out of the AE
    > information. Where is there some sample code on this
    > stuff?
    <[url]http://developer.apple.com/samplecode/Sample_Code/QuickTime/Music_and_Sound/Soun[/url]
    dPlayer/Main.c.htm>

    By the way, searching ADC for kAEOpenDoents had this hit on the first page.

    meeroh

    --
    If this message helped you, consider buying an item
    from my wish list: <http://web.meeroh.org/wishlist>

    Miro Jurisic Guest

  4. #4

    Default Re: can't find AE opendoc sample code

    On Fri, 5 Sep 2003, Miro Jurisic wrote:
    > <[url]http://developer.apple.com/samplecode/Sample_Code/QuickTime/Music_and_Sound/Soun[/url]
    > dPlayer/Main.c.htm>
    >
    > By the way, searching ADC for kAEOpenDoents had this hit on the first page.
    Thanks. I had tried searching for things like "appleevent opendoc sample
    code". Everything that came up had "not used" in the open doc section of
    the sample code. Quite unhelpful.

    __________________________________________________ ______________________
    Keith Wiley [email]kwileycs.unm.edu[/email]
    [url]http://www.unm.edu/~keithw[/url] [url]http://www.mp3.com/KeithWiley[/url]

    "Yet mark his perfect self-contentment, and hence learn his lesson,
    that to be self-contented is to be vile and ignorant, and that to
    aspire is better than to be blindly and impotently happy."
    -- Edwin A. Abbott, Flatland
    __________________________________________________ ______________________
    Keith Wiley Guest

  5. #5

    Default Re: can't find AE opendoc sample code

    In <Pine.LNX.4.56.0309052244400.11739santafe.cs.unm. edu> Keith Wiley
    wrote:
    > On Fri, 5 Sep 2003, Miro Jurisic wrote:
    >
    >> <[url]http://developer.apple.com/samplecode/Sample_Code/QuickTime/Music_[/url]
    >> and_Sound/Soun dPlayer/Main.c.htm>
    >>
    >> By the way, searching ADC for kAEOpenDoents had this hit on the
    >> first page.
    >
    > Thanks. I had tried searching for things like "appleevent opendoc
    > sample code". Everything that came up had "not used" in the open doc
    > section of the sample code. Quite unhelpful.
    'odoc' and OpenDoc are two different things. I'm happy to say that
    OpenDoc is quite dead... :) m.

    --
    matt neuburg, phd = [email]matttidbits.com[/email], [url]http://www.tidbits.com/matt[/url]
    REALbasic: The Definitive Guide! 2nd edition!
    [url]http://www.amazon.com/exec/obidos/ASIN/0596001770/somethingsbymatt[/url]
    Subscribe to TidBITS. It's free and smart.
    matt neuburg Guest

Similar Threads

  1. DownloadProgressBar sample code
    By j2eesatish in forum Macromedia Flex General Discussion
    Replies: 1
    Last Post: June 27th, 10:05 PM
  2. Code Sample
    By y c a r t in forum Macromedia Flex General Discussion
    Replies: 3
    Last Post: September 8th, 08:07 PM
  3. Impersonate code sample?
    By Chris Jackson in forum ASP.NET Security
    Replies: 2
    Last Post: August 4th, 08:03 PM
  4. Replies: 2
    Last Post: August 1st, 10:04 PM
  5. DB Sample Code
    By Frank Py in forum ASP Database
    Replies: 3
    Last Post: July 2nd, 02:28 PM

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