On 5/30/12 3:12 AM, Ronald Oussoren wrote:

IDLE can be opened by double clicking on python files, the code I linked
to should be responsible for implementing this. Also, the argv_emulation
code uses the openDocument event to do its work (argv_emulation basicly
runs a Carbon event loop until it has received some openDocument events
or until a timeout occurs).

You can set a CFBundleTypeExtension key in your info.plist file to indicate that your app can handle a certain type of document via double-click.

--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to