Skip to main content
andrewr39497147
Participant
March 5, 2020
Answered

Improved Hello World Script

  • March 5, 2020
  • 2 replies
  • 675 views

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_ScriptingTutorial.pdf

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....

This topic has been closed for replies.
Correct answer Laubender

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 )

2 replies

LaubenderCommunity ExpertCorrect answer
Community Expert
March 5, 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 )

Community Expert
March 5, 2020

Good catch Uwe

-Manan
Community Expert
March 5, 2020

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

 

-Manan

-Manan