Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width600px

The Read Text File action enables you to automate the reading of a text file.

You can read the text file into a FinalBuilder variable, and also process each line in the OnReadLine event.

Column
width300px
Panel
borderColor#D8D8D8
bgColor#FFFFFF
titleColor#FFFFFF
titleBGColor#006396
borderWidth1
titleOn this page:
borderStylesolid

Table of Contents
maxLevel3
minLevel2
printablefalse
 

Column

Read File

Image AddedImage Removed

Filename

Specify the name of the text file to read.

Allow reading of files in use by other processes.

Specify this option so that other processes can still read the text file while the action is.

Options

Put file contents into variable

Specify this option (and a variable) so that you can examine and manipulate the contents of the file in subsequent actions.

When the action executes, the "OnReadLine" event is called for each line of the text file which makes it easy to process the file line-by-line in script.

Escape any variables

Specify this option to escape any variable references in the source file.

For example, if the source contains % signs then they will be replaced as %%. This means that you can safely use an action which expands variable references in the variable contents, without errors.

Also See

see Escaping Variable References