小编Rob*_*ert的帖子

使用 AutoHotkey 单击窗口中的按钮

我想制作一个 AutoHotkey 脚本来更改 PuTTY SSH 客户端中的字体。(我更喜欢小字体以获得高信息密度,但是当我向同事展示某些内容时,他们需要能够清楚地看到它。)我已经做到了这一点:

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
#SingleInstance force  ; Lets the RunMe plugin for Notepad++ reload the script with Shift-F5.

#IfWinActive ahk_class PuTTY    ; If PuTTY is active
  ^+1::                         ; and Ctrl-Shift-1 is pressed
  {
    Send !{Space}               ; Alt-Space to open the system menu
    Send g                      ; …
Run Code Online (Sandbox Code Playgroud)

autohotkey click

5
推荐指数
1
解决办法
1万
查看次数

标签 统计

autohotkey ×1

click ×1