Skip to main content
Participant
September 16, 2026
Answered

Record the action

  • September 16, 2026
  • 4 replies
  • 39 views

Why is it that when I record an action,
I hold Shift and click C, B, A, and Layer 1 to merge the layers into D,
but when I run the action, it always gets stuck with an error at Layer 1?

When I record it again, it puts my layer order into a group. What operations should I avoid?
 

 

    Correct answer Stephen Marsh

    Actions record explicitly when using the cursor with absolute values, such as layer names:

     

     

    Where as keyboard shortcuts for layer navigation when recording actions are relative and often safer on different files that don’t match layer names. You would need to add the Shift key modifier to the following keycuts for "continuous".

     

    Select/target front (top) layer = Option/Alt + .

    Select/target next layer up = Option/Alt + ]
    Select/target next layer down = Option/Alt + [
    Select/target back (bottom) layer = Option/Alt + ,

     

    Move current target layer to front (top) layer = Command/Control + Shift + ]
    Move current target layer up = Command/Control + ]
    Move current target layer down = Command/Control + [
    Move current target layer to back (bottom) layer = Command/Control + Shift + [

     

    Actions can only do so much, sometimes one needs a “helper script”.

    4 replies

    Participant
    September 16, 2026

    I’ll give it a try. Thanks in advance, you two! <3

     

    I’m so happy! The points are being merged one by one and the records are showing up.

    Thank you. Real human experience is still more useful.

    I was stuck for a whole week, and finally solved it.

    c.pfaffenbichler
    Community Expert
    Community Expert
    September 16, 2026

    Sorry, I must have overlooked the second screenshot … 

     

    In the Action you seem to select layers with names like »A_1« and »A2« – those appear to be missing in the layered file, so the Action failing would seem expected. 

    Stephen Marsh
    Community Expert
    Stephen MarshCommunity ExpertCorrect answer
    Community Expert
    September 16, 2026

    Actions record explicitly when using the cursor with absolute values, such as layer names:

     

     

    Where as keyboard shortcuts for layer navigation when recording actions are relative and often safer on different files that don’t match layer names. You would need to add the Shift key modifier to the following keycuts for "continuous".

     

    Select/target front (top) layer = Option/Alt + .

    Select/target next layer up = Option/Alt + ]
    Select/target next layer down = Option/Alt + [
    Select/target back (bottom) layer = Option/Alt + ,

     

    Move current target layer to front (top) layer = Command/Control + Shift + ]
    Move current target layer up = Command/Control + ]
    Move current target layer down = Command/Control + [
    Move current target layer to back (bottom) layer = Command/Control + Shift + [

     

    Actions can only do so much, sometimes one needs a “helper script”.

    c.pfaffenbichler
    Community Expert
    Community Expert
    September 16, 2026

    Please post a screenshot of the fully expanded Action in the Actions Panel and the fully expanded Groups in the Layers Panel.