can't find AE opendoc sample code

Ask a Question related to Mac Programming, Design and Development.

  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]kwiley@cs.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. Similar Questions and Discussions

    1. Code Sample
      I found this link referenced in another thread - http://flexapps.macromedia.com/flex15/explorer/dragdrop/DragDropGrid.mxml?versio nChecked=true and...
    2. ethernet sample code
      Does anyone have a copy of the ethernet sample code that is refernced in the Netdoc.pdf? I can't seem to find that. Steve
    3. Impersonate code sample?
      Here is what I do in order to use Windows security: 1. Set up IIS to use the domain account you have set up as the anonymous user 2. Set up...
    4. Where to find a professional validation sample with server controls
      Hello! I need to validate a date of birth, age, credit card, primary language etc. I found a couple example in the books but they are written not...
    5. DB Sample Code
      I'm looking for some sample code that functions as an Access table editor. I had one that gave me a table grid with the hyperlink options to edit,...
  3. #2

    Default Re: can't find AE opendoc sample code

    In article <Pine.LNX.4.56.0309051828510.10478@santafe.cs.unm. edu>,
    Keith Wiley <kwiley@cs.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

  4. #3

    Default Re: can't find AE opendoc sample code

    In article <Pine.LNX.4.56.0309051828510.10478@santafe.cs.unm. edu>,
    Keith Wiley <kwiley@cs.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 kAEOpenDocuments 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

  5. #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 kAEOpenDocuments 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]kwiley@cs.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

  6. #5

    Default Re: can't find AE opendoc sample code

    In <Pine.LNX.4.56.0309052244400.11739@santafe.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 kAEOpenDocuments 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]matt@tidbits.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

Posting Permissions

  • You may not post new threads
  • You may 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