OpenWGA 7.7 - TMLScript reference

WGA » WGA.File()
Method :

append(text, [encoding])

On object WGA.File()
Usage Appends the content to the referenced file.
Parameters

text (String)

The text to append

encoding (String, optional)

The encoding to be used. Default is the configured OpenWGA output encoding (normally UTF-8).

Examples
WGA.File("some-file.txt").append("The End.")