Last active
February 12, 2017 21:10
-
-
Save davebrny/f6da569e2360d6bfd896eb7d50c70f66 to your computer and use it in GitHub Desktop.
(autohotkey) - vlc hotkeys remapped to match youtube's hotkeys
This file contains 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
#ifWinActive ahk_class QWidget ; vlc | |
k::send {space} ; play/pause | |
~LButton:: ; click video to play/pause | |
keyWait, LButton | |
keyWait, LButton, D T.2 | |
if (errorLevel) | |
{ | |
mouseGetPos, , , , class_under_mouse | |
if class_under_mouse contains video output, video main | |
send {space} | |
} | |
return | |
SC034::send {e} ; frame by frame (SC034 = period key) | |
up::send ^{up} ; volume up 5% | |
down::send ^{down} ; volume down 5% | |
+,::send {[} ; decrease speed | |
+SC034::send {]} ; increase speed | |
j::send !{left} ; jump 10 seconds back | |
l::send !{right} ; jump 10 seconds forwards | |
; other non-youtube commands | |
+j::send +{left} ; jump 3 seconds back | |
+l::send +{right} ; jump 3 seconds back | |
^+j::send ^{left} ; jump 1 minute back | |
^+l::send ^{right} ; jump 1 minute forwards | |
left::send {p} ; play previous video | |
right::send {n} ; play next video | |
^f:: ; resize window to 870x640 | |
winMove, ahk_class QWidget, , , , 870, 640 | |
return | |
#ifWinActive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hotkeys for vlc that match youtube's hotkeys:
other non-youtube commands: