Capturing mouse double-click.
I was wanting to write some code that would minimize windows when you double-click the window bar on top of windows, similar to how it works on Roll20. Having to right-click and go through a menu each time is slow in comparison, particularly when you have multiple windows open that you want to keep around.
So I was wondering if it is possible to detect double mouse clicks with scripts? Similar to how you detect a single mouse click, and if any buttons are held down for example. :)