Delete smart object Photoshop files in TemporaryItems folder
When you open a smart object in a Photoshop document, a new PSB file is created in your TemporaryItems folder. If you open a lot of smart objects in that document, your hard drive could eventually run out of space.
I know that closing the document will delete these temporary Photoshop files. But, is it possible to delete these temp files, through ExtendScript, without closing the document?
Unfortunately the purge method doesn't clear these files.
app.purge(PurgeTarget.ALLCACHES)
Any ideas?
Thanks!
PS. I'm running Photoshop 2015.0
