Files
loongoffice/odk/examples/OLE/vbscript

Run the script in WriterDemo.vbs with Windows Script Host.
Command line:

cscript WriterDemo.vbs