5 Replies Latest reply on Jun 5, 2018 12:12 PM by Kevin Parrott

    Scripts break in InDesign 2018 CC.

    acceptmydangscreenname Level 1

      I have a small automation project I want to do—note that I haven't done any scripting in InDesign since CS6—and opened up Script Editor.

       

      First problem: File ► Open Dictionary... and using that to open InDesign spit back a blank window with the message "Nothing to see here, move along."

       

      Oooookay. So I posted the following script:

       

      tell application "Adobe InDesign CC 2018"

          tell document 1

              set aNewPage to make page at end

          end tell

      end tell

       

      and I got the following error:

       

      error "The variable page is not defined." number -2753 from "page"

       

      More concerning was that in opening up the Scripts window in InDesign, I discovered that the AddGuides script doesn't work, either; the JavaScript version does, but the AppleScript one throws an error.

       

      So, how do I get the current scripting dictionary for InDesign CC 2018? Did something change with the scripting lately?