0 Replies Latest reply on Oct 7, 2014 1:37 PM by Amonsen85

    AppleScript copy alpha channel from one document to a second document


      I have two documents. One with Alpha Channels, the other with none. I am trying to copy the alpha channels from one document into the second.


      When I use the following in PS 6, the action duplicates the channels in the same document, not in the second document. I am using PS 6 with both documents open in tabs. Any help appreciated.


      tell application "Adobe Photoshop CS6"

        set x to document 1

        set y to document 2

        set cc to number of channel of current document


        repeat with i from 5 to cc

        duplicate channel i of x to y

        end repeat


      end tell