Javascript no longer purges temp files
For 3 years I've been using Java scripts in a large project with no problems. I have a few hundred near identical javascripts (just the output paths for saving are different). The files takes the open document which has a few hundred variables assigned, swaps them out, saves a jpeg, PURGES HISTORY, and then goes on to the next data set. Usually there are a few hundred data sets it goes through and takes a few hours. Anyway, it seems, maybe based on photoshop updating, that "app.purge (PurgeTarget.HISTORYCACHES)" no longer clears those temp files on the scratch disk. Manually going Edit>Purge>All will clear them - but doing it manually is not an option for so many files.
When I'm running these data sets, it obviously fills up the scratch disk now. Is there a work-around or some updated javascript code I could put in my file?
