Batch error: The object "first document" is not currently available

1088 views7 repliesLast post: 4/11/2007
I am using an Action I created to convert alot of files in a batch process. Occasionally I get an error 'The object "first document" is not currently available'.

The first step of the Action opens a CR2 file and applies some preset adjustments. The next step 'Rotate first document' is where it seems to be generating this error. It seems that Photoshop is jumping to the next step before the CR2 is fully open.

Has anyone else encountered this error?

I'm using CS2 with WinXP Pro on a HP 4400 with a Core2 Duo and 2 GB of RAM
#1
In general you are better off NOT having an Open step in an action. When you batch the documents are automatically opened. I'll bet that is the source of the problem.

Try turning off or trashing that step, or override it in the Batch dialog.
#2
Also, are you running a batch with a document already open? Try it with no other images open.
#3
I think I need the Open step, because I have to apply the same settings to all the CR2s (White Balance, Exposure, Sharpening, etc.). These images are taken in sequence about 3 to 5 seconds apart.

the batch closes the document before opening another, so ther shouln't be any documents open
#4
It should open the files anyway, even if the Open step is not there. But if there IS an Open step it will try to open the document that you used to create the action.
#5
Perhaps I'm misunderstanding. Do CR2 files have a special procedure/plugin needed for opening? If they do maybe File>Automate is not the way to go.
#6
Without the Open step, when the Action opens the CR2, the CR2 dialog box and waits for the user to input settings
#7
Something to try...
* Remove (or disable) the Open command in the action

* Apply this setting in the Batch dialog...

Under Source~
(x) Suppress File Open Options Dialogs

----------

Does this help?
#8