(I'm on the Windows Insider Dev Channel, namely Windows 11 Build 25284, and running AHK v2.0.2)
Things I've tried:
- TrayIcon Library (Original Author: Sean, Updated by: Cyruz, FanaticGuru)
- A port of the above to AHK V2 (by quaritexa)
- A reportedly working Win11-compatible solution (by teadrinker)
For some reason, the Electron app that I'm using has a bug (or I'm not sure what's causing it so it may be a bug or may not), where simply invoking it using WinShow and WinActivate in AHK V1 makes the app completely unresponsive. The only way I can get the app to respond to interactions is if I invoke the app from the system tray through a mouse click. So I've come to the conclusion that the ideal way to invoke my app would be through simulating a mouse click or sending a similar command to the system tray. But this is purely an assumption that I'm making and I'm not entirely certain as to what causes my app to become unresponsive when I used the above commands.
I've also seen @JoeWinograd quite helpful on posts regarding tray icon operations and current compatibility, so I'm going to mention you here, hoping you might be able to extend some support with my situation.