Cody Precord wrote:
> Hello,
>
> On Jul 10, 2009, at 10:35 PM, Brendan Simon (eTRIX) wrote:
>
>> Brendan Simon (eTRIX) wrote:
>>
>> I registered the __geturl() event handler but it never gets called.
>>
>> How can I determine if the events are being sent to MyApp ??
>> I tried:
>> $ expor
Hello,
On Jul 10, 2009, at 10:35 PM, Brendan Simon (eTRIX) wrote:
Brendan Simon (eTRIX) wrote:
I registered the __geturl() event handler but it never gets called.
How can I determine if the events are being sent to MyApp ??
I tried:
$ export AEDebugSends=1; export AEDebugReceives=1
$ ope
Brendan Simon (eTRIX) wrote:
>> I've no idea if there's anything you need to watch for when Apple events
>> in a wxPython-based application, so you might need to do a bit of
>> research on that front. The basic code for handling a GetURL event
>> should go something like this:
>>
>> from Carbon imp
has wrote:
> On 10 Jul 2009, at 14:45, Brendan Simon (eTRIX) wrote:
>
>> has wrote:
>>> Brendan Simon (eTRIX) wrote:
>>>
I have an OS X python program that is invoked via a uri on a webpage --
eg. "myapp:command"
[...]
>>> You need to install an Apple event handler that responds to
On 10 Jul 2009, at 14:45, Brendan Simon (eTRIX) wrote:
has wrote:
Brendan Simon (eTRIX) wrote:
I have an OS X python program that is invoked via a uri on a
webpage --
eg. "myapp:command"
[...]
You need to install an Apple event handler that responds to the
GetURL
event. Various ways you
Hello,
On Fri, Jul 10, 2009 at 8:45 AM, Brendan Simon
(eTRIX) wrote:
> has wrote:
>> Brendan Simon (eTRIX) wrote:
>>
>>> I have an OS X python program that is invoked via a uri on a webpage --
>>> eg. "myapp:command"
>>>
>>> The app is invoked fine (via the plist), but I can't seem to extract the
has wrote:
> Brendan Simon (eTRIX) wrote:
>
>> I have an OS X python program that is invoked via a uri on a webpage --
>> eg. "myapp:command"
>>
>> The app is invoked fine (via the plist), but I can't seem to extract the
>> "command" from the system args. sys.argv contains the name of the
>> appl
Brendan Simon (eTRIX) wrote:
I have an OS X python program that is invoked via a uri on a webpage
--
eg. "myapp:command"
The app is invoked fine (via the plist), but I can't seem to extract
the
"command" from the system args. sys.argv contains the name of the
application and some other va
I have an OS X python program that is invoked via a uri on a webpage --
eg. "myapp:command"
The app is invoked fine (via the plist), but I can't seem to extract the
"command" from the system args. sys.argv contains the name of the
application and some other values.
example:
sys.argv[0] = 'myap