Said Posted January 22, 2010 Share Posted January 22, 2010 Hello i have small problem with PixelGetColor in window minimized mode. I have code: Opt("PixelCoordMode", 2) Run("D:\Program Files\Diablo II\Diablo II.exe -w -ns") ;run diablo 2 in window mode without sound WinWait("Diablo II") $hWnd = WinGetHandle("Diablo II") Sleep(3000) $var = PixelGetColor(10,100,$hWnd) MsgBox(0,"",Hex($var, 6)) When I run the program and the game is in the window displays to me the color of the game, but when the game is minimized takes me to the color pixel from your desktop, and not from the minimized game window. What have I done wrong? I have the exact same problem with the function PixelChecksum o_O Link to comment Share on other sites More sharing options...
Sobiech Posted January 24, 2010 Share Posted January 24, 2010 Because Pixels recognizing will not work with the minimized windows. I heared that this is possible on Vista or someone did this on Win95 ^^ Btw. Siema This world is crazy Link to comment Share on other sites More sharing options...
user101 Posted January 24, 2010 Share Posted January 24, 2010 oh I would like something like this too 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