【发布时间】:2015-08-14 10:52:28
【问题描述】:
我将 Teraterm 用于我的终端程序。我的问题是我不能只在我在 teraterm 程序中运行我的脚本。如果我在不同的应用程序中,有没有办法让它进入 teraterm?
脚本效果很好,请将它分享给任何使用 teraterm 的人。
我们总是使用显示在窗口标题中的相同服务器 ip,它包含 10.155.3.8。该文本始终在标题中。
如何让它只在 teraterm 中执行。我知道这是一个非常简单的问题,但我花了几天时间环顾四周,任何帮助将不胜感激。
如果您有任何基本教程网站,我将不胜感激。 我是一个编程新手。
::ttwa:: ; change teraterm window name to current device or state.
SetTitleMatchMode, 2 ;// allow partial window title matches
#IfWinActive, 156.99.121.173, 156.99.121.173
send !e
sleep 10
send s
send {enter 100}
sleep 100
Send {click 3}
send !s
sleep 10
Send w
sleep 10
send %clipboard%
sleep 100
;send {backspace}
sleep 10
send {enter}
send !e s {enter}
send {enter 10}
Clipboard :=
return
【问题讨论】:
-
有没有办法自动热键识别 teraterm 或 putty。
标签: autohotkey