Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DetectHiddenText, On ;
- SetTitleMatchMode, Slow ;
- WinActivate, ahk_class Chrome_WidgetWin_1
- IfWinActive, ahk_class Chrome_WidgetWin_1
- {
- WinGetText, wintext, ahk_class Chrome_WidgetWin_1 ;
- If InStr(wintext,"stackoverflow.com") {
- ~LButton::
- SetTitleMatchMode, 2
- #IfWinActive, ahk_class Chrome
- If (A_TimeSincePriorHotkey<400) and (A_TimeSincePriorHotkey<>-1)
- {
- SendInput ^c
- Sleep, 10
- SendInput ^f
- Sleep, 10
- SendInput ^v
- Return
- }
- Return
- }
- return
- }
- Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement