is there a way to insert my company name into the keywords and then have all the image names be inserted? my script above does everything except inserting the company name
i.e. if the indesign document has three images named dog, cat, and fish i want my keywords to be:
Company Name; dog; cat; fish
Why do you ask?
Just add the name in front of the array by concatenating two arrays:
app.activeDocument.metadataPreferences.keywords = ["MyCompanyName"].concat(app.activeDocument.links.everyItem().name);
Note: the names of the links will also include the file suffixes like .tif, .eps etc.
See the documentation at:
I am new and never concatenated (had to look up that word) ....this is exactly what i needed....THANK YOU!!!!