I am using latest version of acrobat 8 and I’m trying to save a FDF using JavaScript. The problem I am having is using the app.execMenuItem('ADBE:ExportMenuItem') I add the ADBE:ExportMenuItem to the twhitelist in the registry, but when I try and use it I get a "InvalidArgsError " I’m not sure why I get this error cause. I can get the JavaScript to work on another computer. I just want to know why it won’t work on both computer and if there some JavaScript setting that I cant fine that should be set to let me use the app.execMenuItem('ADBE:ExportMenuItem').
There could be security restrictions added or changed or name changes depending upon the version of Acrobat/Reader on each computer.
For version 5 the menu item is "Export" and for verision 7 the name has changed to "FormData_ExportData" and "AcroForm:Advanced_ExportData".
George Kaiser