Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Locate the rectangle of the icon in a tooltip
#2
this works for me no problem on windows 10


Code:
Copy      Help
mac "ShowTooltip" "" "test[]tooltip" -1 300 100 400 1|2|4 "Test" "shell32.dll,4"
0.3
int w=win("" "tooltips_class32")
scan "image:hF78E7989" w 0 1|2|16

   

did you forget to add the image as a resource of the function your using? if your create the scan code in a different function need to add image file as a resource of the new function.

what's the error message your getting?
something like this?
Error (RT) in   resource not found. ?

or other?

object not found?
needs a slight delay from when ShowTooltip is called and when you start scan
0.3
was as low as i could go anything less would get object not found error.


Messages In This Thread
RE: Locate the rectangle of the icon in a tooltip - by Kevin - 09-28-2018, 02:47 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)