*Working on a Windows 7 PC & Photoshop CC 2017*
1. Open the CR2 (raw) photos to be saved a JPGs
2. Open the newly made JPGs
3. Run the JPGs through a few actions to resize them and save them in other folders
My issue comes with step #2. Currently, my script will only open 1 JPG, but I need to tell it to open all of them in the specified folder. Here's my current code for this step-
var scode = prompt("Enter scode");
desc1.putPath(cTID('null'), new File("/j/Jobs2017/_Photoshop Resources/Scripts/Open file/J/"+ scode +"/JPG/test.jpg"));
With this code, it will only open 'test.jpg' and run that through the action. Is there a way to have it open ALL of the JPGs in the folder?
Thanks for the help!
var folder = new Folder('path/to/dir')
var files = folder.getFiles()