There are 226 files in the folder, but only 87 are being recognised by the script. All my files are JPG, PNG or PDF. Of these 210 are jpgs (10 x png/ 6 x pdfs). All batch resized to 300dpi in Photoshop.
This is such a useful tool, all help appreciated to get this feature back on, thanks!
[ attachment inserted as inline image by moderator ]
open the script code in your text editor as unformatted text and check if an upper case suffix "JPG" is supported.
Ok. Did that for you on my Windows 10 machine and can see that a suffix like "JPG" is not supported by default.
Line 23 of the script says:
myExtensions = [".jpg", ".jpeg", ".eps", ".ps", ".pdf", ".tif", ".tiff", ".gif", ".psd", ".ai"]
You can change that and add a string like ".JPG" in this way:
myExtensions = [".JPG", ".jpg", ".jpeg", ".eps", ".ps", ".pdf", ".tif", ".tiff", ".gif", ".psd", ".ai"]
FWIW: At the top of the script code there is a little description how to do this:
//The myExtensions array contains the extensions of the graphic file types you want //to include in the catalog. You can remove extensions from or add extensions to this list.
( ACP )
May be, that a change in line #77
could work with all uppercase suffixes.
Try to change from:
Firstly, many thanks for identifying the problem so quickly!
I'm new to editing script and have been unable to update it. I followed the InDesign link to 'Reveal in Finder' from the Script window. And I opened this file in TextEdit. But my Finder will not let me edit the script file and save over the old one. I've tried unlocking the folder and the file thorugh Finder, and I've treid Duplicating and saving to Desktop (with the intention of replacing the original .jsx doc) but the TextEdit it saving the file as a .txt.
In the meatime, I changed the filenames to .jpg using Automator. So I've solved the problem in this instance and have created the document I needed today (great!). And I also understand what to look out for in the future. But I have not been able to update the script itself, which is the best long term solution.
Are you able to advise further on how to update the script?
seems that you have no write access in the folder where the script file is currently installed.
No problem! There is another folder in your Scripts panel named User.
Go to that folder in your file system, copy that script file to this folder and edit it from that position.
If you cannot save it as *.jsx file, but only as *.txt file just rename the file later in your file system.
Note: Enable the Finder so that you can see file suffixes and invisible files and folders.
( ACP )