Copy link to clipboard
Copied
Hi scripters
Is there any commands for collect or read clipboard content in Indesign cs3 javascript.
Thanks in advance
regards
arul
No, there is not. You'll have to call VB or AppleScript to do so, depending on your platform.
Copy link to clipboard
Copied
No, there is not. You'll have to call VB or AppleScript to do so, depending on your platform.
Copy link to clipboard
Copied
hi
I had solved similar problems with this code in the past, but this isn't so good.
var doc = app.documents[0]; var lay = doc.layers.add(); var tf = doc.textFrames.add(lay); tf.insertionPoints[-1].select(); app.paste(); var clipboard = tf.parentStory.contents; tf.remove(); lay.remove(); alert(clipboard);
thank you
mg.