How to copy a text in clipboard?

2024-04-17T22:00:00Z
Hi,
all is in the title.
i try in js with errors

with this

navigator.clipboard.writeText(textToCopy);

Can you propose a solution with JS? or others

Xav :slightly_smiling_face: :slightly_smiling_face: :slightly_smiling_face:

Hello @Xzave,

Welcome to the Make Community!
Please review this page for guidelines on creating posts and asking for assistance.

2 Likes

Why do you need to copy text to clipboard using Make?

It is not possible because scenarios run on the server, instead of on your web browser.

Perhaps you are asking this in the wrong forum if it has nothing to do with Make.

2 Likes

I guess if it’s JS, and that script actually does copy to clipboard with the browser’s permission, etc… it may work if served up via a Webhook Response…

2 Likes