What I want to do is write text to my Google Docs document remotely with VB Script code.
I have done a lot of research on this subject, I have reached the following code in the Google Docs description.
Please can you help me with a solution?

Code:
var doc = DocumentApp.openByUrl('https://docs.google.com/document/d/1cvHv3L14MjqTQavpnUVRkvDf6z4_Ss5_y60F7xj__mw/edit');
var body = DocumentApp.getActiveDocument().getBody();

var text = body.editAsText();

text.appendText('\nAppended text.');
I apologize for my poor English and code knowledge.
I hope there is a solution to my question.
Thanks in advance.