Ticket #10102

Link macro to existing TeraTERM session
오픈 날짜: 2007-03-15 23:56 마지막 업데이트: 2024-07-15 02:21

Reporter:
소유자:
(None)
Status:
Open
Component:
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
None
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)
댓글 올리기
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)
  • Resolution Update from None to Won't Fix
2009-04-11 03:29 Updated by: doda
  • Component Update from (None) to Tera Term Macro
2016-05-08 23:30 Updated by: (del#24082)
  • Status Update from Open to Closed
  • Ticket Close date is changed to 2016-05-08 23:30
2016-05-09 00:09 Updated by: doda
  • Resolution Update from Won't Fix to None
  • Status Update from Closed to Open
2021-10-16 06:26 Updated by: 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

2024-07-15 02:21 Updated by: gawtry
댓글 올리기

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

Edit

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