how to write *.txt file to the clipboard

Post your questions and help other users.

Moderator: Martin

Post Reply
farshadmo368
Posts: 31
Joined: 31 May 2018 09:18

how to write *.txt file to the clipboard

Post by farshadmo368 » 02 Jun 2018 15:18

How to wraite *.txt file directly to the clipboard?

User avatar
digitalstone
Posts: 342
Joined: 21 Oct 2017 12:36
Location: The Netherlands

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

Post by digitalstone » 02 Jun 2018 16:11

Well there is an action called: "Copy Text To Clipboard".
My gut says that you should take a look inside that ;)
Phone: LG Nexus 5X (rooted vanilla Android 7.1.2)

farshadmo368
Posts: 31
Joined: 31 May 2018 09:18

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

Post by farshadmo368 » 02 Jun 2018 18:05

not work
Attachments
flow_txt_files_copy_to_clipboard_one_by_one_20180602_223505.xml
(1.44 KiB) Downloaded 671 times

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

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

Post by Martin » 03 Jun 2018 14:07

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

farshadmo368
Posts: 31
Joined: 31 May 2018 09:18

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

Post by farshadmo368 » 03 Jun 2018 15:25

Thank you

Post Reply