serzh82saratov / AhkSpy

41 stars 12 forks source link

Caret position #4

Open marius-sucan opened 3 years ago

marius-sucan commented 3 years ago

Hello!

Is it possible to retrieve the caret position in edit fields? I know this is possible in standard Win32 control edits, but I wonder if UIA allows this.

Thank you .

Best regards, Marius.

serzh82saratov commented 3 years ago

I'm curious too, but haven't tried it yet. If I ever find something like this, I will add this.

marius-sucan commented 3 years ago

Hello, again!

If I understand correctly, I think I found it is possible, see answer provided on: https://stackoverflow.com/questions/61368790/how-can-i-get-the-caret-position-from-a-textbox-in-another-application-not-the

I hope to see this implemented.

Best regards, Marius.

serzh82saratov commented 3 years ago

version 4.70 add MSAA method. Accessible > Caret position relative.

marius-sucan commented 3 years ago

Very nice , thank you for working on this. <3

Looking forward to the retrieval of the caret position index in the text field.

Best regards, Marius.