待辦事項 #10102

Link macro to existing TeraTERM session
啟用日期: 2007-03-15 23:56 最後更新: 2021-10-16 06:26

回報者:
負責人:
(無)
類型:
狀態:
開啟
元件:
里程碑:
(無)
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
檔案:
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

細節

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/6 Histories)

2007-03-16 09:55 Updated by: (del#24082)
  • (類別 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)
  • 處理結果 Update from to Won't Fix
2009-04-11 03:29 Updated by: doda
  • 元件 Update from (無) to Tera Term Macro
2016-05-08 23:30 Updated by: (del#24082)
  • 狀態 Update from 開啟 to 關閉
  • Ticket Close date is changed to 2016-05-08 23:30
2016-05-09 00:09 Updated by: doda
  • 處理結果 Update from Won't Fix to
  • 狀態 Update from 關閉 to 開啟
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

Attachment File List

No attachments

編輯

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