Copy link to clipboard
Copied
Hi -
I need help to figure out how to run an action that will allow me to re-open the file that is automatically closed after running automate --> batch.
For example, when I import multiple files from Lightroom and want to run the action to add file layers as a group for open files. I've tried to record the action to open a file, and then have override checked in the batch process, but instead of opening the closed file - it opens the file that is written into the action.
Here are the steps in my action file:
Thank you for all help in advance!
Copy link to clipboard
Copied
You batch Action has saved the document over the file it saved to begin with. After doing some more processing. Why not continue the after that second save. Add what you want to and save over the file again a third time. Or use save as to save a different file type. For as soon as batch closes a document it opens the next file in the batch. You do not get control during the batch processing you get control only after all the batch processing is complete and all the document have been saved and close.
You could also leave all the documents opened during the batch open in Photoshop if you have the machine resources that would be required. Since your Action is doing the saves. You do not need Batch to save and close the documents opened in the Batch processing.
Copy link to clipboard
Copied
I tried to follow your suggestion to use the NONE for the destination.
However, this does not work, as the batch log says there is error:
File: "DSC_7795.NEF"
Error: Could not save as "" because the file could not be found. (-43)
I always have DESTINATION: FOLDER selected on the batch page... which closes the open document as per my original post. Is this option not supposed to close the file?
Also - maybe I didn't make this clear, but I want to change .NEF file to .TIFF, and then re-open the same TIFF file with the layers written during the batch process.
Copy link to clipboard
Copied
It will always open file which is writen in action. If I can understand your problem correctly then you can use action but file which is writen in action should be replaced with file from batch. Action will look for file with secific name and will open that file - which is one that is saved over.
Example: you record action to open file66.jpg from specific folder. Action will always go in that folder, look for file66.jpg file and open it if it is present. Replace file66.jpg with new file which will keep the name /file66.jpg/ and everything should work nice.
Copy link to clipboard
Copied
It will always open file which is writen in action. If I can understand your problem correctly then you can use action but file which is writen in action should be replaced with file from batch.<-- Yes this is correct, I want to write the action sequence so that it will open the file that was previously closed in the batch. But how do I write the action so it does not open /file66.jpeg, each time, but instead the file which was processed?
So for example, I run the batch - action rus, then closes & reopens file /file66.jpeg, then the batch moves to the next file and action rus, then closes & reopens file /file67.jpeg
I do not want to replace file 66 each time, I want to move from one file to next...
Also - maybe I didn't make this clear, but I want to change .NEF file to .TIFF, and then re-open the same TIFF file with the layers written during the batch process, and then move to the next file and change NEF to TIFF file and re-open
Copy link to clipboard
Copied
The problem is that the batch processor operates on the basis of a previously compiled list of files from the directory you specified. There are 2 consequences from this fact: 1. if the file is processed, it is excluded from the list of unprocessed files and its reopening (along the same path) by the batch becomes impossible 2. if new files were added to the directory during processing, then the batch processor cannot add them to the processing list until you start it again
also said in help (https://helpx.adobe.com/photoshop/using/processing-batch-files.html)
Override Action “Open” Commands
Ensures that the files you selected in the Batch command are processed, without opening the file you may have specified in the action's Open command. If the action contains an Open command that opens a saved file and you don't select this option, the Batch command opens and processes only the file you used to record the Open command (This occurs because the Batch command opens the file specified by the action after each of the files in the Batch source folder is opened. Because the most recently opened file is the one named in the action, the Batch command performs the action on that file, and none of the files in the Batch source folder are processed.)
To use this option, the action must contain an Open command. Otherwise, the Batch command won't open the files you've selected for batch-processing. Selecting this option doesn't disregard everything in an Open command—only the choice of files to open.
Deselect this option if the action was recorded to operate on an open file, or if the action contains Open commands for specific files that are required by the action.
could it be easier to make 2 separate launch of batch for different stages of processing?
Copy link to clipboard
Copied
The problem is that the batch processor operates on the basis of a previously compiled list of files from the directory you specified. There are 2 consequences from this fact: 1. if the file is processed, it is excluded from the list of unprocessed files and its reopening (along the same path) by the batch becomes impossible 2. if new files were added to the directory during processing, then the batch processor cannot add them to the processing list until you start it again
<-- Okay, thanks for clearing that up! I now see this issue, and I need to run the action by going to FILE-->SCRIPT-->IMAGE PROCESSOR instaed of file-automate-batch.
The solution partially works.
The TIFF files are saving, and the correct file is now opening but there are just a few issues:
Adding an extra step to close previous document works, but then the new TIFF is not being automatically recognized in Lightroom... Is it because tiff is being saved in the TIFF folder that is created when PS runs the image processor?
Can you advise if maybe there is something I need to click on/off in the IMAGE PROCESSOR perameters so that LR will recognize the TIFF file? Below is what I have selected:
Find more inspiration, events, and resources on the new Adobe Community
Explore Now