I've been trying to find a replacement for Tera Term as I do write scripts that do various tasks with different embedded devices that have serial ports. Tera Term scripting language doesn't have a concept of a "function" and using "goto" to get things done is so 80s.
After doing some searching I found Realterm. They do not have a scripting language but they do expose COM interface to other programs so you could write scripts with powershell, javascript and so on.
The problem is that they're pretty short on documentation, they do say this: "Many languages include a browsing tool to examine the properties and methods of the COM interface. Many properties and methods have help comments that you can see. Use the browser tool. One free tool to do this is ActiveX/COM Inspector from Oakland Software "
Now the Oakland tool is ancient and requires specific NET 1.1 version and still won't work if you try to install NET core 1.1 runtime. If I try powershell, I can certainly get a list of the methods but no "help comments" promised, like so:
PS C:\Windows\system32> $foobar = New-Object -ComObject realterm.realtermintf
PS C:\Windows\system32> $foobar | get-member
TypeName: System.__ComObject#{2130f381-39e1-11d7-ba0f-00e018852f5e}
Name MemberType Definition
---- ---------- ----------
AddCannedSendString Method bool AddCannedSendString (string, int)
ClearTerminal Method void ClearTerminal ()
Close Method void Close ()
DataTriggerSet Method void DataTriggerSet (int, string, string, int, int, bool, bool, bool)
DisableDataTrigger Method void DisableDataTrigger (int)
DiskFree Method double DiskFree (int)
DiskSize Method double DiskSize (int)
DoCommands Method void DoCommands (string)
I tried getting VS Code but it's an enormously complex piece of kit for the need. Would there be a straightforward way to get to the promised "help comments" that are presumably included in the member list?