![]() |
wtf
If anyone can figure this out than help me? kthx
$var = PixelGetColor( 117 , 341 ) MsgBox(0,"The decmial color is", $var) MsgBox(0,"The hex color is", Hex($var, 6)) Im using this to get the pixel colors for the current window in the channel lobby. If i run in window mode the value is always like 1c1c1c even when im over the color gold so wtf? non windowed mode works fine. is there a way to make it work in windowed mode? |
If you want to know th pixel color , just use auto-it spy or something like that , its included in ai3
|
`Insolence` had a script that did something similar to what you want it to, and worked somewhat ok for recording coords, problem is, the color it recorded was your mouse-pointer...
What I do is use the AutoIt Window Spy, get the coords I want, then use something simple like this: Code:
AutoItSetOption("PixelCoordMode", 0) |
NDDWind, stop posting your AutoIT problems here, post them in the autoit official forums.
Simply create a script to record pixels, but, the trick is to record the pixel 1 second after the hotkey has been triggered. (move your mouse away from the area so it doesn't interfer) |
Quote:
|
Iniwrite the coords?
Yeah, I suppose having autoit move the mouse for you automatically would be nice :) You could also go a step further, and just write 'if PixelGetColor(x,y) <> 0000000 then' and automate it that much more... AND have a 'MouseMove(x,y,clicks,speed)' |
post in the correct place, nddwind
|
Quote:
|
All times are GMT -6. The time now is 10:12 PM. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.