Is there a way in KM to get the pixel location of the flashing text cursor on the screen? As far as I can tell there are either 0 or 1 apps that can contain a cursor at any given time, and it appears to be only the active app, which can have a flashing cursor.
I'm guessing that, if it's even possible, it may require AppleScript or JavaScript, but I'm not much good with either.
Common sense tells me that this information is known to MacOS, but MacOS may not share this information with an API to any app. So solving this may require accessing the AppleScript dictionary of each app, rather than a system-wide solution.
I've googled this question without much success.