Jump to content
Sign in to follow this  
yeto

Newbie needs help understanding error/warning message related to pixel search.

Recommended Posts

Global $searchforspecficpixel

$searchforspecficpixel = PixelSearch (300, 500, 400, 600, 0xf0f4f9)
If Not @error Then
    MouseClick ($MOUSE_CLICK_LEFT )
    EndIf

Could someone please help me understand why I am getting the following error/warning message related to pixel search?

Thank you in advance for any help,

yeto

AutoItwarningerror.JPG

Share this post


Link to post
Share on other sites

You are simply missing an include file which defines these standard variables. Have a closer look at the Helpfile example for MouseClick(). ;) 

Jos


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
36 minutes ago, Jos said:

You are simply missing an include file which defines these standard variables. Have a closer look at the Helpfile example for MouseClick(). ;) 

Jos

Thank you. Thank you. That worked.

I also studied this thread https://www.autoitscript.com/forum/topic/130468-constants-helper/ 

I pressed F5 after writing the code but it didn't tell me to add that "include file". What did I do wrong?

Again, thank you,
yeto

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...