Jump to content
Sign in to follow this  

PixelGetColor() Issues!

Recommended Posts


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>  


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)
    MouseClick("primary", $width, $height, 1)

Share this post

Link to post
Share on other sites

Bump - I still need a solution or a work around!

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.