yeto 0 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 Share this post Link to post Share on other sites
Jos 2,208 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. Share this post Link to post Share on other sites
yeto 0 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 Share this post Link to post Share on other sites