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

Add a second tag

Engaged ,
May 27, 2019 May 27, 2019

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?

TOPICS
Actions and scripting

Views

781

Translate

Translate

Report

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;

Votes

Translate

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

Copy link to clipboard

Copied

   var keys =activeDocument.info.keywords;

   keys.push("new Keyword");

   activeDocument.info.keywords = keys;

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

simple and did the job

Votes

Translate

Translate

Report

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