Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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.

Filename

Specify the name of the text file to read.

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 Escaping Variable References

  • No labels