Jump to content

Recommended Posts

Posted

I just want to make a script when you hover over the color, then you see a message like "This is the Red color"..

 

#include <Misc.au3>

While 1
   While _IsPressed("12")
      PixelSearch(446,602,447,603,0xFF0000,50)
      If Not @error Then
         ToolTip("1")
      Else
         ToolTip("")
      EndIf
   WEnd
WEnd

 

That's what I have, it reacts to the fact that there is a color, but not the fact that my cursor is not on the color.

So I can aim at white, but the message will still be seen, because idk how to makeit only when it hovers over.

 

Thanks in advance, be beginner friendly :)

Posted
15 minutes ago, Jos said:

So what did you find when looking in the helpfile  for retrieving the location of the mouse pointer?

Jos

There was something as a helpfile? My bad then, because I just went through youtube and there wasn't anything, guess I'll go look there then.. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...