Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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()?
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
Copy link to clipboard
Copied
Hey what do you know? I guess I answered my own question. Thank you for the pointer.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.