Answers for "control youtube ahk"

0

control youtube ahk

SetTitleMatchMode 2

#IfWinExist - YouTube
    ^m::YouTubeKeys("m") ; Mute
    ^k::YouTubeKeys("k") ; Play/Pause
    ^j::YouTubeKeys("j") ; Seek backward
    ^l::YouTubeKeys("l") ; Seek forwards
#IfWinExist

YouTubeKeys(Key)
{
	KeyWait, % "{" Key "}"
    ControlFocus
    ControlSend ahk_parent, % "{" Key "}"
}
Posted by: Guest on September-02-2021

Browse Popular Code Answers by Language