2 Replies Latest reply on Aug 14, 2015 5:43 AM by mathphew

    Anyone know how to move a layer set (group) into another layer set using applescript?

    mathphew

      The following code returns a parameter error:

      error "Adobe Photoshop CC 2014 got an error: Parameter error." number -50

       

      tell application "Adobe Photoshop CC 2014"

           activate

           tell current document

                set parentLayerSet to make new layer set

                set name of parentLayerSet to "parent"

                set childLayerSet to make new layer set

                set name of childLayerSet to "child"

                move childLayerSet to end of parentLayerSet

            end tell

      end tell


      anyone know a solution?

      Cheers!