Copy link to clipboard
Copied
I set target indesign 2021 but error throwing ?
I used error handling then also error throwing
Copy link to clipboard
Copied
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 )
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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 )
Copy link to clipboard
Copied
I have no idea about TemplateFilePath variable is declared or not.
But the variable used inside try catch then also it's showing error.
Any idea about that ?
Regards,
Prasanth
Copy link to clipboard
Copied