Talrand Posted March 24, 2017 Share Posted March 24, 2017 (edited) Hello All ! First of all, thank you for reading this topic and trying to help me. I am very new with AutoIt, just started learning it today... I am a long term programmer... I am trying to make a bot to play a game using a android emulator called NOX. The first problem I´ve encoutered is with the PixelGetColor function... MY QUESTION IS: I want to get the pixel color from a opened program... I used the "Window Info" tool to find the coords... The problem is that autoit is giving me the pixel based on DESKTOP coords not the ACTIVE window coords.... My code is: I wanted to make a code that would run something if the pixels inside the program window matches a certain criteria. I have a example code and the author looked the program window coords on the screen and did the math to find those pixels... What is the correct way of doing it ? Edited March 24, 2017 by Jos Link to comment Share on other sites More sharing options...
LeCarre Posted March 24, 2017 Share Posted March 24, 2017 You should read the Forum Rules, the explicitly forbid " script interaction with games ". Link to comment Share on other sites More sharing options...
Developers Jos Posted March 24, 2017 Developers Share Posted March 24, 2017 @Talrand, Welcome to the AutoIt forum. Unfortunately you appear to have missed the Forum rules on your way in. (there is also a link in my signature) Please read them now particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked. See you soon with a legitimate question I hope. 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...
Recommended Posts