Copy link to clipboard
Copied
Hello everyone,
I'm trying to add a second tag to my document, up until now i didn't have to use a second tag so it was easy using this line:
activeDocument.info.keywords = ["Above"];
but now I having some difficulties making it work. I've tried "push" and other arrays functions I know but it doesn't work, what am I doing wrong?
var keys =activeDocument.info.keywords;
keys.push("new Keyword");
activeDocument.info.keywords = keys;
Copy link to clipboard
Copied
var keys =activeDocument.info.keywords;
keys.push("new Keyword");
activeDocument.info.keywords = keys;
Copy link to clipboard
Copied
simple and did the job