fix FocusCaret to get caret in Chrome#593
Conversation
|
fantastic change, what would the change be to support uwp apps? |
Seems to use UIAutomation that is first time to use for both of Ditto and me. Just it. |
|
ok to call LoadLibrary over and over, mostly looks like yes, https://stackoverflow.com/questions/3497516/does-loadlibrary-create-distinct-instances but i've always loaded it up front and did GetProcAddress up front. |
Thank you for suggestion! I'll fix it in next update! |
To solve #375 I added a logic to find caret position from Chrome via oleacc.dll.
Now Ditto can find caret from more variety application like VS, VS Code, etc.
But like as the reference that @u-Sir gave, It is not cover UWP applications yet.
So, this is just first solution of the issue (because i think Chrome is more important than any others) and I will decide whether to add a logic to support UWP apps after.