I have read other posts before posting here, and I find what seems to me the same syntax. But my script which ran up through Yosemite appears to have crashed in Sierra. I am down to the very simple snippet below:
¢ “myBinder.pdf” is saved and open in Acrobat
¢ The error on either open or close is that “variable binderDoc is not defined”.
What is wrong here? Thanks for help!
tell application "Adobe Acrobat Pro"
set nextDoc to document "page 2.pdf"
set binderDoc to document "myBinder.pdf"
--insert pages binderDoc after (k - 1) from nextDoc starting with 1 number of pages 1
-- open binderDoc
close binderDoc
end tell