views:

569

answers:

0

I'm looking for solution for exporting attachments from pdf and I find some interesting stuff here: http://www.acrobatusers.com/tutorials/importing-and-exporting-pdf-file-attachments-acrobat-javascript

But, I have problem when using this code:

this.exportDataObject({cName:"MyDoc", nLaunch:2});

I always get this error:

TypeError: Invalid argument type.
Doc.exportDataObject:2:Field Button2:Mouse Up
 ===> Parameter cName.

cName is the name of attachment but it doesn't work.

Any help?

Thanks, Ivan