[pdftex] Launching an application

Victor Ivrii vivrii at gmail.com
Sat Aug 27 21:03:48 CEST 2005


On 8/27/05, Heiko Oberdiek <oberdiek at uni-freiburg.de> wrote:
> On Sat, Aug 27, 2005 at 08:13:26AM -0000, shiva shankar shankar wrote:
> 
> >  I am using pdflatex and hyperref package for my
> > documentation and in that i want to add a button or a link,
> > if i click that link or button it should launch some specified
> > application  with some arguments which will vary.
> 
> \documentclass{article}
> \usepackage{hyperref}
> 
> \begin{document}
> \href{run:application#arguments}{button}
> \end{document}
> 
> However, the PDF specification supports arguments for Windows only.
> 
> Thus AR/Win starts program "application" with options "arguments",
> AR/Unix or AR/Mac start program "application" without options.
> Both after confirming some dialogs.
> 
> Yours sincerely
>   Heiko <oberdiek at uni-freiburg.de>
> --


Actually, on MacOS 

\href{run:mysillymovie.mov}{button}

will open quicktime and run this movie. So on MacOS you can run the
document (and if AR 7  opened this application and you confirmed that
this is fine,  before the system will not open any dialogs)

-- 
========================
Victor Ivrii, Department of Mathematics, University of Toronto



More information about the pdftex mailing list