03-15-2022, 09:00 AM
(This post was last modified: 03-15-2022, 09:06 AM by davidhcefx.
Edit Reason: fix broken layout part 2
)
Hello denilama,
I found your AHK script quite useful! Basing on yours, here's a slight modification which can potentially speedup 200ms:
In addition, non-English users (for example Chinese) have to change to RegEx matching mode to make it work:
Cheers,
davidhcefx
I found your AHK script quite useful! Basing on yours, here's a slight modification which can potentially speedup 200ms:
Code:
LastTitleMatchMode := A_TitleMatchMode
SetTitleMatchMode 2
if WinActive("Google Search")
Send ^l
Sleep 200
SendInput javascript:document.getElementById("pnnext").click()`n
}
SetTitleMatchMode %LastTitleMatchMode%
In addition, non-English users (for example Chinese) have to change to RegEx matching mode to make it work:
Code:
SetTitleMatchMode RegEx
if WinActive("Google\s\x{641c}\x{5c0b}") { ; "Google 搜尋"
; or WinActive("Google\s\x{641c}\x{5bfb}") ; "Google 搜寻"
Cheers,
davidhcefx