Skip to main content
Participant
Sep 18, 2024 7:03 AM UTC
Question

scripting Error for InDesign

 

I set target indesign 2021  but error throwing ? 

 

I used error handling then also error throwing 

This topic is closed to new replies. Start a new post to keep the conversation going.

5 replies

Community Expert
Sep 18, 2024 7:24 AM UTC

Hi @Suriya G ,

show the the function replaceColor.

Used variable TemplateFilePath as argument in the function seems to have no valid value.

 

Regards,
Uwe Laubender
( Adobe Community Expert )

Translate
Participant
Sep 18, 2024 7:39 AM UTC

@Laubender 

But the function called inside try and catch.

Even when TemplateFilePath variable has not no value means it need to skip.

Then why extendscript showing error?

Translate
Community Expert
Sep 18, 2024 7:58 AM UTC

Is variable TemplateFilePath declared somewhere?

var TemplateFilePath;

it's hard to help when the full script code is not available…

 

Regards,
Uwe Laubender
( Adobe Community Expert )

Translate