FindClick() - ImageSearch, Clicking, & More [Newest Version]

Post your working scripts, libraries and tools
rommmcek
Posts: 974
Joined: 15 Aug 2014, 15:18

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

18 May 2020, 03:38

@reverberation : Did you try to use FindText. I'm using it successfully with Google Maps where sampling is much more obvious, visible by the naked eye!
Edit: It's working even with non DPI aware apps not having "High DPI scaling override" checked in the Compatibility tab of the Property dialog. (recognizable by the blur appearance).
reverberation
Posts: 228
Joined: 13 Dec 2015, 20:48

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

20 May 2020, 21:10

I just tried using FindText but to no avail. Have posted for help in the other thread!
burque505
Posts: 1312
Joined: 22 Jan 2017, 19:37

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

21 May 2020, 09:03

@reverberation, I am able to click on the reminder button and display the calendar dropdown as shown. I am on Win7 64-bit SP1, 125% scaling. The Reminder button is always shown per customization.

Code: Select all

; Run Title Search Evernote using Ctrl+Win+3
#Include FindClick.ahk
CoordMode, Mouse
^#3::
IfWinExist ahk_class ENMainFrame
	WinActivate
else
	Run C:\Program Files (x86)\Evernote\Evernote.exe
	Sleep 1000
SendInput {f9}
SendInput ^!f
Sleep 100
SendInput {tab}{home} ;scroll to top of notes
Sleep 1000

FindClick("reminder.png")

sleep 50

FindClick("change_date.png")

Esc::ExitApp
Images:
reminder.png
reminder.png (602 Bytes) Viewed 188 times
change_date.PNG
change_date.PNG (554 Bytes) Viewed 188 times
With your high-resolution screen perhaps this won't help per se, but along with the advice of others above maybe it can be of some use.
Regards,
burque505

Return to “Scripts and Functions”

Who is online

Users browsing this forum: No registered users and 92 guests