- @SOTE: I believe you mean: get general info and show it in ToolTips, rather than get information from ToolTips.
- AccViewer updates the name/value fields as you move the mouse. Also, AccViewer Basic, does the same thing. In case they're useful.
Acc library (MSAA) and AccViewer download links - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=6&t=26201
AccViewer Basic - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=6&t=32039
- Also, for various common controls, and context menus, particularly for getting text from lists of items, although potentially less useful for modern controls, is JEE_AccCtlGetText. Note: sometimes it only gets text from visible items, and not all items.
GUIs via DllCall: get/set internal/external control text - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=6&t=40514
- @sancarn: Re.:
AccV2 - AutoHotkey Community
https://autohotkey.com/boards/viewtopic ... 35#p190035
- I don't know if this is possible with either UI Automation or Acc, but one potential area of interest would be to be able to retrieve the left/right caret positions in a control/element, that way you could retrieve text before/in/after a selection, or text in a selection and a bit either side of it.
- To simply be able to retrieve the selected text more generally would be useful. Although, this might be more program specific, or even specific to certain types of controls. E.g. maybe Visual Studio, or Excel, use certain control types also used by other programs, and it becomes more a question of finding specific methods for those controls, rather than using Acc.
- Also, to know that if you pressed ctrl+left/ctrl+right, what the new selection would be.
- @sancarn:
- I tried to do some stuff with carets in Internet Explorer, but unfortunately it didn't work. Although I did get an alternative method.
Internet Explorer: check if caret is visible (IHTMLCaret IsVisible) - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=5&t=39615
- A limitation of Acc is that it can do accDoDefaultAction, but I don't think it can do any other actions, e.g. right-click instead of left-click.
- Those 'Acc_' ideas you mentioned, are they functions that receive information rather than send information? Because if I had a function called RClick, I'd expect it to send a click, remember than monitor clicks.
- So the functions, is that so that when something is done in an external GUI, AHK receives information, a bit like in a window spy? Stuff like that you normally have to do via dll injection, right? I'm not sure what exactly you can do, and whether or not the difficulties are related to Acc, or to Winapi programming generally. If you have specific information about things you can do, then please provide links, and/or clarify what you hope to do, if you think it's possible. What would Acc_Context be for, context menus? Thanks.