Can't export fields from certain pdfs with Javascript -


i have directory of 30 or pdf files, , 10 of them won't export fields text file me.

i'm using javascript editor in adobe acrobat pro 9 in batch processing portion of program.

the program simiple looks this:

var fname = this.documentfilename; this.exportastext(true, null, fname + ".txt"); 

when run 10 files selected should getting text file has same name document processed, instead error log reads warning: no documents processed

it doesn't give me other reasons why not end output file.

i ran pdfinfo on file generated results , file did not, pretty same , neither encrypted:

one didn't work:

creator:        adobe indesign cs4 (6.0.6) producer:       adobe pdf library 9.0 creationdate:   tue dec  7 15:58:15 2010 moddate:        mon jun  3 12:11:12 2013 tagged:         no pages:          5 encrypted:      no page size:      612 x 792 pts (letter) file size:      405476 bytes optimized:      no pdf version:    1.6 

one worked:

creator:        adobe indesign cs4 (6.0.6) producer:       adobe pdf library 9.0 creationdate:   tue dec  7 15:58:15 2010 moddate:        wed jun 12 08:44:05 2013 tagged:         no pages:          5 encrypted:      no page size:      612 x 792 pts (letter) file size:      300702 bytes optimized:      no pdf version:    1.6 

the difference between them seems field values.


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -