• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

288

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

Community Expert , 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
...

Votes

Translate

Translate
Adobe
Community Expert ,
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

Votes

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.

Votes

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
Community Expert ,
Mar 18, 2022 Mar 18, 2022

Copy link to clipboard

Copied

Your welcome!

Votes

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
Community Expert ,
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.

Votes

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 ,
Jun 23, 2023 Jun 23, 2023

Copy link to clipboard

Copied

LATEST

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:

Votes

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