有这个PDF格式文档
FileNm = "IMM0008ENU_2D.pdf" 'File location
Set gApp = CreateObject("AcroExch.app")
Set avDoc = CreateObject("AcroExch.AVDoc")
If avDoc.Open(FileNm, "") Then
Set PDFForm = CreateObject("AFormAut.App")
set x=PDFForm.Fields
wscript.echo "total fields:",x.count
For Each myField In x
Wscript.echo myField.Name
Next
End If
avDoc.Close (True)
Set gApp = Nothing
Set avDoc = Nothing
Set PDFForm = Nothing
但有结果:0字段
请帮助从PDF中检索所有字段
https://stackoverflow.com/questions/22225201
复制相似问题