Hi, I have 50 files illustrator, all with the same layer names "capa1" and "capa2", is it possible to disable a layer to all files at once?
sorry my bad english
Hola, tengo 50 archivos de illustrator, todos con los mismos nombres de capas "capa1" y "capa2", ¿es posible desactivar una capa a todos los archivos de una sola vez?
One tip, if you try:
If you change a layer in a placed AI file, the ID of the placed AI file will change. That's a bug, I think.
But you can work around it. So be cautious. Do not address the image by itself, if you iterate with a for loop through all the graphic layers of the AI file.
Instead address its container and always adress the image with eg.:
var myAIimage = myContainer.pageItems.getElements();
Otherwise you'll get an error message saying: "Undefined is not an object" or something like that.
Another tip: A placed AI image is type of PDF.
See a recent discussion in the German language InDesign Scripting Forum hilfdirselbst.ch here:
thanks very much