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

How to replace text at selected text frame with sequence

Engaged ,
Mar 22, 2023 Mar 22, 2023

Copy link to clipboard

Copied

I have multiple artboards  with text frame, need to replace text at selected text frame with sequence

jkhakase_0-1679552101792.png

 

TOPICS
Scripting

Views

252

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
Adobe
Community Expert ,
Mar 23, 2023 Mar 23, 2023

Copy link to clipboard

Copied

first identify the textFrames you want to input information to. The easiest way is to name them, or put them on their own layer.

then loop those textFrames and update their "contents" property to match the required data.

 

var myTextFrame = app.activeDocument.textFrames[0];

myTextFrame.contents = "Hello World";

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 ,
Mar 23, 2023 Mar 23, 2023

Copy link to clipboard

Copied

LATEST

I am expecting to get text either from copied or from Notepad file to replace at selected text frames which I have selected. they are on indivisual layers

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