Copy link to clipboard
Copied
I would like to call a command line from a FrameMaker ExtendScript script. Is this possible? Any help or pointers will be appreciated. Thanks.
Rick Quatro
Hi Rick,
AFAIK there's no direct way to call a process with parameters by ExtendScript.
If want to call a process without parameters, you can execute this file with method "execute" with is provided by "File" class .
If I have to call this process with parameters, I write write a batch file by script and execute this file.
Bye
Markus
Copy link to clipboard
Copied
Hi Rick,
AFAIK there's no direct way to call a process with parameters by ExtendScript.
If want to call a process without parameters, you can execute this file with method "execute" with is provided by "File" class .
If I have to call this process with parameters, I write write a batch file by script and execute this file.
Bye
Markus
Copy link to clipboard
Copied
Thanks Markus. That is very helpful.
Copy link to clipboard
Copied
For future reference, there's an example of creating and executing a batch file in ~\Adobe RoboHelp 9\RoboHTML\presets\scripts\ePub Generator.jsx.