(Solved) How to hide cmd window? - AutoHotkey Community
具体此楼
[WinWait - ] AttachConsole - .. - FreeConsole [ - Process Close]
AllocConsole - [GetConsoleWindow] - .. - FreeConsole
Run - .. - Process Exist - Process Close
Attch 已有,Alloc 新的,都需Free,Alloc的会自动关闭进程,Attch的貌似不会..
Run, Target,, Hide
[WinWait -] WinHide
启动时自身隐藏,外部隐藏。