Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
1

Command line from ExtendScript

Community Expert ,
Dec 17, 2011 Dec 17, 2011

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

TOPICS
Scripting

Views

2.8K
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Engaged , Dec 17, 2011 Dec 17, 2011

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

Votes

Translate
Engaged ,
Dec 17, 2011 Dec 17, 2011

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

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 17, 2011 Dec 17, 2011

Copy link to clipboard

Copied

Thanks Markus. That is very helpful.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Apr 16, 2012 Apr 16, 2012

Copy link to clipboard

Copied

LATEST

For future reference, there's an example of creating and executing a batch file in ~\Adobe RoboHelp 9\RoboHTML\presets\scripts\ePub Generator.jsx.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines