Skip to main content
Inspiring
April 21, 2020
Answered

undefined is not an object error is coming in jsx file with In-design Extended script tool kit

I am begineer in-design and trying to explore this tool for my project needs. I come to know that extended script tool is good to get started with in-design scripting but when I tried a simple jsx file for document creation I am getting following bug "undefined is not an object". If there is any references we need to give of any files/libraries to make it working.

 

 

Please help

 

This topic is closed to new replies. Start a new post to keep the conversation going.
rob day
rob dayCorrect answer
Community Expert
April 22, 2020

You are targeting Extendscript Toolkit and not InDesign. The code would only work with InDesign, so it has to be running.

7 replies

Participant
September 18, 2024

 

I set target indesign  but error throwing ? 

Translate
Community Expert
September 18, 2024

Hi @Suriya G ,

I answered your question in your other thread:

https://community.adobe.com/t5/indesign-discussions/scripting-error-for-indesign/m-p/14866570#M589443

 

Regards,
Uwe Laubender
( Adobe Community Expert )

Translate
rob day
Community Expert
rob dayCommunity ExpertCorrect answer
Community Expert
April 22, 2020

You are targeting Extendscript Toolkit and not InDesign. The code would only work with InDesign, so it has to be running.

Translate
Community Expert
April 21, 2020

Hi ashishktrig,

check your screenshot in your inital post.

I can clearly see that you did not connect to any kind of InDesign in the moment you executed your script.

 

Regards,
Uwe Laubender

( ACP )

Translate
Inspiring
April 22, 2020

Yes, In screet shot it is like that but I tried In-design Server as well but not Indesign as its trial period has been expired so does will have to select Adobe In-design instead of Indesign-Server to make it work

 

 

 

 

Regards,

Ashish Khandelwal

Translate
selvam214
Inspiring
April 21, 2020

Hi,

Kindly change your target application.

 

 

 

Selva

Translate
Inspiring
April 21, 2020

I have target application as follows and I have choosen adobe in design 2020 server also but still it showing error

 

 

Translate