launch a program with a parameter from a pdf

Here should go questions about transforming XML with XSLT and FOP.
Posts: 1
Joined: Tue Dec 20, 2005 3:24 am

launch a program with a parameter from a pdf

Post by tatane » Tue Dec 20, 2005 3:36 am

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

Posts: 4144
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache » Tue Dec 20, 2005 1:21 pm


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.


Post Reply