2 Replies Latest reply on Jun 18, 2014 10:54 PM by Luc Lorent

    insert pages command makes Acrobat 11 quit

    Luc Lorent Level 1

      I have an applescript that runs perfectly with Acrobat pro 10.

      But now I want to run it on a computer where Acrobat pro 11 is installed and it makes Acrobat quit on the "insert pages" command.

      I installed Acrobat 11 on my mac as well and it has the same behaviour: it quits on the insert pages.

      If i use the Acrobat 10, it is still executing correctly...

       

      Has anyone experienced the same problem or a solution?

       

      Part of the script below:

        tell application "Adobe Acrobat Pro"

        set deneerste to open file outputFormaat

        set dentweede to open file outputPDF

        set afmetingen to media box of page 1 of document 2

        set hoogte to (item 2 of afmetingen)

        set breedte to (item 3 of afmetingen)

        if hoogte < breedte then

        set rotation of page 1 of document 2 to 90

        end if

       

        repeat oplage times

      --This is where Acrobat 11 quits...

        insert pages document 1 after -1 from document 2 starting with 1 number of pages 1

        end repeat

        close document 2 saving no

        close document 1 saving yes

        end tell