ProtoFlux:Write Text To File

From Resonite Wiki
Revision as of 16:37, 13 April 2024 by AmasterAmaster (talk | contribs) (Created the page for Write Text To File node.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Write Text To File
*
OnWriteStarted
String
OnWriteFinished
FilePath
OnWriteFail
Append
NewLine
Experimental

The Write Text To File node allows you to write files to your device, given if there is a path and proper permissions.

Currently at this time, this node is experimental, and thus cannot be used normally without making the world private, setting it to unsafe mode, and then running the node.

Inputs

* (IAsyncOperation)

Calls from an impulse to write a file on the user's computer.

String (String)

The contents for this file.

FilePath (String)

The path where the file should be saved/written to.

Append (bool)

Should add on to the file when writting to it.

NewLine (bool)

Should make a new line when adding to this file.

Outputs

OnWriteStarted (Continuation)

Fires when the file writing process has started.

OnWriteFinished (Continuation)

Fires when the file is written successfully.

OnWriteFail (Continuation)

Fires when there is no file to write to or the user did not give/have permission to write a file there.