Mojca Miklavec wrote:

Hans Hagen wrote:

\goto{whatever}[program(somename.cmd)]

Great! But how can I pass parameters?

\goto{http://contextgarden.net}[program(C:\\windows\\system32\\shutdown.exe)]
only prints a help message (pretty unuseful) and
\goto{http://contextgarden.net}[program(C:\\windows\\system32\\shutdown.exe -s)]
says that the file wasn't found.

(the rest works as expected, esp. once you check the box "do not show
this warning again")
long time not done, so a guess -)

\goto{http://contextgarden.net}[program(C:\\windows\\system32\\shutdown.exe{-s})]

anyhow, as with more things the pdf specs promise more that is possible. This is why i suggested using
c:\\myscripts\mojca-wants-to-shut-down.cmd

which then calls c:\windows\system32\shutdown.exe -s Hans

-----------------------------------------------------------------
                                         Hans Hagen | PRAGMA ADE
             Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                            | www.pragma-pod.nl
-----------------------------------------------------------------

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to