Write Text To File (LogiX node)

From Neos Wiki
Jump to navigation Jump to search
This page contains changes which are not marked for translation.
Write Text To File
'Write Text To File' LogiX node
Inputs
  Impulse Write
  String String
  String FilePath
  Bool Append
  Bool NewLine
Outputs
  Impulse OnWriteStarted
  Impulse OnWriteFinished

The Write Text To File node writes the provided String to the file FilePath when an impulse is received at Write. The Append and NewLine inputs are optional.

Experimental Notice

This is categorized as an Experimental node and is not shown by default in the node browser. To show this node, the ShowExperimental option must be enabled on the node browser.

Unsafe Notice

This is categorized as an Unsafe node and will not work unless the world was opened in 'Unsafe Mode'. When opening a session, enable the Unsafe Mode checkbox in Session Settings.

Usage

To use the Write Text To File node, connect an impulse to the Write input, a string to the String input, and the file path to the FilePath input. If the file in the FilePath does not exist, it will be created.

If Append is set to true, the String will be appended to the end of the file instead of overwriting it. If NewLine is set to true, a newline character will be added to the end of the string before it is written to the file.

When the node receives a Write impulse, it will start writing the String to the file. The OnWriteStarted output will be triggered as soon as the write operation starts, and the OnWriteFinished output will be triggered when the write operation completes.

Examples

Node Menu

Experimental
Back Reactivate Dash Write Text To File