Jump to content

Want to ImageSearch In specific Windows. how?


INSI
 Share

Recommended Posts

  • Moderators

Hi, @INSI welcome to the forum. There are literally dozens of example of ImageSearch  to be found on the forum if you use that neat little Search button at the top of the page. If you have searched and are not finding what you need, you need to provide some more information. What kind of window? What kind of image are you looking for? How about screenshots? What have you tried on your own (post your code)? What isn't working? Are you getting an error? The answers to all of these questions will help us help you. At present you have us trying to guess at what you're doing, and then help you troubleshoot the issue. ;)

 

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

#include <ImageSearch.au3>
WinActivate("BlueStacks App Player","")
;ControlClick("BlueStacks App Player", "", "", "left", "1", 16, 289)
$X = 0
$Y = 0
$Search = _ImageSearchArea('smal.bmp', 1, 1, 629, 806, 629, $X, $Y, 50)
    if $search = 1 Then
    ControlClick("BlueStacks App Player", "", "", "left", "1", $X, $X)
    EndIf

While 1
    Sleep(100)
    WEnd

this is what i got so far and any one that can help.

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...