Tag element for text extraction from PDF
We use templates a lot. Every project gets a code (5 numbers) to identify it. This code is put into the same text frame for every project.
For automation beyond InDesign, it would be wonderful if I could some how tag this text frame. Then, when the PDF is created, be able to extract what ever text was inside of that text frame. I'd like to be able to do this without the clunky GUI-driven Acrobat Pro, but maybe with a CLI like exiftool or muPDF.
I was looking into the Tags panel in InDesign, but I have not found any way to read the contents of a tagged element without Acrobat Pro's Tags panel.
Does anyone have any ideas for how this could be done?