Re: [Pythonmac-SIG] [patch] GetURL argv emulation for py2app 0.5.2

2011-03-12 Thread Brendan Simon (eTRIX)
On 12/03/11 10:00 PM, pythonmac-sig-requ...@python.org wrote: > On 10 Mar, 2011, at 18:04, Brendan Simon (eTRIX) wrote: >> > Below is my patch to get URLs/URIs to be added to sys.argv when an app >> > is opened via the Launcher. >> > >> > It should be applied to: >> > >> > /Library/Frameworks/Pyt

Re: [Pythonmac-SIG] [patch] GetURL argv emulation for py2app 0.5.2

2011-03-12 Thread Ronald Oussoren
On 12 Mar, 2011, at 6:36, Brendan Simon (eTRIX) wrote: > On 12/03/11 10:00 PM, pythonmac-sig-requ...@python.org wrote: >> >> On 10 Mar, 2011, at 18:04, Brendan Simon (eTRIX) wrote: >>> > Below is my patch to get URLs/URIs to be added to sys.argv when an app >>> > is opened via the Launcher. >>>

Re: [Pythonmac-SIG] [patch] GetURL argv emulation for py2app 0.5.2

2011-03-12 Thread Brendan Simon (eTRIX)
On 13/03/11 1:30 AM, Ronald Oussoren wrote: > On 12 Mar, 2011, at 6:36, Brendan Simon (eTRIX) wrote: >> I am running on OS 10.6, but my app needs to run on 10.4, 10.5 and >> 10.6 (PPC and Intel). >> I am using Python 2.5.4. >> >> I don't think your test would work if you were to use a custom url,

Re: [Pythonmac-SIG] [patch] GetURL argv emulation for py2app 0.5.2

2011-03-12 Thread Brendan Simon (eTRIX)
On 11/03/11 10:04 AM, Brendan Simon (eTRIX) wrote: > NOTE: for some reason the AppleEvent constants kAEInternetSuite and > kAEISGetURL does not work as they are set to 'gurl' (lowercase). > However using 'GURL' does work :) > > Cheers, Brendan. Was thinking it may be "nicer" to convert the cons