Copy link to clipboard
Copied
Im using photoshop 2022 (automate>batch) with an action that levels the image using Filter>Camera Raw Filter>Geometry>Vertical. It seems to work fine when recording the action, and I have also selected the option "Allow tool Recording". However, when I run the action as part of a batch it does not apply the level filter. The other actions in the set seem to work fine. What am I doing wrong here?
I can't properly view the screenshot... Anyway, try this script to replace the recorded filter step. The script can be recorded as a step into the action:
/*
https://community.adobe.com/t5/photoshop/jsx-gt-camera-raw-filter-gt-transform-possible/m-p/11197302?page=1#M338216
JSX > Camera Raw Filter > Transform. Possible?
Camera Raw Filter - Transform Values:
1 = Auto, 2 = Full, 3 = Level, 4 = Vertical
*/
transformCRF(transValue = 4);
function transformCRF() {
var actD
...
Copy link to clipboard
Copied
I can't properly view the screenshot... Anyway, try this script to replace the recorded filter step. The script can be recorded as a step into the action:
/*
https://community.adobe.com/t5/photoshop/jsx-gt-camera-raw-filter-gt-transform-possible/m-p/11197302?page=1#M338216
JSX > Camera Raw Filter > Transform. Possible?
Camera Raw Filter - Transform Values:
1 = Auto, 2 = Full, 3 = Level, 4 = Vertical
*/
transformCRF(transValue = 4);
function transformCRF() {
var actDesc = new ActionDescriptor();
var transCode = charIDToTypeID("PerU");
actDesc.putInteger(transCode, transValue);
executeAction(stringIDToTypeID("Adobe Camera Raw Filter"), actDesc, DialogModes.NO);
}
https://prepression.blogspot.com/2017/11/downloading-and-installing-adobe-scripts.html
Copy link to clipboard
Copied
Thanks Stephen that script worked when added as a step.
Copy link to clipboard
Copied
Your welcome!
Copy link to clipboard
Copied
What is happening when you run action on individual file? From my testing step recorded in action simply does not work. I am testing using 22.5.6 Release.
Copy link to clipboard
Copied
Thank you so much for this however I have another follow up question that is really important to me I am remote based thus use a combination of tools to be efficient and agile I rely heavily on my mobile phones to work so can I get some clarity on whether the answer will be relevant for the phone
Regards :hourglass_done::globe_showing_americas: