AppleScript not adding new pages in InDesign CC 2018
I have an AppleScript I use to add pages and series of linked text boxes on each page. I usually update it for different measurements with different projects. The scripts I wrote last year when i was using CC 2017 still work, but if I edit the script, it will not execute the new pages command. Instead I get the error message:
Error Number: -2710
Error String: Adobe InDesign CC 2018 got an error: Can't make class new page.
To test this, I made a sample script, which gets the same error, even though all this code worked fine last year:
tell application "Adobe InDesign CC 2018"
tell document 1
set myNewPage to make new page
end tell
end tell
