Is it possible to use AppleScript, cliclick, or a similar CLI tool to move the mouse pointer to the current location of the blinking cursor?
For example, imagine the cursor is blinking at the position just after the letter I
:
I love apples
Using AutoHotKey (AHK) on Microsoft Windows, that is accomplished as follows:
MouseMove, %A_CaretX%, %A_CaretY%, 2 ; 2 is default
On Mac, how could I achieve this?