Skip to main content
Participant
September 18, 2024
Question

scripting Error for InDesign

  • September 18, 2024
  • 1 reply
  • 589 views

 

I set target indesign 2021  but error throwing ? 

 

I used error handling then also error throwing 

This topic has been closed for replies.

1 reply

Community Expert
September 18, 2024

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 )

Participant
September 18, 2024

@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?

Community Expert
September 18, 2024

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 )