Save as Psd, save as Png and delete

Script for Photoshop CS3. Creates a floating panel with three buttons in Photoshop.

Save PSD – saves the active file in psd format to 'psd' folder on the desktop (if the folder doesn't exist, it will be created).

Save PNG – if the active files is in psd format, saves a copy in in png format to 'png' folder on the desktop (if the folder doesn't exist, it will be created).

Delete – deletes the last saved psd-file.

By default the buttons in the panel are aligned horizontally:

But if you want, you can make them align vertically by changing the line #6 from
myGroup.orientation = 'row';
to
myGroup.orientation = 'column';

The script was written on request of a certain JoOosty from Photoshop Scripting Forum:
automate save with adding a number.


Click here to download.