1 Reply Latest reply on Nov 7, 2016 1:38 AM by try67

    Javascript Console Log returning undefined

    heresha93876846 Level 1

      I run this code from the js console to get to see the different save options I have but it returns undefined.

       

      app.fromPDFConverters.join("\n")

      undefined

        • 1. Re: Javascript Console Log returning undefined
          try67 MVP & Adobe Community Professional

          "undefined" just means the code completed execution without returning any values or throwing any errors.

          Usually it's a good thing, but in your case it means there are no PDF converters installed, which is strange.

          The result should have been something like this:

          com.adobe.acrobat.eps

          com.adobe.acrobat.xlsx

          com.adobe.acrobat.html

          com.adobe.acrobat.html-3-20

          com.adobe.acrobat.html-4-01-css-1-00

          com.adobe.acrobat.jpeg

          com.adobe.acrobat.jp2k

          com.callas.preflight.pdfa

          com.callas.preflight.pdfe

          com.callas.preflight.pdfx

          com.adobe.acrobat.png

          com.adobe.acrobat.ps

          com.adobe.acrobat.pptx

          com.adobe.acrobat.rtf

          com.adobe.acrobat.accesstext

          com.adobe.acrobat.plain-text

          com.adobe.acrobat.tiff

          com.adobe.acrobat.doc

          com.adobe.acrobat.docx

          com.adobe.acrobat.xml-1-00

          com.adobe.acrobat.spreadsheet

           

          Are you running this code in Acrobat or in Reader? If the former I suggest you perform a Repair Installation.