I have a specific program that I made It start automatically when Windows starts, and this program works by default in the system tray icon.
The program is :
The window title : LilySpeech Settings
The process name : ahk_exe LilySpeech64-1.exe
The problem is :
When the program starts automatically when Windows starts, it works by default in the system icon, but the window of the program appears and It stills appear on the screen Every time I start Windows.
- I want the window of the program to be closed automatically and only every time I start Windows, knowing that if I close the program window the program continues to work in the system tray icon and this is what I want.
- I'm looking for an AHK script to do that.
- Note : I'm using AHK V1.1.36.02.
- I've tried this but didn't work:
Code: Select all
Loop {
WinWaitActive ahk_exe LilySpeech64-1.exe
WinClose ahk_exe LilySpeech64-1.exe
}