city Posted November 11, 2006 Share Posted November 11, 2006 ; example 2#include <GUIConstants.au3>$gui=GUICreate("Background", 800, 300); background picture$background = GUICtrlCreatePic ("demo-bg.jpg", 0, 0, 800, 300)GUISetState(@SW_SHOW); transparent child window$pic=GUICreate("", 14, 80, 0, 0,$WS_POPUP,$WS_EX_LAYERED+$WS_EX_MDICHILD,$gui); transparent pic$basti_stay = GUICtrlCreatePic ("l_st.gif", 0, 0, 14, 80)GUISetState(@SW_SHOW)do $msg = GUIGetMsg() until $msg = $GUI_EVENT_CLOSEQuestion1 : According to example in autoit3 Help above, i cant found the child GUI since I open the script. How to I find the child GUI?$var = PixelGetColor( 10 , 100 )MsgBox(0,"The decmial color is", $var)Question2 : How do the PixelGetColor function search and get the color? For example my window screen is 800 x 600. Can you tell me what is its searching-flow? Link to comment Share on other sites More sharing options...
PaulIA Posted November 11, 2006 Share Posted November 11, 2006 $var = PixelGetColor( 10 , 100 )MsgBox(0,"The decmial color is", $var)Question2 : How do the PixelGetColor function search and get the color? For example my window screen is 800 x 600. Can you tell me what is its searching-flow?PixelGetColor does not search. It just returns the pixel color at the X/Y coordinates specified. Did you mean PixelSearch instead? Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
city Posted November 11, 2006 Author Share Posted November 11, 2006 PixelGetColor does not search. It just returns the pixel color at the X/Y coordinates specified. Did you mean PixelSearch instead?Yes! xD Link to comment Share on other sites More sharing options...
PaulIA Posted November 11, 2006 Share Posted November 11, 2006 Yes! xDThe only thing I have to look at is the source that is outdated. I know Valik rewrote PixelSearch recently, so he is the one to answer this question. Auto3Lib: A library of over 1200 functions for AutoIt 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