Ticket #10102

Link macro to existing TeraTERM session
Date d'ouverture: 2007-03-15 23:56 Dernière mise à jour: 2024-07-15 02:21

Rapporteur:
Propriétaire:
(Aucun)
État:
Ouvert
Composant:
Jalon:
(Aucun)
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Aucun
Fichier:
Aucun
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Détails

It would be really great if a macro had a way to link
to an existing TeraTERM window. Perhaps it could be
identified by the process number or window title.
Would this be possible?

An alternative might be to have a COM interface to
ttermpro. You could then command an instance of
ttermpro to open a new macro.

Thanks!

Ticket History (3/7 Histories)

2007-03-16 09:55 Updated by: (del#24082)
  • (Catégorie change on Tracker)
Commentaire
Logged In: YES
user_id=24082

Thank you for your feedback.
Positively, We will examine this feature.

TeraTerm(ttermpro.exe)とマクロ(ttpmacro.exe)がDDE通信するた
めに、トピック名というTeraTermをユニークに識別する文字列が必
要で、マクロ呼び出し時に生成し、/D= でマクロへ渡しています。
Process Explorerを使うと分かります。

 例:TTPMACRO /D=000A0A2A

トピック名はRunMacro()から呼ばれるSetTopic()で生成しており、
実体は、TeraTermのHVTWinハンドルです。
当該ハンドルは共有メモリで管理されており、GetNthWin()で取得
できます。

トピック名が何らかの方法で取得できれば、技術的には、マクロの
実行を複数のTeraTerm上で切り替えることも可能と思われます。
ただし、すでにDDE通信が確立されている場合、そこに割り込める
かどうかは分かりません。



2007-07-27 14:12 Updated by: (del#1144)
  • Résolution Update from Aucun to Won't Fix
2009-04-11 03:29 Updated by: doda
  • Composant Update from (Aucun) to Tera Term Macro
2016-05-08 23:30 Updated by: (del#24082)
  • État Update from Ouvert to Atteints
  • Ticket Close date is changed to 2016-05-08 23:30
2016-05-09 00:09 Updated by: doda
  • Résolution Update from Won't Fix to Aucun
  • État Update from Atteints to Ouvert
2021-10-16 06:26 Updated by: paynterf
Commentaire

I have this exact same issue. I have created a macro to do an 'Over-The-Air' (OTA) update for a Teensy microcontroller. The macro works fine starting with no Tera Term connection, but fails if a Tera Term connection already exists. Since the Tera Term connection is how I get status updates from the Teensy, it is always open - so I have to close it before starting the update process.

I tried using the 'testlink' command, but this doesn't find an existing Tera Term window, so is useless for this purpose.

Frank

2024-07-15 02:21 Updated by: gawtry
Commentaire

Reply To paynterf

I have this exact same issue. I have created a macro to do an 'Over-The-Air' (OTA) update for a Teensy microcontroller. The macro works fine starting with no Tera Term connection, but fails if a Tera Term connection already exists. Since the Tera Term connection is how I get status updates from the Teensy, it is always open - so I have to close it before starting the update process. I tried using the 'testlink' command, but this doesn't find an existing Tera Term window, so is useless for this purpose. Frank

Hello Frank,

Did you ever get this resolved? I have the same problem.

Thanks, -Erik

Attachment File List

No attachments

Modifier

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Connexion