Skip to main content
heresha93876846
Inspiring
November 7, 2016
Question

Javascript Console Log returning undefined

  • November 7, 2016
  • 1 reply
  • 1873 views

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

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
November 7, 2016

"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.