Dear Ronald, Chris,<div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
&gt; Perhaps argv emulation isn&#39;t the only way to support this. Does<br>
&gt; tkInter on the Mac Support the Mac-specific events? For example,<br>
&gt; wxPython has mac-specific events you can catch for files dropped on<br>
&gt; the app, or selected at startup -- so argv emulation isn&#39;t required.<br>
&gt; Maybe Tk doesn&#39;t have those, but it&#39;s worth a look.<br>
<br>
</div>+1 on this, it is better to use the Tkinter support for this instead of the argvemulation hack (which is mostly meant to be used with command-line scripts </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

The source code for idle show how you can add support for the open-file event  to your application: &lt;<a href="http://hg.python.org/cpython/file/cb716ee277cc/Lib/idlelib/macosxSupport.py#l54" target="_blank">http://hg.python.org/cpython/file/cb716ee277cc/Lib/idlelib/macosxSupport.py#l54</a>&gt;<br>
</blockquote><div><br></div><div>Mick: That code will allow openDocument events to be received</div><div>while my program is open. In my case, I want users to be able to</div><div>LAUNCH my application by double-clicking on a document. The</div>
<div>openDocument event is executed before my program opens,</div><div>and thus before this patch is executed.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

That said, I will try to fix the py2app bug when I have some time.<br></blockquote><div><br></div><div>Thanks. I know time is short and bugs consume time to fix.</div><div><br></div><div>Mick</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<span><font color="#888888"><br>
Ronald</font></span><br>_______________________________________________<br>
Pythonmac-SIG maillist  -  <a href="mailto:Pythonmac-SIG@python.org" target="_blank">Pythonmac-SIG@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/pythonmac-sig" target="_blank">http://mail.python.org/mailman/listinfo/pythonmac-sig</a><br>
unsubscribe: <a href="http://mail.python.org/mailman/options/Pythonmac-SIG" target="_blank">http://mail.python.org/mailman/options/Pythonmac-SIG</a><br>
<br></blockquote></div><br></div>