Thanks @hans.melberg. I was hoping someone who understands the code by @mattstibbs above could weigh in… In Python for example there’s a simple ‘sister’ method pyperclip.copy(
) / pyperclip.paste("text")
and I imagined that just changing a line or two in the code code above might do the job, rather than me blindly trusting Javascript I don’t understand from stackoverflow etc if possible!
As with all coding, it’s Voodoo Magic if you don’t know the language, but often rather simple once you do…