We can check mouse coordinates via Sysinfo and use this info in relation to the knowable coordinates of dialogs or listers - for instance in order to make a dialog appear at the mouse cursor position. But is it also possible to request the coordinates of DO buttons (Including dynamic buttons) ?
Those who saw my (so far unanswered) request to make rclick and mclick events detectable for button scripts may perhaps already guess what I’m aiming at. Especially in a vertical toolbar (or in a menu), we can display pretty wide buttons. In a vertical toolbar you can have only one button per row - that’s fine - but if I could request the coordinates of a clicked button and compare it with the mouse cursor position, I could make a click react in, let’s say, 2 or 3 different ways: a click on the left, on the right, and somewhere in the middle. Even if only using the left and right part, this would immediately extend button scripts with different ways of reacting to a simple left-click.
This may less appeal to keyboard-championing users, but to those like me who are doing a lot with the mouse, being able to use coordinate-detection in butons would greatly extent the way I am currently using buttons in Opus.
I do understand, of course, that that we cannot expect Opus to implement things that only one person is asking. So this request is first and foremost a way of finding out if more people can see useful added value in it. (Or maybe this is already possible but I didn’t find how to do it).