Skip to main content
Participant
July 15, 2025
Answered

Working on multiple files, it does not follow the order as they were opened.

  • July 15, 2025
  • 1 reply
  • 101 views

I'm always working on multiple files, in the past when I opened files, let's say 1 to 10, the default file that it opena was the last one, in this case number 10, when finished and closed Photoshop went to next file, in this case number 9, then 8 an so. 

Since last year this is not happening and I can't find a solution, it randomly goes from number 10 then to 3, then 7 etc, etc.. It is quite annoying as the only fix I found is to click every single file tab in PS in order, so when I finish it goes to the next in order. But when you are working on 20-30 files at a time it becomes quite time consuming.

Correct answer Stephen Marsh

How eactly are you opening the files? There are many ways... For one example, the File > Open dialog uses the display/sort order.

 

It may also depend on whether the files have zero padding:

 

10-File.jpg, 1-File.jpg

 

vs.

 

001-File.jpg, 010-File.jpg

 

Just for some alternative options to explore:

 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/how-to-open-a-number-of-images-but-one-at-a-time/m-p/13804564#U15090907

 

In the following script, you can remove .reverse() to reverse the order to standard:

 

var inputFolder = Folder.selectDialog("Please select the folder to open the images in reverse order:");
for (i = !(fileList = Folder(inputFolder).getFiles(/\.(jpg|jpeg|tif|tiff|bmp|png|eps|psd|psb|gif|tga)$/i).sort().reverse());
    i < fileList.length;)
    open(fileList[i++]);

 

https://prepression.blogspot.com/2017/11/downloading-and-installing-adobe-scripts.html

1 reply

Stephen Marsh
Community Expert
Stephen MarshCommunity ExpertCorrect answer
Community Expert
July 15, 2025

How eactly are you opening the files? There are many ways... For one example, the File > Open dialog uses the display/sort order.

 

It may also depend on whether the files have zero padding:

 

10-File.jpg, 1-File.jpg

 

vs.

 

001-File.jpg, 010-File.jpg

 

Just for some alternative options to explore:

 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/how-to-open-a-number-of-images-but-one-at-a-time/m-p/13804564#U15090907

 

In the following script, you can remove .reverse() to reverse the order to standard:

 

var inputFolder = Folder.selectDialog("Please select the folder to open the images in reverse order:");
for (i = !(fileList = Folder(inputFolder).getFiles(/\.(jpg|jpeg|tif|tiff|bmp|png|eps|psd|psb|gif|tga)$/i).sort().reverse());
    i < fileList.length;)
    open(fileList[i++]);

 

https://prepression.blogspot.com/2017/11/downloading-and-installing-adobe-scripts.html