PDA

View Full Version : Autobackup in Photoshop


TheDevil[DK]
09-20-2002, 12:45 AM
Hey I where thinking about if there where somekind of autobackup function/plugin/macro for Adobe Photoshop ????

GRMac13
09-20-2002, 04:46 AM
That would indeed be lovely. Wish they had the same thinf for After Effects as well. Anyone know if there are any utilities like this around?

Per-Anders
09-20-2002, 05:06 AM
it's called designers twitch ([CTRL][S] or [APPLE][S] after every single mouse movement) ;)

if you're using an apple you could write an applescript... but as far as i'm aware doesn't photoshop store it's cache's somewhere on the hard drive, potentially you can retrieve the data from there if it crashes, but i'm not entierly clear how. you can use the Photoshop Scripting plugin (you can download that from versiontracker or adobe)... might help you write a quick script in javascript or applescript or whatever...

TheDevil[DK]
09-20-2002, 05:28 AM
Then lets try it out... thanks for helping THX
http://www.versiontracker.com/moreinfo.fcgi?id=22455&db=win:buttrock:

TheDevil[DK]
09-20-2002, 06:25 AM
2.9 The Scripts menu
The Scripts menu item is located in the File > Automate menu. When the Scripts...
item is selected, a dialog is presented from which you can select a JavaScript for execution.
The scripts listed in the dialog are in the Scripts folder

2.9.1 Scripts folder
The Scripts folder is in the Photoshop/Presets folder. This folder is created during Scripting
Support functionality installation. All JavaScript files placed in the Scripts folder will be
available for execution from the Scripts Dialog. Only those script files found in the root of the
folder will be listed. Any files in subfolders will be ignored and not listed in the dialog. For
both Mac and Windows, a JavaScript file must be saved as a text file with a '.js' file name
extension.
-----------------------

I'm a javascript dude... but I can't find any time related stuff in there :/

TheDevil[DK]
09-20-2002, 06:50 AM
3.17 Action Manager scripting
The Action Manager allows you to write scripts that target functionality that is not otherwise
accessible. You are able to script third party plug-ins, filters, and other tasks that are not
otherwise included in the scripting interface. The only requirement is that the task that you
want to access from the Action Manager is recordable.
The classes gActionDescriptorh, gActionReferenceh and gActionListh are all part of the
Action Manager functionality.
When you write scripts that use the Action Manager, you should install the
gScriptingListenerh plug-in. It is located inside the gutilitiesh folder that is part of the scripting
support download.
To install the plug-in place it in the Photoshop 7.0\Plug-Ins\Scripting\ folder.
gScriptingListenerh records most of your actions to a file on your hard drive. To avoid slowing
down Photoshop as well as not to create a big file on your drive, only install the plug-in when
you are creating Action Manager scripts.
When gScriptingListenerh is installed it will record a file with scripting code corresponding to
the actions that you perform from the UI.
The Windows version of gScriptingListenerh creates the following 2 files:
œ C:\ScriptingListenerJS.log: contains JavaScript code corresponding to the actions that
are performed from the UI.
œ C:\ScriptingListenerVB.log: contains VBScript code corresponding to the actions that are
performed from the UI.
The Macintosh version gScriptingListenerh creates the following file:
œ ScriptingListenerJS.log: the file is created on the desktop, and contains JavaScript code
corresponding to the actions that are performed from the UI.
Note: There is no AppleScript interface to the Action Manager, but you can execute
JavaScripts from AppleScript, so you are able to access Action Manager functionality from
AppleScripts. See section, gRunning JavaScript based Action Manager code from
AppleScripth on page 86 for more information on how to call JavaScript code from
AppleScript.

TheDevil[DK]
09-20-2002, 07:06 AM
hehe.... that text looks pretty ****ed up !!!



...well, here is the code for saving the document:

var id30 = charIDToTypeID( "save" );
executeAction( id30, undefined, DialogModes.NO );

----

or:

www.3d-designer.dk/temp/mbaSave.js

Just put in:
photshop/presets/script/

can be found File/Automate/script > mbaScript

now I need somekind of timer :/
(the only one I've found is a Date... hehe... yubeee autosave every day :surprised )

well I'll go to sleep now, thats for shure... 8 at the morning...

-----


WARNING: The script is not finished yet.... what is does it to Save one time.... timer/clock is still needen

CGTalk Moderation
01-13-2006, 05:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.