Copy link to clipboard
Copied
How Can I Copy String in a variable to clipboard in extendScript for Premiere?
I tried to use hint from https://community.adobe.com/t5/after-effects-discussions/how-can-i-copy-string-in-a-variable-to-clip... but for Premiere it doesn't work.
There is a System module for After Effect, but not for Premiere (((.
1 Correct answer
> How Can I Copy String in a variable to clipboard in extendScript for Premiere?
You can't, directly from ExtendScript. However, a CEP panel's ExtendScript could send that string to its JavaScript layer, then do so.
Copy link to clipboard
Copied
> How Can I Copy String in a variable to clipboard in extendScript for Premiere?
You can't, directly from ExtendScript. However, a CEP panel's ExtendScript could send that string to its JavaScript layer, then do so.
Copy link to clipboard
Copied
Thanks a lot. But there is two questions in addition )). Sending a string to the clipboard via
navigator.clipboard.writeText
is working, if I open index.html in Chrome. But if I open it in Premiere - it doesn't work.
And the next question - can I send information back to my panel from my jsx file ?
(realy what I need - generate string with information in my jsx code and send it to clipboard.)
ps: sorry for stupid questions )).
Copy link to clipboard
Copied
Sorry, I have no knowledge of navigator.clipboard.writeText.
> And the next question - can I send information back to my panel from my jsx file ?
Yes! PProPanel does that in a couple of cases: here's the ExtendScript side, and the related JavaScript side.
Copy link to clipboard
Copied
This is what I've been looking for ! Thanks.

