Is there a way to detect window count for an application? I have noticed system slowdown when I have more than four VS Code windows open. I would like to get an alert when I open a fifth window.
I did some more digging and found a solution.