2017-06-09 48 views
0

AHK的新功能。嘗試開始記事本最小化(或最大化),但它始終以正常大小開始。我使用Windows 10.任何想法?我下面的代碼:Autohotkey運行應用程序最小化不起作用

#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 

回答

2

試試這個:

^j:: 
    Run, Notepad.exe, , Min 
Return 

這是 「運行」 默認語法AHK:

Run, Target [, WorkingDir, Max|Min|Hide|UseErrorLevel, OutputVarPID] 
+0

謝謝,這解決了我的問題 –

相關問題