1 Reply Latest reply on Apr 3, 2015 10:05 AM by AS Scripter

    [AS] How can i get the path to selected image(s) with Applescript?

    David André Erichsen

      I've tried this, but it does not work.


      tell application "Adobe InDesign CC 2014"

        set myDocument to active document

        set selectedRectangles to selection of myDocument

        set theGraphicsLink to file path of item 1 of selectedRectangles

      end tell



      I hope someone can help me.