Skip to main content
Flowgun
Inspiring
Aug 21, 2026 10:40 PM UTC
Answered

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

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.
 

 

justlearn
justlearnCorrect answer
Community Expert
Aug 22, 2026 8:08 AM UTC

​@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

2 replies

c.pfaffenbichler
Community Expert
Community Expert
Aug 22, 2026 10:48 AM UTC

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. 

 

Translate
justlearn
Community Expert
justlearnCommunity ExpertCorrect answer
Community Expert
Aug 22, 2026 8:08 AM UTC

​@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.

Translate
m