Answered
Hi
is-it possible to launch, from a PDF file, using JS script, a batch file with a parameter?
exemple of Dos command line: C:\MrnMicro\Commun\CmdCible\ValeurQry.cmd F12-1
batch file code:
del c:\temp\NoCibleReq.txt
echo %1 >c:\temp\NoCibleReq.txt
"msaccess.exe" "C:\MrnMicro\Commun\CmdCible\descriptiondescibles_v2000.mdb" /x Ouverture
Use "app.launchURL()", where the URL that's passed in is prefixed with "file://"
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/]http://www.adobe.com/devnet/acrobat/[/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script