Write to file, append new line
Moderator: Martin
-
- Posts: 19
- Joined: 16 Jun 2018 21:17
Write to file, append new line
Hi, I'm trying to make automatic time tracker based on locations. I need to write some data to csv file. What I found is, that Write to File action appends current file but it continues last line instead of hoping to new one. How can I change that? I need it to write into new line each time this action is executed.
Re: Write to file, append new line
Hi
Simply use below code before or after the text where you wish a new line.
From record4
Simply use below code before or after the text where you wish a new line.
From record4
Code: Select all
{"\n"}
No.1 Automation app in play store Automagic Premium
Samsung Galaxy j2 non rooted.
Android 5.1.1
Samsung Galaxy j2 non rooted.
Android 5.1.1
Re: Write to file, append new line
The text field in action Write to File should also accept new lines so an option to insert a line break should be shown on the soft keyboard.
Regards,
Martin
Regards,
Martin
-
- Posts: 19
- Joined: 16 Jun 2018 21:17
Re: Write to file, append new line
That works, thank you!Rafi4 wrote: ↑17 Feb 2020 23:05Hi
Simply use below code before or after the text where you wish a new line.
From record4Code: Select all
{"\n"}