Tíquete #10102

Link macro to existing TeraTERM session
: 2007-03-15 23:56 Última Atualização: 2024-07-15 02:21

Relator:
Dono:
(Nenhum)
Estado:
Aberto
Componente:
Marcos:
(Nenhum)
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Nenhum
Arquivo:
Nenhum
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

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)
  • (Category change on Tracker)
Comentário
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)
  • Resolução Update from Nenhum to Won't Fix
2009-04-11 03:29 Updated by: doda
  • Componente Update from (Nenhum) to Tera Term Macro
2016-05-08 23:30 Updated by: (del#24082)
  • Estado Update from Aberto to Fechado
  • Ticket Close date is changed to 2016-05-08 23:30
2016-05-09 00:09 Updated by: doda
  • Resolução Update from Won't Fix to Nenhum
  • Estado Update from Fechado to Aberto
2021-10-16 06:26 Updated by: paynterf
Comentário

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
Comentário

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

Editar

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