logo       

passing a url to a helper application: msg#00116

python.apple

Subject: passing a url to a helper application

Not quite sure where this question belongs....

I was able to succesfully write a helper application in Python,
(mostly from people's help on this list!!)
by making it listen for AppleEvents, specifically for the 'odoc' event

Does anyone know if it is at all possible to determine the URL that a file came from (if it came from the browser, and was passed off to LaunchServices)??

I know on UNIX-y platforms, you can slip a '%u' into the
mailcap entry that describes the helper application, but I'm
not sure if there is any notion of this via the LaunchServices API...

Thanks
Dan



----------------------------
Daniel Greenblatt
UCSF Computer Graphics Lab
dan@xxxxxxxxxxxx

On Sat, 8 May 2004 pythonmac-sig-request@xxxxxxxxxx wrote:

Date: Sat, 08 May 2004 12:01:19 -0400
From: pythonmac-sig-request@xxxxxxxxxx
Reply-To: pythonmac-sig@xxxxxxxxxx
To: pythonmac-sig@xxxxxxxxxx
Subject: Pythonmac-SIG Digest, Vol 13, Issue 8

Send Pythonmac-SIG mailing list submissions to
pythonmac-sig@xxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
http://mail.python.org/mailman/listinfo/pythonmac-sig
or, via email, send a message with subject or body 'help' to
pythonmac-sig-request@xxxxxxxxxx

You can reach the person managing the list at
pythonmac-sig-owner@xxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Pythonmac-SIG digest..."


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



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise