I currently use VBA from Access to do many things. I use it it to download PDFs from a website automatically everyday. After I do this i convert the PDFs to text using:
Dim jsObj As Object
Set jsObj = AcroXPDDoc.GetJSObject
jsObj.SaveAs savefile, "com.adobe.acrobat.plain-text"
This work well %95 of the time. These PDFs are of Docket Reports of cases in court and as new filings are added they grow. My issue is that when a new filing is added and if that new filing is at the top of the last page (and not too lengthy in text) it will NOT convert the text of the last page.
If say later another filing is added it will then convert the last page just fine (ie when the text is enough for it to register i guess). I find this extremely troublesome to do what I need. I am at the moment limited to Acrobat 9 Pro and cannot change the PDF I download. Does anyone know of this bug and if so is there any way to fix it or am I stuck until my empolyer upgrades?
I'm actually using version 9.4.6 but its not listed :/
PS. Just a note the fact that I use VBA to call the convert doesn't seem to be important as just simply manually saving the PDF as text reproduces the same issue of it not catching text at the top of the last page.
https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
I'll also see if we can update our Acrobat selections to include 9.4.6 (thanks for the heads-up).
Kelly McCathran
Adobe Community Expert
Certified Technical Trainer+