Anyone? I need to paste the data into another program like notepad.
I tried
Let's say you create a variable named "textValue".
2) Create a regular button for copying. Add the following JavaScript to the click event of the button:
textValue.value = TextField5.rawValue;
3) Create a regular button for pasting. This is where it is tricky. You can use an easy script to just populate a field value like:
TextField6.rawValue = textValue.value;
But I can't paste in notepad
I looked into this a little further, but no luck. One thought was to use Acrobat's execMenuItem() method to call the Copy functionality from the hosting Application (Acrobat/Reader), but that action is restricted, it seems due to security considerations.
I was trying to do this:
app.execMenuItem("Copy");
I can't find any other way to perform the action you describe.
Apologies.