4 Replies Latest reply on Aug 14, 2012 8:16 AM by gornisht1

    Installing a script

    gornisht1

      I found a script which will convert buttons in a PDF form to text boxes. This gives me a way of laying out my form fields in InDesign rather than in Acrobat. Now I need to figure out how to install the .js file or find the appropriate folder to place it in. The instructions that came along with the script were written for Acrobat 10.0. I am running 10.1.3 on a Mac. I know this must be a simple question but I know absolutely nothing about scripts. Can someone tell me exactly where to place the file or how to install the .js? Thanks!

        • 1. Re: Installing a script
          George_Johnson MVP & Adobe Community Professional

          FWIW, the most recent version of InDesign (CS6) allows you to specify various types of form fields, so you're not limited to just buttons.

           

          Are you saying the instructions didn't work, or were they not Mac-specific? The location for the user script folder changed with the 10.1.1 update, but only on Windows:http://acrobatninja.blogspot.com/2011/09/acrobat-1011-javascript-changes.html

           

          For more info, see: http://www.pdfscripting.com/public/111.cfm

           

          Be sure to restart Acrobat after installing the script.

          • 2. Re: Installing a script
            gornisht1 Level 1

            George- thank you so much for your reply!

            I'm using CS5.5, so unfortunately at the moment I don't have that option.

             

            I went to the pdfscripting.com site you referenced and ran the two lines of code in the Acrobat JavaScript Console as it indicates for finding the JavaScript folder on my computer. These are the following 2 paths that resulted:

             

            /Macintosh HD/Users/dkampner/Library/Application Support/Adobe/Acrobat/10.0/JavaScripts/

             

            /Macintosh HD/Applications/Adobe Acrobat X Pro/Adobe Acrobat Pro.app/Contents/Resources/JavaScripts/

             

            When I try to navigate to the JavaScripts folder, however, these paths do not exist. Am I supposed to manually add the folders that I don't have in order to create these path? Or is it possible that some of these folders are hidden (not sure if Mac has hidden folders like the PC).

             

            The following 2 screenshots might illustrate better what I'm trying to explain:

             

            http://i.imgur.com/5N9HP.png

            http://i.imgur.com/VXm5K.png

             

            You'll see that when I try the user path, there is no Library folder under my username. When I try the app path, there is no "Adobe Acrobat Pro.app" folder under "Adobe Acrobat X Pro."

            • 3. Re: Installing a script
              George_Johnson MVP & Adobe Community Professional

              I believe the Library folder is hidden by default. Do a Google search to get more info about unhiding folders on OSX.

              • 4. Re: Installing a script
                gornisht1 Level 1

                That did the trick!!

                 

                In Terminal, I typed "chflags nohidden -/Library/" and was able to navigate to the folder to add the JavaScript file.

                 

                Thank you so much!!!!! It's going to make my day so much easier!!!