-1

I am trying to read a bulk of Adobe Indesign (indd) files and access its content through a script.

I want to check the name of drawing files present in the project and fetch that information in a flat file.

Can anybody help me with this as I am new to this technology?

Grant Miller
  • 27,532
  • 16
  • 147
  • 165
  • 3
    Please show us some code of what you have tried so far. We do not even know which scripting language you are referring to. – mbuechmann Aug 17 '18 at 11:51
  • You may find [this resource](https://www.adobe.com/devnet/indesign/documentation.html) to be of use getting you started – cybernetic.nomad Aug 17 '18 at 12:12
  • 4
    This is not a code writing service. What did you try so far? Please [edit] your question and post your code as a [mcve]! What happened when you ran it? What did you expect to happen instead? What specifically are you having problems with? – Robert Aug 17 '18 at 15:57

1 Answers1

0

If you are looking to read the bytes from the indd files, you cannot. The indd is a binary blob and no one knows what data is stored where. If you are talking about getting list of placed files in the indd document, javascript can do that for you. Step 1. Open the indd in indesign. Step 2. the following script can return the path of each graphic in the doc

var grphx = app.activeDocument.allGraphics;

var i = 0;

for (i =0; i < grphx.length;++i)

{

alert(grphx[i].link.filePath);

}

  • Thanks manish for this valuable information. The problem with me is I have a bulk set of indd files in thousands. So I am looking for a method where I can do this thing explicitly without opening each and every indd file – Abhay Tripathy Aug 22 '18 at 10:24