Skip to main content
s.mccrory
Known Participant
November 21, 2019
Answered

InDesign 2020 script: ImageCatalog script is not working

  • November 21, 2019
  • 7 replies
  • 5567 views

I was trying to batch place images yesterday in InDesign 2020 with the "ImageCatalog" script. I was able to double click the script, it popped up a window to select the folder of images (that I had on my desktop in a folder named "images") and then nothing. No other window came up for me to specify what I wanted to happen. I restarted my computer, checked for updates (there were none) and tried again. Same thing happened, let me select the folder of images and then nothing happened at all after that. Is this a bug?

This topic has been closed for replies.
Correct answer Laubender

In the InDesign Scripts Panel are several folders.

 

One has the name Samples.

Samples contains the folders AppleScript and JavaScript when you are on OS X.

Both folders should contain the same scripts, but written in different scripting languages.

 

Could be that you used the one in the AppleScript folder. And that failed silently.

Then try the one that comes with the JavaScript folder.

 

FWIW: Hope you have the visibility of file suffixes enabled in Finder.

Then you should see the script file names with the suffixes jsx (ExtendScript/JavaScript) or scrpt ( AppleScript ).

 

Regards,
Uwe Laubender

( ACP )

7 replies

Participant
October 27, 2020

I have a similar issue. I'm using the java script version on CC19. The files are all either JPG, PNG or PDF. There are 226 files in the folder, but only 85 are being recognised by the script.

10 x png, 6 x pdfs. the remainder are all jpgs that have been batch resized to 300dpi in Photoshop. 

This is such a useful tool, all help appreciated, thanks!

 

Inspiring
March 16, 2022

I have the same issue. The Javascript version only sees 20 of my 31 photos. The AppleScript version sees all 31, but then fails with this error:

 

rob day
Community Expert
Community Expert
March 16, 2022

Hi @MAURICE5EDC , can you manually place the 1 Sophie.jpg that is causing the script error?

LaubenderCommunity ExpertCorrect answer
Community Expert
November 21, 2019

In the InDesign Scripts Panel are several folders.

 

One has the name Samples.

Samples contains the folders AppleScript and JavaScript when you are on OS X.

Both folders should contain the same scripts, but written in different scripting languages.

 

Could be that you used the one in the AppleScript folder. And that failed silently.

Then try the one that comes with the JavaScript folder.

 

FWIW: Hope you have the visibility of file suffixes enabled in Finder.

Then you should see the script file names with the suffixes jsx (ExtendScript/JavaScript) or scrpt ( AppleScript ).

 

Regards,
Uwe Laubender

( ACP )

s.mccrory
s.mccroryAuthor
Known Participant
November 21, 2019

Bingo, that did the trick. Thank you sooooooo much. 🙂

Community Expert
November 21, 2019

Hm. So did you test the AppleScript or the JavaScript version of the script?

Or: Maybe something's special with the folder path where the images are saved?

Try again with a folder on your Desktop.

 

Regards,
Uwe Laubender

( ACP )

Community Expert
November 21, 2019

Ah. Sorry. You already tested with a folder on your Desktop…

 

Regards,
Uwe Laubender

( ACP )

Community Expert
November 21, 2019

Hi,

just tested the script ImageCatalog.jsx ( that's the ExtendScript / JavaScript ) version on a folder with several image types; No issues found with JPEG files. A new document with the placed images was created.

 

InDesign 2020 version 15.0.0.155 on Windows 10.

 

What's your operating system?

Did you test with the AppleScript version of the script? With the VBScript version perhaps?

If that's the case just try the version of the script in the JavaScript folder of your Scripts Panel:

ImageCatalog.jsx

 

Regards,
Uwe Laubender

( ACP )

s.mccrory
s.mccroryAuthor
Known Participant
November 21, 2019

Hi, I am upgraded to the latest Mac OS: Catalina 10.15.1 so maybe that is the issue or "bug".

Thank you for trying to help.

s.mccrory
s.mccroryAuthor
Known Participant
November 21, 2019

rgb .jpg file format.

Community Expert
November 21, 2019

Workaround: Install InDesign CC 2019 and run the script from that version.

 

Regards,
Uwe Laubender

( ACP )

Community Expert
November 21, 2019

What's the file type of your images?

Maybe the script does not support them.

 

Regards,
Uwe Laubender

( ACP )