<br><br><div class="gmail_quote">On Tue, Sep 25, 2012 at 10:57 AM, Francois Gouget <span dir="ltr"><<a href="mailto:fgouget@free.fr" target="_blank">fgouget@free.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>On Tue, 25 Sep 2012, Per Johansson wrote:<br>
<br>
> Hi,<br>
><br>
> I should probably add a note that when I wrote this I had some doubts it it<br>
> belongs in start.exe, and I still somewhat do.<br>
><br>
> The alternative would be to write a new program. The advantage to that is:<br>
<br>
</div>Start.exe already has a /unix option so adding a /AppleEvent one may<br>
make sense.<br>
<br>
I have two questions though (I apologize if careful reading the patch<br>
would answer them).<br>
<br>
How would this new /AppleEvent option be used?<br></blockquote><div>�</div><div><div>It will be used in file type association scripts created by winemenubuilder (patch 6/6). You won't invoke it manually since it only makes sense if there's an AppleEvent waiting to be delivered. The AppleEvent is sent to an application by OS X when you open a document.</div>

</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>�Is AppleEvent how they call DDE on Mac OS X<g>?</div></blockquote><div><br></div><div>Pretty much, details differ but it serves the same function. AppleEvents have existed since 1991 and are pretty much unchanged since then at the API level. Mac OS prefers a single instance of each application and the events are therefore sent by the OS instead of a new instance of the application.</div>

<div><br></div><div>This patch only checks for an event at launch, but since it usually immediately exits it's then ready to relaunch and check for another event.</div><div><br></div><div>Regards,</div><div>--�<br></div>

<div>Per Johansson</div><div><br></div></div>