Hello all, I am a newbie to Javascript and am trying to turn off a specific layer in a number of layered PDF files. Here is the script I have started but I continue to get syntac errors and do not know enough about scripting to figure it out. I hope someone can help me. Thank you!
Elaine
if(this.inc == null){
// Initialize layer state
FindOCG("CA_Stds").state = false;
// Initialize Counter Variable
this.inc = -1;
}
This is the error I receive.
SyntaxError: syntax error
1:Console:Exec
undefined
Elaine
if(this.inc == null){
// Initialize layer state
FindOCG("CA_Stds").state = false;
// Initialize Counter Variable
this.inc = -1;
}
This is the error I receive.
SyntaxError: syntax error
1:Console:Exec
undefined