6 Replies Latest reply on Nov 18, 2014 7:10 AM by jackbrannen_pl

    InDesign AppleScript Returns "Data Is Out of Range" Error

    jackbrannen_pl Level 1

      I have a simple InDesign AppleScript to export the current file as a PDF to my Desktop. It had been working fine. Now I get this error every time:

       

      Data is out of range.

       

      The AppleScript is:

       

      tell application "Adobe InDesign CC 2014"

        tell front document

        set fullFileName to get name

        set AppleScript's text item delimiters to {"."}

        set fixedFileName to first text item of fullFileName

        set totalOutput to "/Users/jack/Desktop/" & fixedFileName & ".pdf"

        export format interactive PDF to totalOutput without showing options

        end tell

      end tell


      Any ideas?