Photoshop batch action to level image not working

New Here ,
Mar 17, 2022 Mar 17, 2022

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?

Charles23501730y8qs_0-1647554981088.png

 

TOPICS
Actions and scripting

Views

98

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Community Professional , Mar 18, 2022 Mar 18, 2022
@Charles23501730y8qs  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...

Likes

Translate

Translate
Adobe Community Professional ,
Mar 18, 2022 Mar 18, 2022

Copy link to clipboard

Copied

@Charles23501730y8qs 

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

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 18, 2022 Mar 18, 2022

Copy link to clipboard

Copied

Thanks Stephen that script worked when added as a step.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Mar 18, 2022 Mar 18, 2022

Copy link to clipboard

Copied

LATEST

Your welcome!

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Mar 18, 2022 Mar 18, 2022

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.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines