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

  • April 21, 2020
  • 4 replies
  • 3162 views

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 has been closed for replies.
Correct answer rob day

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

4 replies

Participant
September 18, 2024

 

I set target indesign  but error throwing ? 

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 )

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.

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 )

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

selvam214
Inspiring
April 21, 2020

Hi,

Kindly change your target application.

 

 

 

Selva

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