Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Add a second tag

Engaged ,
May 27, 2019 May 27, 2019

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?

TOPICS
Actions and scripting
913
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Guide , May 27, 2019 May 27, 2019

   var keys =activeDocument.info.keywords;

   keys.push("new Keyword");

   activeDocument.info.keywords = keys;

Translate
Adobe
Guide ,
May 27, 2019 May 27, 2019

   var keys =activeDocument.info.keywords;

   keys.push("new Keyword");

   activeDocument.info.keywords = keys;

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
May 27, 2019 May 27, 2019
LATEST

simple and did the job

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines