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

Remove Linked image and insert text in that place in InDesign document using Javascript

Engaged ,
Aug 01, 2022 Aug 01, 2022

Copy link to clipboard

Copied

How to remove and add text in the position of linked image or rectangle object in the indesign document!

I am trying like this...

var myLinks=app.activeDocument.links;
var linkedname = "<<"+myLinks[0].name+">>";
myLinks[0].parent.parent.select();
app.selection[0].remove();
neee.insertionPoints[0];
app.insertionPoints[0] = linkedname;
//how to add insertion point and insert text to that position

 

TOPICS
How to , Scripting

Views

127

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

Adobe Employee , Aug 01, 2022 Aug 01, 2022

Hi @Karthik SG ,

 

Thanks for reaching out. I am not a scripting expert however I found a similar discussion on the community which you can refer to here https://community.adobe.com/t5/indesign-discussions/script-to-replace-images-with-their-names/m-p/11256456#M192998 

 

If that's not what you're looking for, I am leaving this discussion open for expert suggestions.

 

Regards

Rishabh

Votes

Translate

Translate
Adobe Employee ,
Aug 01, 2022 Aug 01, 2022

Copy link to clipboard

Copied

Hi @Karthik SG ,

 

Thanks for reaching out. I am not a scripting expert however I found a similar discussion on the community which you can refer to here https://community.adobe.com/t5/indesign-discussions/script-to-replace-images-with-their-names/m-p/11... 

 

If that's not what you're looking for, I am leaving this discussion open for expert suggestions.

 

Regards

Rishabh

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 ,
Aug 01, 2022 Aug 01, 2022

Copy link to clipboard

Copied

yes, link directed me to the right answer. Thanks @Rishabh_Tiwari !

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
Adobe Employee ,
Aug 01, 2022 Aug 01, 2022

Copy link to clipboard

Copied

LATEST

Glad to hear that! Feel free to reach out if you need any further assistance.

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