Download link and documentation: https://spicykeys.github.io/
With SpicyKeys, you can select file(s)/folder(s) in Windows Explorer and press a hotkey to either open them in a predefined program or move/copy them to a predefined destination.
The hotkeys are defined in the config file named "spicykeys.txt". Here's an example config:
F7 open C:\Program Files\VideoLAN\VLC\vlc.exe
^+f run C:\Program Files\Mozilla Firefox\firefox.exe
^!d move done
^!b copy D:\backup
^!k move !:\keep
Each line specifies a hotkey in AutoHotkey's format, what mode to use (open/run/move/copy), and either the path of the executable in open/run mode, or the path of the destination in move/copy mode.
Depending on its format, the move/copy destination can be within the current folder, or an absolute path, or it can keep all parent folders intact. Please see the website for more information about the destination format.
With the example config above:
- F7 will open the selected file(s)/folder(s) in VLC
- Ctrl+Shift+F will just run Firefox and ignore anything selected
- Ctrl+Alt+D will move the selected file(s)/folder(s) to a folder named "done" within the current folder
- Ctrl+Alt+B will copy the selected file(s)/folder(s) to "D:\backup"
- Ctrl+Alt+K will move the selected file(s)/folder(s) to a folder named "keep" at the root of the same drive and keep all parent folders
Thanks to teadrinker for the code to get the selected file(s)/folder(s) in Windows Explorer, and thanks to Rapte_Of_Suzaku for the code to move/copy using Windows’ built-in file operation system.