Autohotkey 自动热键运行应用程序最小化不工作
AHK的新成员。尝试启动一个最小化(或最大化)的记事本,但它总是以正常大小启动。我使用Windows10。有什么想法吗?我的代码如下:Autohotkey 自动热键运行应用程序最小化不工作,autohotkey,Autohotkey,AHK的新成员。尝试启动一个最小化(或最大化)的记事本,但它总是以正常大小启动。我使用Windows10。有什么想法吗?我的代码如下: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommen
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
^j::
Run, Notepad.exe, min
Return
试试这个:
^j::
Run, Notepad.exe, , Min
Return
这是AHK中“Run”的默认语法:
试试这个:
^j::
Run, Notepad.exe, , Min
Return
这是AHK中“Run”的默认语法: