At Monday 13/11/2006 18:47, Bryce Bolton wrote:

My question is:  How do the contents of the link file get passed to the
python application assocated with .PAL files?  Are the file contents passed
as an ARGV array?  There must be more to this because when I open a file
like some_doc.XLS, the entire contents of that file get passed to Excel, but
I don't know how.

When you register your application to handle .PAL files, you specify the command line to be used; usually it is "executable" "%1" So, your application receives the file name (not its contents!) as an argument; see sys.argv[]


--
Gabriel Genellina
Softlab SRL
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to