AutoBackup & Incremental Save

Upload photoshop scripts, download photoshop scripts, discussion and support of photoshop scripts

Moderator: PS-Moderators

AutoBackup & Incremental Save

Postby furikake » Thu Oct 06, 2011 7:49 am

I'd like to share my autobackup and incremental save scripts. They are my first Photoshop scripts, both in VBS.

AutoBackup
--------------
http://myara.web.fc2.com/mPSAutoBackup.html

Autosaves active document every "n" minutes (10min by default) in a different file with the same
filename + "_backup_#" format. Autosaves 5 times and then rewrites the first backup file.

Every "n" minutes autochecks if a file is opened. If not, a quit dialog appears.

-----------------------------------------

Incremental Save
--------------------
http://myara.web.fc2.com/mPSIncrementalSave.html

This time I tried to replicate Maya's Incremental Save. But I couldn't get the "last update date" property from the files in the hard disk using javascript so I wrote it in VBScript and call it through a JS script. I connected it with [Document Save] command in the script manager, so each time I save my file, it autosaves a backup with a number in a Backup folder. I'm including the JS file too but since it only works with a full path, you need to change the Photoshop Path with yours

What it does:
If the file is a PSD (or psd) and it has been saved at least once (exists in the hard disk), then:
- Creates a [PSDBackup] folder in the opened file Path
- Creates a [filename] folder inside this [PSDBackup]
- Inside this folder saves the file as a copy and add a number ( filename_001) to its name.
- if the file filename_001 exists, save a copy as filename_002, and loops till filename_005.
- It saves as a copy and keeps the active document name intact without numbers (filename) so I it won't affect my paths in Maya or Softimage.
- When filename_005 has been reached it rewrites filename_001 and loops.

You can increase or deacrease the maxfiles settings by opening the vbs with a notepad.

You can have error messages when trying to do something else while Photoshop is saving. I haven't found a way to halt Photoshop while saving.
Last edited by furikake on Thu Feb 23, 2012 2:06 am, edited 2 times in total.
furikake
 
Posts: 5
Joined: Tue Aug 02, 2011 4:25 am
Location: Tokyo

Re: AutoBackup & Incremental Save

Postby tedanoell » Sat Oct 22, 2011 8:15 am

Nce try! Thanx for sharing
tedanoell
 
Posts: 1
Joined: Fri Oct 21, 2011 9:19 pm

Re: AutoBackup & Incremental Save

Postby juda » Thu Dec 29, 2011 4:32 pm

furikake wrote:I'd like to share my autobackup and incremental save scripts. They are my first Photoshop scripts, both in VBS.

AutoBackup
--------------
http://myara.web.fc2.com/mPhotoshopAutoBackup.html

Autosaves active document every "n" minutes (10min by default) in a different file with the same
filename + "_backup_#" format. Autosaves 5 times and then rewrites the first backup file.

Every "n" minutes autochecks if a file is opened. If not, a quit dialog appears.

-----------------------------------------

Incremental Save
--------------------
http://myara.web.fc2.com/mPSIncrementalSave.html

This time I tried to replicate Maya's Incremental Save. But I couldn't get the "last update date" property from the files in the hard disk using javascript so I wrote it in VBScript and call it through a JS script. I connected it with [Document Save] command in the script manager, so each time I save my file, it autosaves a backup with a number in a Backup folder. I'm including the JS file too but since it only works with a full path, you need to change the Photoshop Path with yours

What it does:
If the file is a PSD (or psd) and it has been saved at least once (exists in the hard disk), then:
- Creates a [PSDBackup] folder in the opened file Path
- Creates a [filename] folder inside this [PSDBackup]
- Inside this folder saves the file as a copy and add a number ( filename_001) to its name.
- if the file filename_001 exists, save a copy as filename_002, and loops till filename_005.
- It saves as a copy and keeps the active document name intact without numbers (filename) so I it won't affect my paths in Maya or Softimage.
- When filename_005 has been reached it rewrites filename_001 and loops.

You can increase or deacrease the maxfiles settings by opening the vbs with a notepad.


thanks
the first link doesn't work
juda
 
Posts: 22
Joined: Sun Nov 23, 2008 7:55 am

Re: AutoBackup & Incremental Save

Postby juda » Thu Dec 29, 2011 4:33 pm

tedanoell wrote:Nce try! Thanx for sharing

could you upload the first script?
thanks
juda
 
Posts: 22
Joined: Sun Nov 23, 2008 7:55 am


Return to Photoshop Scripts

Who is online

Users browsing this forum: No registered users and 2 guests

cron