Is it possible in MacOS X to send a mouse click to a specific window?
I already managed to send a click to the entire screen via CGPostMouseEvent
.
The windows i want to control overlap each other, so my next idea was to bring the proper window to the front before triggering the click. It works but ends in a total mess... ;-)