Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Reopen all files automatically when reopening Photoshop

New Here ,
Jan 03, 2024 Jan 03, 2024

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?

1.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Jan 03, 2024 Jan 03, 2024

 

quote

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 03, 2024 Jan 03, 2024

Thank you!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 03, 2024 Jan 03, 2024

I recently wrote a script to save a "session" and reopen it again later:

 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/scripts-to-save-amp-restore-photoshop...

 

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.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 03, 2024 Jan 03, 2024

I should have said it can't be done "out of the box" @Stephen Marsh ! Well done on your script writing!

 

Jane

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 03, 2024 Jan 03, 2024

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.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 03, 2024 Jan 03, 2024

Awesome, thank you!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 04, 2024 Jan 04, 2024

If the Script solves your problem please mark @Stephen Marsh â€™s post as »Correct Answer«. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 04, 2024 Jan 04, 2024

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 04, 2024 Jan 04, 2024

@christophev30535320 

 

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 05, 2024 Jan 05, 2024

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.

Screenshot 2024-01-05 at 1.21.48 AM.png

 

Screenshot 2024-01-05 at 1.24.48 AM.png

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 05, 2024 Jan 05, 2024

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):

 

https://www.editpad.org/

 

https://texteditor.co/

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 05, 2024 Jan 05, 2024

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.

Screenshot 2024-01-05 at 2.08.14 AM.png

 



Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 05, 2024 Jan 05, 2024

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 ?

 

2024-01-05_21-22-02.png

 

Again, try using the following online tool instead of Apple TextEdit (or download BBEdit or a different true plain text editor):

 

https://www.editpad.org/

 

https://texteditor.co/

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 05, 2024 Jan 05, 2024

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.

Screenshot 2024-01-05 at 10.50.48 AM.png

 

Screenshot 2024-01-05 at 10.54.10 AM.png

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 05, 2024 Jan 05, 2024

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 05, 2024 Jan 05, 2024
LATEST

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!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 05, 2024 Jan 05, 2024
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 03, 2024 Jan 03, 2024
quote

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.

 

quote

...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

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines