I typically right click, export, open in a file editor, select all, and then copy.
Alternatively in some contexts I can call list
of what I want and then select blockify and copy the text from the resulting list
block.
And on occasion I "cheat" with a JavaScript block that just puts its input on the clipboard directly.
Perhaps the right click menu for text can offer a copy to clipboard option?
Maybe I'm odd if having to do this a lot.
bh
November 7, 2022, 7:24am
2
In what medium do you have the text in the first place? Value of a variable?
Most often it is the value of a variable but sometimes it the output of a reporter.
Dev mode->log
it is console.log()
I often put reporter into list block - run it and then blockify the result and copy/paste it
Jens says we can't have an easy, right-click copy to clipboard but I just think he's not trying hard enough..........
The problem with it is that not all browsers support the function (ahem, safari).
dardoro
November 8, 2022, 12:13am
7
You may alter default behaviorr with simple JS
If you run a reporter or use "result pic..." with Alt pressed, a simple value or JSON of the result is copied to clipboard (lists, strings, and numbers only). With the user script manager it can be semi-persistent.
Chrome@Win10, Clipboard API for text is now supported by all major browsers, but some privacy/security restriction may apply.
.
with costume support
According to "navigator.clipboard.writeText" | Can I use... Support tables for HTML5, CSS3, etc
every browser (except IE) supports it. Though some require it be causally connected to a user event.
bh
November 8, 2022, 2:33am
9
toontalk:
causally connected
Geez, there's quantum physics in software?
system
Closed
December 8, 2022, 2:34am
10
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.