Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

Read text file Version

...

19 (java)

Action group: File system

...

This action is designed to load the contents of a text file.

Action icon

Image Modified

Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
FilePath to the file to which the action will be applied. Does not work with formats opening text in additional software (.doc, .docx, etc. ).Robin.FilePath
Yes
Encoding

File encoding

. Supported encodings are marked on the page https://docs.microsoft.com/en- us/dotnet/api/system.text.encoding?view=netcore-3.1 in the column titled «.NET Framework support».


Dropdown list:

  • auto-detect
  • UTF-8
  • UTF-16
  • Windows-1251
  • KOI8-R
  • OEM-855
  • OEM-866
  • ISO 8859-5
Robin.String
No

Yes
Results
ResultText variable with the contents of the text file.Robin.String

Special conditions of use

The action can only work with text files. 

...

You can see more details here

Example of use 

Task

Get text from a file. 

Solution

Use the “Read "Read text file” file" action. 

Implementation

  1. Move the “Read "Read text file” file" action to the workspace


  2. Set the parameters of the “Read "Read text file” file" action. 


  3. Click on the “Start” "Start" button in the top panel. 

...