Skip to main content
Legend
October 25, 2022
Answered

New Bridge 13 API copyTextToClipboard not working

So this is the latest documentation I can find. You'll note that you have this API listed three different ways:

copyTextToClipBoard

CopyTextToClipboard

CopyTextToClipBoard

But none of them work! All throw an error "not a function".

 

Please advise.

 

This topic is closed to new replies. Start a new post to keep the conversation going.
Rahul Saraogi
Rahul SaraogiCorrect answer
Participating Frequently
October 26, 2022

Hello,

 

Thank you for reaching out to us.

 

Could you please try with the following and update the thread?

app.document.copyTextToClipboard(string);

2 replies

Rahul Saraogi
Rahul SaraogiCorrect answer
Participating Frequently
October 26, 2022

Hello,

 

Thank you for reaching out to us.

 

Could you please try with the following and update the thread?

app.document.copyTextToClipboard(string);
Translate
Legend
October 26, 2022

Yes that works, thank you!

Translate