EndGuardian Posted June 5, 2008 Share Posted June 5, 2008 I'm trying to load a pixel that is on what I believe to be a splash screen (the ConanPatcher.exe file for Age of Conan), but I can't manage to do it. It keeps pulling the pixel directly behind the splash page and completely ignores the fact that it even exists. Is there anything wrong with my code, or is there something I can do to get it to read the pixel? #include <GUIConstantsEx.au3> #include <EditConstants.au3> Process() Func Process() Local $height, $pixel, $width, $shortcut $shortcut = (@DesktopDir & "\Age of Conan - Hyborian Adventures.lnk") Run(@ComSpec & ' /c start "" "' & $shortcut & '"', "") WinWait("Age of Conan Update Manager") $width = StringLeft (@DesktopWidth/2.1052631, 3) $height = StringLeft (@DesktopHeight/1.4457831, 3) $pixel = PixelGetColor($width, $height) While $pixel <> 4802889 $pixel = PixelGetColor($width, $height) WEnd MouseClick("primary", $width, $height, 1) EndFunc Link to comment Share on other sites More sharing options...
EndGuardian Posted June 6, 2008 Author Share Posted June 6, 2008 Bump - I still need a solution or a work around! Link to comment Share on other sites More sharing options...
sandin Posted June 6, 2008 Share Posted June 6, 2008 if you can't get pixelcolor make a screenshot and read pixel from it. I know it may slow down your script, but not if you get pixelcolor from memory of saved screenshot:http://www.autoitscript.com/forum/index.php?showtopic=63318 Some cool glass and image menu | WinLIRC remote controler | Happy Holidays to all... | Bounce the sun, a game in which you must save the sun from falling by bouncing it back into the sky | Hook Leadtek WinFast TV Card Remote Control Msges | GDI+ sliding toolbar | MIDI Keyboard (early alpha stage, with lots of bugs to fix) | Alt+Tab replacement | CPU Benchmark with pretty GUI | Ini Editor - Edit/Create your ini files with great ease | Window Manager (take total control of your windows) Pretty GUI! | Pop-Up window from a button | Box slider for toolbar | Display sound volume on desktop | Switch hotkeys with mouse scroll 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