Copy link to clipboard
Copied
As things stand right now, there seems to be no way of reopening automatically all the files that were open when one closes Photoshop and reopens it, or multiple files all at once in the Recent files opening window, where you can only reopen one file at a time.
Why is that? It's kind of surprising that Adobe wouldn't have found a way to make this happen by now, since it's such an obvious need for users.
Or am I mistaken and there is a way to do it?
Copy link to clipboard
Copied
Or am I mistaken and there is a way to do it?
By @christophev30535320
No, you are not mistaken. There is no way (yet) to open multiple files from Recents. And no, files do not open automatically.
You can open multiples files when you select them in Adobe Bridge or Mac Finder. Most likely you can do it from Windows File Explorer, but I haven't tested.
Jane
Copy link to clipboard
Copied
Thank you!
Copy link to clipboard
Copied
I recently wrote a script to save a "session" and reopen it again later:
You can follow the links posted in that *discussion* to the *idea* feature request and vote for it to be added as a native fature.
Copy link to clipboard
Copied
I should have said it can't be done "out of the box" @Stephen Marsh ! Well done on your script writing!
Jane
Copy link to clipboard
Copied
Thank you Jane!
Feedback on the scripts is appreciated, I put them through exhaustive testing on my system with my files, but when a script is released into the wild unexpected issues are often found.
Copy link to clipboard
Copied
Awesome, thank you!
Copy link to clipboard
Copied
If the Script solves your problem please mark @Stephen Marsh ’s post as »Correct Answer«.
Copy link to clipboard
Copied
So, I just tried it. I copied and pasted the scripts in plain text using textedit (I'm on Mac), changed the extension to .jsx as indicated and placed them into the prest scripts folder in Photoshop.
I closed Photoshop and reopened it. I checked into the File>scripts menu, but the two scripts are apparently not there. I'm not sure what I have done wrong.
Copy link to clipboard
Copied
As a troubleshooting step, what if you go File > Scripts > Browse and manually navigate to the script. This may help to indicate an issue that isn't apparent in the installed script.
Can you post a screenshot of the scripts on the drive, how they named? Can you post a screenshot of the script opened into a plain text editor?
If you have multiple versions, ensure that the scripts are installed in the version that you are running (I know... but I have to say it).
P.S. What about the 3rd script from Trevor Morris?
Copy link to clipboard
Copied
I tried that step, when I get to the scripts folder through browsing, the two files are greyed out.
The scripts are installed in the version I am running.
Here are the screenshots you asked.
As you can see, the icons for the two files look different than the other jsx files, so I am assuming I am doing something wrong when saving them.
 
 
Copy link to clipboard
Copied
I can't read the icon on the two saved files that looked different... Do you see RTF on the icon? Can you view as icons rather than list and magnify the icons using the slider on the lower right of the icon view Finder window?
Why is the file opened into Text Edit as "Untitled"?
Why doesn't it show "Save.jsx" or "Restore.jsx", why is it a different file?
Double check that it is plain text and not rich text (Format menu is set to Plain Text mode, not Rich Text mode).
Try using the following online tool instead of Apple TextEdit (or download BBEdit or a different true plain text editor):
Copy link to clipboard
Copied
Sorry, the screen capture was done before I named the file, that's why it says "Untitled".
The format is plain text, though, I specifically changed it to that format.
Here is a screenshot of the files as icons. As you can see, it doesn't say RTF on the icons, but there is text on them, as opposed to a blank icon, like for the other jsx files. Which is what makes me think I am doing something wrong when I am creating the jsx files.
 
Copy link to clipboard
Copied
On my Mac, it shows a preview of the contents, which in my preview is obviously JavaScript code... Your preview isn't code?
What if you select the file and "Get Info" CMD + i – is there a double extension such as .jsx.txt ?
Again, try using the following online tool instead of Apple TextEdit (or download BBEdit or a different true plain text editor):
Copy link to clipboard
Copied
No, my preview wasn't code, I don't know why.
But I went to one of the links you provided and used texteditor (see attached image). Went through the same process again, changed to .txt extension to .jsx and placed the files in the scripts folder. This time, the preview showed code on it.
However, after restarting Photoshop, the two files were still not showing in the File>Scripts menu. So, I used "browse" in the menu. When I got the folder, the files were there, but again greyed out (see image attached).
Now I'm not sure what I am doing wrong or why it's not working.
 
 
Copy link to clipboard
Copied
I'm wondering if this is security/permissions related.
Did you save the untitled new file direct to the presets/scripts folder? If so, try to just save the two files to your desktop and browse them there, not in the installed script folder. If that works, move the files using the finder to the presets/scripts, don't save them there.
Get info on files that work vs. those that don't and compare the permissions, owners etc.
Copy link to clipboard
Copied
No, I had not saved the files directly to the scripts folder. I saved them to my desktop first and used Finder to move them.
I'll try the links you posted below, thank you!
Copy link to clipboard
Copied
For what it is worth, you can try the following:
Save-Restore-Photoshop-Session-main.zip
https://github.com/MarshySwamp/Save-Restore-Photoshop-Session/tree/main
Copy link to clipboard
Copied
As things stand right now, there seems to be no way of reopening automatically all the files that were open when one closes Photoshop and reopens it,
The script that I previously posted mostly allows for this by explicitly running a separate save and separate restore session script.
...or multiple files all at once in the Recent files opening window, where you can only reopen one file at a time.
By @christophev30535320
The following script from Trevor Morris does this:
https://morris-photographics.com/photoshop/scripts/open-recent.html
Find more inspiration, events, and resources on the new Adobe Community
Explore Now