Skip to main content
Legend
October 25, 2022
Answered

New Bridge 13 API copyTextToClipboard not working

  • October 25, 2022
  • 1 reply
  • 301 views

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 has been closed for replies.
Correct answer Rahul Saraogi

Hello,

 

Thank you for reaching out to us.

 

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

app.document.copyTextToClipboard(string);

1 reply

Rahul Saraogi
Community Manager
Rahul SaraogiCommunity ManagerCorrect answer
Community Manager
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);
Legend
October 26, 2022

Yes that works, thank you!