Jump to content

Windows 11 ImageSearch Problems?


Go to solution Solved by Danp2,

Recommended Posts

And if I search adobe acrobat icon on my desktop
Look where is my mouse going?

Black corner is where autoit find acrobat icon :(

founded.png.b7121442ff8fcd040c883dffe1ca62d7.png

 

Code here:

#include <ImageSearch.au3>
HotKeySet("{F1}","ara")


Func ara()
    Local $x,$y
    If _ImageSearch("acrobat.png",0,$x,$y,25) = 1 Then
        MouseMove($x,$y)
    EndIf
EndFunc

While 1
    Sleep(250)
WEnd

 

Edited by lenclstr746
Link to post
Share on other sites
  • 3 weeks later...

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...