1 Reply Latest reply on Apr 16, 2016 11:59 PM by greenrookie

    Open a png file with photoshop CC 2014 and perform an action on it using applescript



      I am trying to create an applescript to open a file in photoshop and then perform an action on it.

      I tried using PS droplets but applescript couldn't seem to find them.


      Here's my latest attempt


      tell application "Adobe Photoshop CC 2014"

        set myFilePath to "Macintosh HD:Users:ThisUser:Desktop:123.png"

        open alias myFilePath

        do action "Wood Frame - 50 pixels" from "Default Actions"




      end tell


      But I get this error highlighted on "action"


      Expected end of line, etc. but found identifier.


      I'm brand new to applescripts so please assume you are communicating with a simpleton who needs everything spelled out slowly.