2017-06-09 1 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

これは私の問題を解決し、あなたに感謝 –

関連する問題