Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Hotkey to vlc-delete #3

Closed
thorizer opened this issue Dec 24, 2020 · 5 comments
Closed

add Hotkey to vlc-delete #3

thorizer opened this issue Dec 24, 2020 · 5 comments

Comments

@thorizer
Copy link

Can we add a hotkey to vlc-delete ?

@surrim
Copy link
Owner

surrim commented Dec 26, 2020

I tried this in the past, but I found no way to do that. Feel free to modify, it's open source ;-)

@surrim
Copy link
Owner

surrim commented Dec 31, 2020

It seems that it's not possible to use hotkeys, see https://forum.videolan.org/....

@surrim surrim closed this as completed Dec 31, 2020
@surrim surrim mentioned this issue Jan 17, 2021
@DanKaplanSES
Copy link

On Windows, you can install AutoHotKey v1 and use this script to trigger the menu item (as though you typed alt+i,r) to the shortcut ctrl+delete:

#IfWinActive ahk_exe vlc.exe
^Delete::
SendInput {Blind}{Ctrl up}{Delete up}
SendInput {Blind}{Alt down}{i down}{i up}{r down}{r up}{Alt up}

@abramter
Copy link

abramter commented Jul 8, 2024

On Windows, you can install AutoHotKey v1 and use this script to trigger the menu item (as though you typed alt+i,r) to the shortcut ctrl+delete:

#IfWinActive ahk_exe vlc.exe
^Delete::
SendInput {Blind}{Ctrl up}{Delete up}
SendInput {Blind}{Alt down}{i down}{i up}{r down}{r up}{Alt up}

For AutoHotKey v2, you can use this one.

#Requires AutoHotkey v2.0

#HotIf WinActive("ahk_exe vlc.exe")
^Delete:: {
    Send("{Blind}{Ctrl up}{Delete up}")
    Send("{Blind}{Alt down}{i down}{i up}{r down}{r up}{Alt up}")
}
#HotIf

@surrim
Copy link
Owner

surrim commented Jul 24, 2024

For AutoHotKey v2, you can use this one.

@DanKaplanSES, @abramter: I placed the snippet into the doc, see 94c6e4e
Thanks for contributing 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants