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

Count Images (placed and pasted) in InDesign

Explorer ,
Apr 28, 2019 Apr 28, 2019

Hi,

I am working on a few documents which consist of placed and pasted images. Since, pasted images don't show up in Links panel hence, there is no way to find out the total image count. Is there a way to find out the total number of images (inclusive of linked and pasted images) through a script? I found out this thread:

https://forums.adobe.com/thread/2416449

However, this generates results in a JavaScript Console of the ESTK (ExtendScript Toolkit), which I don't have. Hence, I am looking for a pop-up or document oriented result.

I have no idea about script editing, and would be grateful if anyone could help with the same.

Thanks & Regards,

Aman

1.1K
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

Community Expert , Apr 28, 2019 Apr 28, 2019

Hi Aman,

just give it an alert instead of a $.writeln.

var doc = app.documents[0];  

var result = [ "Doc Name" +" : "+ "Total Number of Graphics on Doc" ];  

result[1] = doc.name + " : " + doc.allGraphics.length

alert("RESULT"+"\r"+result.join("\r"));

FWIW:

The ExtendScript Toolkit app can be downloaded here:

Download Creative Cloud apps

Or right-click a sample jsx script in the Scripts Panel and chose "Edit".

The ESTK should be downloaded and installed if it is not there.

Regards,
Uwe

Translate
Community Expert ,
Apr 28, 2019 Apr 28, 2019

Hi Aman,

just give it an alert instead of a $.writeln.

var doc = app.documents[0];  

var result = [ "Doc Name" +" : "+ "Total Number of Graphics on Doc" ];  

result[1] = doc.name + " : " + doc.allGraphics.length

alert("RESULT"+"\r"+result.join("\r"));

FWIW:

The ExtendScript Toolkit app can be downloaded here:

Download Creative Cloud apps

Or right-click a sample jsx script in the Scripts Panel and chose "Edit".

The ESTK should be downloaded and installed if it is not there.

Regards,
Uwe

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
Explorer ,
Apr 29, 2019 Apr 29, 2019
LATEST

Hi Uwe,

Thank you so much for the help! It worked perfectly. Big thank you!

Thanks & Regards,

Aman

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