Export or copy to values to other pdf
Hello !
I've made a script, activated by pushing a button, to export or copy field values from one pdf to another. Everything works fine with Acrobat Pro, but it doesn't work with Acrobat Reader DC. I'v read in other posts, that it should be possible and I really can't see anything logical, that it shouldn't be possible: I know, it's called "Reader". But this reader can change field values, properties and so on in one file. And finally, the READER can SAVE CHANGES. So why shouldn't it could change values in other pdf files !? I think, I simply made a fault in my script, so I need some help, please ! Or is it really impossible !? The relevant part of my script only needs two lines, I thought. It is like this:
newDoc = app.openDoc("target.pdf");
newDoc.getField("name").value = this.getField("source_field").value;
Of course, the target pdf has the action
this.disclosed = true;
in document java Scripts. As I told: it works with Acrobat Pro.
