Thanks for the reply, Jongware.
Given that interactive elements of an .idd are maintained on export to .pdf, would it not be safe to assume that any such function to save content to the clipboard would also be exported?
I've had a look at AcroJS, but that doesn't seem to support this functionality.
It seems curious that I can add href/anchor 'interactive' elements to text within an .idd, but not other (slightly) more complex JS functions.
For the purposes of simplicity, if we were to remove the export-to-.pdf from the equation, is it possible to add a 'copy some text to clipboard' function to some text in my .idd document?
will select the entire fourth paragraph in the first text frame on page #3 of your active document, and then copy it. Pasting inside ID will preserve all normal attributes (as usual), and you can also paste as plain text in any other application.
(I dunno -- ask in the Acrobat forum.)
I get the message. I'll take this topic off the Indesign forum.
Thanks Jongware, I'll give this a try and see if I can get this working in .pdf.
Sorry to put you down, but -- you can try, but I predict it will fail. This syntax is that of InDesign's scripting model, and none of these properties are available in Acrobat ...
As I said, scripting-for-InDesign only performs actions inside InDesign itself, on InDesign documents, using InDesign's Document Object Model to push its own internal objects around.
No, it's no problem. If this isn't the right forum for it, it isn't the right forum!
Like I said, I'll have a look and see if I can see a way round it.