Last active
October 28, 2018 11:16
-
-
Save asif-mistry/c25b486bdebf681c0bc403ecbe6a6e83 to your computer and use it in GitHub Desktop.
Auto Hotkey
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ScrollLock:: | |
{ | |
Send, ^c | |
Sleep 50 | |
Run, https://www.google.co.in/search?f=%clipboard% | |
Return | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Persistent | |
WinGetActiveTitle, TitleLast | |
SetTimer, CheckActive, 50 | |
return | |
CheckActive: | |
WinGetActiveTitle, Title | |
GetKeyState, Clicking, LButton, P | |
If (Clicking = "U") and (TitleLast != Title) | |
WinActivate, %TitleLast% | |
else if (TitleLast != Title) | |
TitleLast := Title | |
return | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SetTimer Click, 1000 | |
F8::Toggle := !Toggle | |
Click: | |
If (!Toggle) | |
Return | |
Send, a | |
;SendInput, {Enter} | |
return |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#c::Send, ^c ; Win+C, Shift+Win+C, Ctrl+Win+C, etc. will all trigger this hotkey. | |
#v::Send, ^v ; paste | |
#x::Send, ^x ; cut | |
#a::Send, ^a | |
#t::Send, ^t | |
#s::Send, ^s | |
#f::Send, English subtitles |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment