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

TE
Posted By
TH_e_Murph
Apr 11, 2007
Views
1088
Replies
7
Status
Closed
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

How to Master Sharpening in Photoshop

Give your photos a professional finish with sharpening in Photoshop. Learn to enhance details, create contrast, and prepare your images for print, web, and social media.

EH
Ed_Hannigan
Apr 11, 2007
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.
EH
Ed_Hannigan
Apr 11, 2007
Also, are you running a batch with a document already open? Try it with no other images open.
TE
TH e Murph
Apr 11, 2007
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
EH
Ed_Hannigan
Apr 11, 2007
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.
EH
Ed_Hannigan
Apr 11, 2007
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.
TE
TH e Murph
Apr 11, 2007
Without the Open step, when the Action opens the CR2, the CR2 dialog box and waits for the user to input settings
DR
Danny_Raphael
Apr 11, 2007
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?

Must-have mockup pack for every graphic designer 🔥🔥🔥

Easy-to-use drag-n-drop Photoshop scene creator with more than 2800 items.

Related Discussion Topics

Nice and short text about related topics in discussion sections