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

Call ExtendScript Script from FDK Client

Community Expert ,
May 06, 2020 May 06, 2020

Forgive me if this has been answered before, but can a FrameMaker ExtendScript script be called from a FrameMaker API client? Is it possible to pass parameters to a script this way? Thanks in advance.

TOPICS
Scripting
1.3K
Translate
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
Mentor ,
May 07, 2020 May 07, 2020

Hi Rick,

 

You used to know how to do this with FrameScript... I figure it is about the same thing with the FDK using F_ApiCallClient()?

 

https://community.adobe.com/t5/framemaker/how-can-i-run-extendscript-in-framescript/td-p/10494772?pa...

 

There were more extensive discussions about this on the old yahoo dev group, including the question about passing parameters. I think the short answer was no, you can't pass parameters. Your client would have to write some file with whatever data, then the script reads it. If I remember.

 

Russ

Translate
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 ,
May 07, 2020 May 07, 2020

Hey what do you know? I guess I answered my own question. Thank you for the pointer.

Translate
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 Beginner ,
Feb 02, 2021 Feb 02, 2021

Hi Rick,

I am trying to call ExtandScript from FrameMaker API client. Based on thread information I tried to implement with following command

F_ApiCallClient("ScriptingSupport", "<path_to_sript>");
But it seems not to be working. Do you know if there is something I am doing wrong?

 

Thanks.

Translate
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 Beginner ,
Feb 02, 2021 Feb 02, 2021
LATEST

Hi again,

I found that this command is working. 

The reason of my fail was that I was forgetting to register .dll file in maker.ini, that is why could not see the result.

Thank you for information. 

Translate
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