INSI Posted November 11, 2015 Share Posted November 11, 2015 i Want to image search a specific window not in desktop or not the full screen can anyone help me with a example and i am new to autoit Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted November 11, 2015 Moderators Share Posted November 11, 2015 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 More sharing options...
mikell Posted November 11, 2015 Share Posted November 11, 2015 There is a nice func named _ImageSearchArea ... sounds good, eh ?Now please read JLogan's post again - particularly the first line Link to comment Share on other sites More sharing options...
INSI Posted November 12, 2015 Author Share Posted November 12, 2015 #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) WEndthis is what i got so far and any one that can help. 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