Skip to main content
Flowgun
Inspiring
August 21, 2026

setting values on Levels adjustment layer via action/scripting doesn't work on grayscale documents

  • August 21, 2026
  • 2 replies
  • 38 views

Hello,
The title said it all.
Steps to reproduce:
1. make a document with Grayscale color mode (or convert it via Image>Mode>Grayscale)
2. Add a Levels adjustment layer.​​​​​​​
3. record an action of you changing the sliders on the Levels adjustment layer.
4. change those values first, then try playing the action.
5. Result: it does nothing! (but such an action works on an RGB Document for example).

Besides that, RGB documents, for instance, allow the creation of a Levels adjustment layer with given values in a single executeaction step. that doesn’t work on Grayscale documents.
 

 

2 replies

c.pfaffenbichler
Community Expert
Community Expert
August 22, 2026

The title 

setting values on Levels adjustment layer via action/scripting doesn't work on grayscale documents

seems to be partially incorrect. (edited)

In ESTK Scripting creating and editing a Levels Layer on a Grayscale image seems to work fine. 

 

creative explorer
Community Expert
Community Expert
August 22, 2026

@Flowgun It would be great to have full adjustment‑layer support in Grayscale or CMYK, but Photoshop simply doesn’t offer the same controls in those modes. RGB is the only mode where all the adjustment sliders, filters, and scripting exist.

m