Last active
August 15, 2024 02:02
-
-
Save lenisko/3f58dbed0f35f0781833 to your computer and use it in GitHub Desktop.
Autohotkey - Move opened file in MPC-HC to Recycle Bin
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
; Autohotkey - Move opened file to Recycle Bin | |
; Working on: MPC-HC, Media Player Classic | |
; | |
; Setup: Options -> Player -> Title Bar -> Display full path | |
; Delete is under Del key, assuming page down is set to open next file as default. | |
#IfWinActive ahk_class MediaPlayerClassicW | |
{ | |
Del:: | |
WinGetTitle, Title, ahk_class MediaPlayerClassicW | |
Send, {PgDn} | |
sleep, 400 | |
FileRecycle, %Title% | |
return | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment