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

Improved Hello World Script

New Here ,
Mar 05, 2020 Mar 05, 2020

Hi I am new to Indesign and Indesign Scripting.

I have worked through this tutorial:

https://www.adobe.com/content/dam/acom/en/devnet/indesign/sdk/cs6/scripting/InDesign_ScriptingTutori...

I have tried to run the improved verion of the script (javascript version) and I get this error....probably I have made a typo....but for the life of me I cannot find it....

improved_world.jpgexpand image

TOPICS
Scripting
536
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 , Mar 05, 2020 Mar 05, 2020

Hi Andrew,

your script is not targeting InDesign. Currently it's running at ExtendScript Toolkit CC as target.

Connect your script in the ESTK with InDesign: Next to the green chain-link icon are all targets listed in a dropdown menu.

Start InDesign first then choose InDesign as target.

 

Regards,
Uwe Laubender

( ACP )

Translate
Community Expert ,
Mar 05, 2020 Mar 05, 2020

This script seems to need an open InDesign document. Are you running it with document open?

 

-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
Community Expert ,
Mar 05, 2020 Mar 05, 2020

Hi Andrew,

your script is not targeting InDesign. Currently it's running at ExtendScript Toolkit CC as target.

Connect your script in the ESTK with InDesign: Next to the green chain-link icon are all targets listed in a dropdown menu.

Start InDesign first then choose InDesign as target.

 

Regards,
Uwe Laubender

( ACP )

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 ,
Mar 05, 2020 Mar 05, 2020
LATEST

Good catch Uwe

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