I am trying to get the current caret position in another window. Similiar to how the emoji picker does it (windows key + ; or windows key + .)
I have tried using windows