Discord, and I believe WhatsApp as well, minimze to the tray instead of exiting the window so it doesn't actually send the Window Created event when it opens, except for the very first time.
If you completely close Discord/Whatsapp, does it work the first time you launch the window?
spawni
2 discussion posts
Should i use process created instead as an event trigger? So far it only works for Discord, but it ignores Whatsapp and just leaves that on the main monitor.
You can try, I think you'll hit a lot of the same issues though since those windows don't send standard calls