Jump to content

Pixel Search an Embedded IE?


Gui
 Share

Recommended Posts

Aye guys, well i'm trying to search for a pixel inside an Embedded IE, which takes up the whole GUI. I want to scan the whole entire IE page, but I don't know how I would do that. I have the pixel search range from (0,0,$GUI_WIDTH,$GUI_HIGHT) because the width will lead to the furthest point right, and hight will lead to the furthest part to the bottom of the GUI. Could I just scan the entire IE webpage? Or if my method is wrong, correct me please? My code is like this.

$GUI_WIDTH = 623
$GUI_HEIGHT = 279

$coord = PixelSearch( 0, 0, $GUI_WIDTH, $GUI_HEIGHT, 0xB20000, '', '', $Form1)
                    
    If Not @error Then
        MsgBox(0, "X and Y are:", $coord[0] & "," & $coord[1])
    EndIf

Help or advice appreciated.

GUI

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...