Write Text File Action - ENTER, TAB, etc...

Discuss RoboTask here
Post Reply
jpch
Posts: 4
Joined: Wed Apr 10, 2019 7:22 pm

Write Text File Action - ENTER, TAB, etc...

Post by jpch »

Hi,

Is there a way to input Enter for a new line or Tab in the Write a Text File Action?

I tried with {ENTER} and {TAB} but it writes the text and doesn't create the new line or a tabbed space.

Thank you
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Write Text File Action - ENTER, TAB, etc...

Post by Oleg »

If you want to write end of line symbols to text file use {EOL}. This is sequence of two symbols {Chr(13)}{Chr(10)} (carriage return and line feed)
To put TAB symbol use {Chr(9)}
TAB symbol has ASCII code 9
Oleg Yershov
jpch
Posts: 4
Joined: Wed Apr 10, 2019 7:22 pm

Re: Write Text File Action - ENTER, TAB, etc...

Post by jpch »

Thank you Oleg. It worked!
Post Reply