🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #187

Re: Programatically delete Photoshop Temp##### files

#187
From: JeffreyDeRousse
Date: Mon, 09 Mar 2009 12:22
15 lines
1785 bytes
Yes, I am talking about scratch files.

Two parts...
If the Photoshop application is run all week and we process 1GB of files through there it is going to make a huge scratch file correct? That is also why am curious if I can put a line of code at the end of the script to terminate Photoshop which will delete the scratch file.

As far as workflow goes in our environment the best way is to take the recommendation of "try67" and use the getFiles() function of the currently logged in user and delete that scratch file if Photoshop will allow me to do that while the Photoshop application is still running.

Concerning the automatic deletion of scratch files...
I will take a closer look. I just had to go in delete 4 different scratch files on the day I originally posted this thread (3/7/2009).
I am going to confirm that the installation is up to date.

Another question which you will probably be able to answer right away. If I (user A) am bumped out due to an application crash and someone else (user B) logs in will it still delete the scratch file upon Photoshop launch?

Thank you very much for your time in reviewing my question and replying.
Jeff
Technical Details
Message-ID: <59b82656.2@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <59b82656.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,1b7252e985494225
X-Google-Attributes: gidf5839,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: JeffreyDeRousse <jderousse@vertisinc.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.photoshop.scripting
Subject: Re: Programatically delete Photoshop Temp##### files
Message-ID: <59b82656.2@webcrossing.la2eafNXanI>
Date: Mon, 9 Mar 2009 05:22:33 -0700
References: <59b82656.-1@webcrossing.la2eafNXanI>
Lines: 26
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit