I am using AutoHotkey to display the intellisense tooltip by using Ctrl+Space. When no more members can be listed, Ctrl+Space doesn't display the tooltip anymore and when that happen, I want to be able to detect it and stop my script.
I thought about using an offset of the caret position to detect a pixel color matching with the wrench icon color, but unfortunately it appears that AutoHotkey can't give the caret position coming from visual studio. I also tried using image and pixel search, without success :
Using this image and this code
ImageSearch, OutputVarX, OutputVarY, 0, 0, 1920, 1080, C:\Users\slariviere\Pictures\wrench.jpg
I also tried looking for difference with the spy window. The first image shows a class when my mouse was on VS background.
When my mouse hover on the Intellisense tooltip, I don't have a class, could I leverage this ?
Is there any other AutoHotkey functionality I could use ? Or is there any other way to detect for remaining class Properties in visual studio?
WinGet, list, ControlList
, or maybe some other command option. For example, the number of controls before and after IntelliSense may give you what you need. 2) A long shot, but maybe WinGetText reveals the existence of the tooltip. 3) I don't see whyImageSearch
for the wrench symbol shouldn't work. Can you provide the code you came up with? – MCL