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

How to call JS function

Participant ,
Apr 18, 2020 Apr 18, 2020

Hi Everyone,

How to call a script inside InDesign sample SDK plugins..

 

Kindly guide me.

-Monisha
TOPICS
How to , Scripting , SDK
816
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

correct answers 1 Correct answer

Community Expert , Apr 19, 2020 Apr 19, 2020

Also have a look at the following discussion where i have posted the code to run a javascript code from C++, i use IScriptRunner. It also demonstrates returning values from JSX to C++

https://community.adobe.com/t5/indesign/dispatchscriptrunner-return-values/m-p/10898739?page=1

 

-Manan

Translate
Community Expert ,
Apr 19, 2020 Apr 19, 2020

Probably, You can use RunScriptInEngine method in IExtendScriptUtils

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 ,
Apr 19, 2020 Apr 19, 2020
LATEST

Also have a look at the following discussion where i have posted the code to run a javascript code from C++, i use IScriptRunner. It also demonstrates returning values from JSX to C++

https://community.adobe.com/t5/indesign/dispatchscriptrunner-return-values/m-p/10898739?page=1

 

-Manan

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