Ther problem is getting it to work in Reader. It's possible to create a text file as an attachment (data object), but this won't work in Reader unless the document is Reader-enabled with LiveCycle Reader Extensions. If it has to work with Reader, you could populate a multiline text field and the user could then manually copy & paste. You can control the visibility of the field so it can be hidden when it's not needed.
Thanks for your reply, George!
What I want to do is to be able to open any document in Reader, open the Addons pane, click a button and see the contents of all annotations in a textbox or pick a filename to save these to hard drive in a custom format? The latter (saving to a user-selected file) would be preferable.
AcroJSGuide points to Adobe Dialog Manager as a way to create user dialogues, but I thought experienced users can point me in the right direction.
1 person found this helpful
You could use a custom dialog as well, but I've never tested to see how much text you can place in a scrollable text field. The first button on the second page of the following sample PDF demonstrates this: http://www.windjack.com/resources/Examples/DialogUses.pdf
Thanks a lot, George,
Seems to me this is what I am looking for.
Do you know whether Acrobat JS provides a capability to display a file save as / open dialogue box and write / read from files? I know JS in some applications (e.g. browser) is restricted in this regard, is it possible to do from Acrobat?
Thanks for the help,