These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

JavaScript

Solitaryman
Registered: Mar 9 2007
Posts: 12

How can I get the text that the user has just selected using JavaScript? I need to build a Button that allows text selection and copy it to an annotation that will be near the selected text, all with just a click.

My Product Information:
Acrobat Pro 8, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
You can't. This can only be done with a plug-in.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script