Skip to main content

⚠️ Please note that this topic or post has been archived. The information contained here may no longer be accurate or up-to-date. ⚠️

Help :) Style to new Adjustments Layer??



  • Emory Dunn

    One of the required arguments for the apply style command is a layer, though AppleScript can be a little obtuse in how you can select objects. If the layer already exists you can get a reference to it like so

    set theLayer to layer named "Adjustment Layer 1" of primary variant

    And then use that as the layer in the command

    apply style theLayer named "Your Style"
  • Kim Hardy

    Hey Emory,

    Thank you for your input. I'm still a bit lost however.

    would you mind copying an entire code that should work. I'm very new to all this and believe I'm missing a few key steps. 

    not sure how it all is supposed to read together. I've tried for several hours to implement it correctly to be honest.

    I'm guessing I need to create a new layer first? then select it the apply the adjustment to it but everything I try isn't working. I've obviously replaced "you style" with my style name etc. 

    I would copy the code that I've been working on here but its all a bit of a mess to be honest. I've been borrowing code from other posts and trying to compile something that finally works. 

    Appreciate you input greatly. 

    Best regards 






Please sign in to leave a comment.