Page 1 of 1

Copy and paste a variable.

Posted: 10 Dec 2018 19:47
by robchoc
I have a simple script that generates a word and places it into global_word

How do I copy this into my clipboard and then paste it?

I have tried

copy(global_word):
paste()

This just pastes what is already in the clipboard and not my random word.

Thanks

Re: Copy and paste a variable.

Posted: 11 Dec 2018 05:34
by Desmanto
no, copy() is to copy from the selected text in UI element. To copy from variable, you have to use action Copy Text to Clipboard, use global_word as the variable. Then the paste() is in separate action Control UI.

Re: Copy and paste a variable.

Posted: 11 Dec 2018 08:23
by robchoc
I learn something new everytime I write a flow.

Thanks for all the help.