Hmm, the script is easy, but, unfortunately, the xfa.host.importData() function is not trusted. I always get this error:NotAllowedError: Security settings prevent access to this property or method.See also this page.http://forums.adobe.com/thread/637063Maybe it works when you use Reader Extensions,...