Write Text File


Writes the content to a plain-text file.

Parameters

  • Plain-text file Specifies a full-qualified name of the plain-text file (.txt).

  • Position for writing Specifies the position of writing. It can be one of the following:

    • End of the file
    • Beginning of the file
    • Specify the line number
  • Separator character Specifies the separator for the lines in the file.

  • Write content Specifies the content for writing.

  • Text encoding format Specifies the text encoding, it can be one of ANSI, UNICODE and UTF8.

  • Failed if destination file exist Specifies whether to write into a new file.

  • Truncate file to written position With the option checked, the player will truncate the content of the file from the writing position, then writes the content.

  • Do not write separator characters With the option unchecked, the CRLF character will be placed the end of the content automatically.

  • Replace line in text file With the option unchecked, the content will be inserted at the specified position as a new line. Otherwise, the text of specified line will be replaced. This option is only available if the "Position for writing" is se to "Specify the line number".

Notes

  • For more information about the variable, please click here