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

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

Explorer ,
Apr 21, 2020 Apr 21, 2020

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.

 

ashishktrig_0-1587474405592.pngexpand image

 

Please help

 

TOPICS
Scripting
3.0K
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 22, 2020 Apr 22, 2020

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

Translate
Contributor ,
Apr 21, 2020 Apr 21, 2020

Hi,

Kindly change your target application.

 

 

 

SelvaScreen Shot 2020-04-21 at 7.08.39 pm.pngexpand image

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
Explorer ,
Apr 21, 2020 Apr 21, 2020

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

 

ashishktrig_0-1587477204145.pngexpand image

 

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 21, 2020 Apr 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
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
Explorer ,
Apr 22, 2020 Apr 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
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 22, 2020 Apr 22, 2020

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

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
New Here ,
Sep 17, 2024 Sep 17, 2024

SuriyaG_0-1726642364691.pngexpand image

 

SuriyaG_1-1726642446109.pngexpand image

I set target indesign  but error throwing ? 

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 ,
Sep 18, 2024 Sep 18, 2024
LATEST

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

 

Regards,
Uwe Laubender
( Adobe Community Expert )

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