Page 1 of 1

Reading PDF fields content

Posted: 27 Jun 2022, 15:24
by juanfelipediez
Hello! I`m having a problem reading field inforation from pdf forms. Maybe it happened to someone else and knows how to fix it. Sorry for my english.

I ussualy extract the information inside the form fields of pdf documents using AFormAut. I did this using AutoHotKey for years, but a few days ago stopped working. The error says "Element not found".
The crazy thing is that if I uninstall and reinstall acrobat this works again for a few minutes, then something happens (perhaps some automatic configuration) and stops working again.

Here is a simplified version of the ahk script I use.

Code: Select all

AFormAut := ComObjCreate("AFormAut.App")
nombre_part1 := AFormAut.Fields("nombre_part1").value