lenclstr746 Posted October 13, 2022 Posted October 13, 2022 Hello guys, I'm trying to find a mark on screen with ImageSearch library. But some times it's give wrong coord's and sometimes its cant find why? My Code: Do $arama = _ImageSearch("tamam.jpg",0,0,0,40) Sleep(3000) Until $arama = 1 My Screen: And tamam.jpg here: its pretty easly but its not work.
lenclstr746 Posted October 13, 2022 Author Posted October 13, 2022 (edited) And if I search adobe acrobat icon on my desktop Look where is my mouse going? Black corner is where autoit find acrobat icon 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 October 13, 2022 by lenclstr746
Solution Danp2 Posted October 13, 2022 Solution Posted October 13, 2022 Check your Scale setting in Window Settings (under System > Display). It's likely that it is set to something besides 100%. lenclstr746 1 Latest Webdriver UDF Release Webdriver Wiki FAQs
lenclstr746 Posted October 14, 2022 Author Posted October 14, 2022 12 hours ago, Danp2 said: Pencere Ayarlarında (Sistem > Ekran altında) Ölçek ayarınızı kontrol edin . % 100'ün dışında bir şeye ayarlanmış olması muhtemeldir . Yes its %125 but why its bullshit i think
lenclstr746 Posted October 14, 2022 Author Posted October 14, 2022 12 hours ago, Danp2 said: Check your Scale setting in Window Settings (under System > Display). It's likely that it is set to something besides 100%. Can we fix this? I'm using 17 inch laptop %100 its too small for me
Shinet Posted October 30, 2022 Posted October 30, 2022 (edited) Yes, Save Image as bmp png and jpg doesn't work for me but bmp yes // using win 11 Edited October 30, 2022 by Shinet
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