Answered
Executing the following code segment to dump metadata in the console window seems to be broken since the upgrade to 8.1.2:
for (var i in this.info) console.println(i + ": "+ this.info[i]);
yelds the error message:
"" has invalid __iterator__ value ""
1:Console:Exec
Reinstalling Acrobat 8.1.0 Professional and rerunning this code segment works properly.
. Has anyone else seen this error?
A work around is to convert the object in question into a generic object.
var genericInfo = eval(this.info.toSource());
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script