Reading PDF fields content

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
juanfelipediez
Posts: 1
Joined: 27 Jun 2022, 15:17

Reading PDF fields content

Post by juanfelipediez » 27 Jun 2022, 15:24

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

Return to “Ask for Help (v2)”