8 Replies Latest reply on Mar 15, 2017 3:46 PM by Laubender

    InDesign 2017 script opens InDesign 2015

    onesmilingmom

      I'm using InDesign CC 2017 on a Mac, running Sierra. When I have 2017 open and select PlaceMultipagePDF from the default AppleScript menu, it opens 2015. I'd assumed the scripts would update automatically, but I could be mistaken. Do I need to edit the "2015"s out of the script and replace them all with "2017"?

        • 2. Re: InDesign 2017 script opens InDesign 2015
          Steve Werner Adobe Community Professional & MVP

          You need to contact the developer of PlaceMultipagePDF, whoever that may be, to find out.

          • 3. Re: InDesign 2017 script opens InDesign 2015
            sorrentinol

            Steve - The script is part of the standard load from Adobe, not an add on purchase. How would we determine who the developer is in order to contact? thanks for the clarification

            • 4. Re: InDesign 2017 script opens InDesign 2015
              Laubender Adobe Community Professional & MVP

              onesmilingmom  wrote

               

              I'm using InDesign CC 2017 on a Mac, running Sierra. When I have 2017 open and select PlaceMultipagePDF from the default AppleScript menu, it opens 2015. I'd assumed the scripts would update automatically, but I could be mistaken. Do I need to edit the "2015"s out of the script and replace them all with "2017"?

              Hi,

              use the ExtendScript version of the script: PlaceMultipagePDF.jsx
              See the JavaScript folder in the Samples folder of the Scripts Panel.

               

              Always start the sample scripts from InDesign's Scripts Panel.

               

              Regards,
              Uwe

              1 person found this helpful
              • 5. Re: InDesign 2017 script opens InDesign 2015
                rob day Adobe Community Professional & MVP

                When I have 2017 open and select PlaceMultipagePDF from the default AppleScript menu, it opens 2015.

                Don't open the script into Script Editor. As Uwe suggests, run the script from your InDesign Scripts panel by double-clicking it. On OSX you can run either the AppleScript or JavaScript version and get the same result:

                 

                Screen Shot 2017-03-15 at 4.22.31 PM.png

                • 6. Re: InDesign 2017 script opens InDesign 2015
                  onesmilingmom Level 1

                  Yes, that is where I am running the Applescript version from. I double click it there and InDesign 2015 opens. After 2015 opens, the dialog to place the pdf is still open in 2017. Until I updated to 2017, that script worked just fine.

                   

                  Other than OKing a few empty dialog boxes, Uwe's suggestion to use the Javascript version seems to be a viable workaround. (I'm not sure what is meant by ExtendScript though).

                  • 7. Re: InDesign 2017 script opens InDesign 2015
                    rob day Adobe Community Professional & MVP

                    Until I updated to 2017, that script worked just fine.

                    Normally you shouldn't have to do this, but open the script into Apple's Script Editor, edit the 4 instances of this line:

                     

                    tell application "Adobe InDesign CC 2015"

                     

                    and change to:

                     

                    tell application "Adobe InDesign CC 2017"

                     

                    Click Compile, save the script and it should run correctly from either Script Editor or the InDesign Scripts panel.

                     

                     

                    I'm not sure what is meant by ExtendScript though

                    ExtendScript Toolkit is an application for editing JavaScripts

                    • 8. Re: InDesign 2017 script opens InDesign 2015
                      Laubender Adobe Community Professional & MVP

                      Hi,


                      ExtendScript is the JavaScript script language flavor Adobe is providing for InDesign, Illustrator, PhotoShop etc.pp.
                      InDesign's sample script files with a *.jsx suffix. ExtendScript scripts are working with InDesign on Mac OSX and Windows alike. All sample scripts for InDesign come in three different scripting languages:

                       

                      InDesign on Mac OSX: ExtendScript (JavaScript) and AppleScript.

                      InDesign on Windows: ExtendScript (JavaScript) and VB Script.

                       

                      Obviously Adobe did not update the AppleScripts for CC 2017.
                      Or the scripts were migrated as duplicates from an installed CC 2015 to CC 2017 during the installation process.

                       

                      The sample AppleScripts contain concrete target instructions for a distinct InDesign version—the ExtendScript scripts do not. So starting an AppleScript from the samples will execute CC 2015 instead of CC 2017.

                       

                      FWIW: With InDesign comes also the ExtendScript Toolkit app (ESTK) where you can develop, run and debug ExtendScript scripts with. So in principle *.jsx files can also be executed from the ESTK. With the right lines of code targeting InDesign even with a double-click on the file from the file system. But this is not recommended.

                       

                      Regards,
                      Uwe

                      1 person found this helpful