city Posted November 13, 2006 Posted November 13, 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 = Pixelsearch( )Question2 : How do the Pixelsearch function search and get the color? For example my window screen is 800 x 600. Can you tell me what is its searching-flow?
AzKay Posted November 13, 2006 Posted November 13, 2006 $var = PixelSearch(0, 0, 800, 600, 0x000000) ;0x000000 being your colour to search for. # MY LOVE FOR YOU... IS LIKE A TRUCK- #
Paulie Posted November 13, 2006 Posted November 13, 2006 $var = PixelSearch(0, 0, 800, 600, 0x000000)This example will search the who desktop for black.
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