scripting:api:text-document:appendln

appendln

Method of ITextDocument

Appends text and new line to the end of document

TextDocument.appendln(strText);
TextDocument.appendln strText
HRESULT hr = TextDocument.appendln(strText);