Jump to content

ZeroToHero

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by ZeroToHero

  1. So basically there is no easy way to do that on win10? I mean there should be some way to read these tooltips via OCR, but that seems like an overkill. I also tried looking through everything generated by WinList(), but there were no windows with class similar to browser's one.
  2. Basically any URL will do. Even the basic tooltips are not caught. Here's an example (sorry for photo instead of printscreen, but it's acutally the way to capture the tooltip).
  3. Hello! I have been trying to get AutoIt to read tooltip text from a Chromium based browser (Yandex broswer, to be precise). I'm 99% sure that this testing code was working on Windows 7, but after updating to Win10 something went wrong. Here's the testing code I am using. #include <GUIToolTip.au3> HotKeySet("{ESC}", "Close") Example() Func Example() While 1 Sleep(100) _Read_Tip() WEnd EndFunc Func _Read_Tip() Local $aTipList = WinList("[CLASS:tooltips_class32]") Local $aRet For $i = 1 To $aTipList[0][0] If WinGetProcess($aTipList[$i][1]) = WinGetProcess("[ACTIVE]") Then $aRet = _GUIToolTip_GetCurrentTool($aTipList[$i][1]) If $aRet[8] <> "" Then MsgBox(0, "Visible Tip", $aRet[8]) EndIf Next EndFunc Func Close() Exit EndFunc This code does catch some of the other programmes' tooltips though. I think the source of the problem that some tooltips are not actually windows of class "tooltips_class32" (for instance, Total Commander's tooltips). How does one intercept such tooltips? I tried to catch them with Au3Info, UIASpy without success. I have tried tons of different browsers and they all seem to be working same way. With the exception of IE11, but for some reason it won't open the page I'm trying to automate.
×
×
  • Create New...