Copy link to clipboard
Copied
I am trying to create extension and I need some function from javascript file that I want to use inside extendscript.
That function can not be run inside extendscript, only inside javascript, so how to call JavaScript function inside ExtendScript??
1 Correct answer
On this link there are some documentation about "Access HTML DOM from extend script":
Copy link to clipboard
Copied
Could you describe what you mean?
Copy link to clipboard
Copied
I have javascript file with some functions I would like to use that functions inside extendscript file. Both javascript and extend script are part of extension.
I known for:
var csInterface = new CSInterface();
csInterface.evalScript..
with this above I can use function from extedscript inside javascript but how I can do reverse process use functions from javascript inside extendscript?
Copy link to clipboard
Copied
On this link there are some documentation about "Access HTML DOM from extend script":

