Page 1 of 1

launch a program with a parameter from a pdf

Posted: Tue Dec 20, 2005 3:36 am
by tatane
Hi all,

I have a stylesheet which generates a pdf. I added a simple link to lauch a program and it works fine.
To perform this operation i use :
<fo:basic-link color="blue" external-destination="file:///C:\\myProgram.exe">launch myProgram</fo:basic-link>

But i would like also to pass a parameter to his program, i have tried this expression but it does not work :
<fo:basic-link color="blue" external-destination="file:///C:\\myProgram.exe%20param1">launch myProgram</fo:basic-link>

Please help, if you know and let me know the best way to do it.

Thank you very much

Posted: Tue Dec 20, 2005 1:21 pm
by sorin_ristache

It seems the PDF viewer appends the param name to the name of the exe file and tries to launch the result. Sorry we do not have more experience with that.