Question
Script to copy variables into metadata
I have various text anchors with given as variables. I am able to alert the object information of variables in an illustrator document using the script below. Is there a way of copying the contents of those into the metadata? I don't mind which field of metadata. Thanks.
| var idoc = app.activeDocument; | |
| var vars = idoc.variables; | |
| for (j=0; j<vars.length; j++) | |
| alert(vars |