Foren: Hilfe (Thread #42358)

Tera Term : control serial connexion from python script (2020-05-17 19:44 by bibi31470 #85002)

Hello,

It's my first communication on this forum.

Trough my python scrit, I need to control the Serial connexion/disconnexion on the Tera Term running instance.
I think it could be done using DLL.
But I don't know how can I do it :-(

Someone could help be ?

Thanks in advance.

Re: Tera Term : control serial connexion from python script (2020-05-24 00:55 by nmaya #85048)

Hello,

Python or other program doesn't have way of connect/disconnect the instance of Tera Term.

Even TeraTerm Macro (ttpmacro.exe) doesn't have way of connect/disconnect of already run instance.
Macro can create new instance by 'connect' macro command. (macro runs new Tera Term(*A) and links to it, and it connects to remote(*B).)
Macro can disconnect Tera Term from remote(*B) by 'disconnect' macro command, or close(exit) linked Tera Term(*A) by 'closett' macro command.

Thanks,
Reply to #85002