yeto Posted July 3, 2019 Share Posted July 3, 2019 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 Link to comment Share on other sites More sharing options...
Developers Jos Posted July 3, 2019 Developers Share Posted July 3, 2019 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. Link to comment Share on other sites More sharing options...
yeto Posted July 3, 2019 Author Share Posted July 3, 2019 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now