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] = 'myapp
   sys.argv[1] = '-psn_0_22123800'


How can I my program read the _uri_ that caused the program to be invoked.

Thanks, Brendan.

begin:vcard
fn:Brendan Simon
n:Simon;Brendan
org:eTRIX pty ltd
adr:;;PO Box 306;St Kilda;VIC;3182;Australia
email;internet:brendan.si...@etrix.com.au
title:Managing Director
tel;work:+61-417-380-984
tel;cell:+61-417-380-984
x-mozilla-html:TRUE
version:2.1
end:vcard

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to