4 Replies Latest reply on Apr 22, 2011 2:27 PM by MKPETZ

    applescript to delete certain images


      I have this so far...


      tell application "Adobe InDesign CS5"
           set mySelection to (every alias of active document whose (name ends with "aa.tif"))
           delete mySelection
      end tell


      and i get this error: error "The variable mySelection is not defined." number -2753 from "mySelection"


      help? not sure if "alias" is the right term to use.