Page 1 of 1

how to write *.txt file to the clipboard

Posted: 02 Jun 2018 15:18
by farshadmo368
How to wraite *.txt file directly to the clipboard?

Re: how to write *.txt file to the clipboard

Posted: 02 Jun 2018 16:11
by digitalstone
Well there is an action called: "Copy Text To Clipboard".
My gut says that you should take a look inside that ;)

Re: how to write *.txt file to the clipboard

Posted: 02 Jun 2018 18:05
by farshadmo368
not work

Re: how to write *.txt file to the clipboard

Posted: 03 Jun 2018 14:07
by Martin
Hi,

You can use an action Init Variable Text File to read the contents of a file into a variable with name file_text and then copy the content to the clipboard using action Copy Text to Clipboard and Text {file_text}.

Regards,
Martin

Re: how to write *.txt file to the clipboard

Posted: 03 Jun 2018 15:25
by farshadmo368
Thank you