berbasoft.com

SpicyKeys

Use hotkeys to open/move/copy
selected files in Windows Explorer

Download

AutoHotkey v1 source code

Introduction

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.

Please note: This program can move files, and I can't guarantee it will work perfectly. Use at your own risk!

Setup

Edit spicykeys.txt to define what the hotkeys will do, then run spicykeys.exe or, if it's already running, right-click the tray icon and click Update Config.

Example config:

F7  open C:\Program Files\VideoLAN\VLC\vlc.exe
\   open C:\Program Files (x86)\foobar2000\foobar2000.exe
^+f run  C:\Program Files\Mozilla Firefox\firefox.exe
^!k move !:\keep
^!b copy D:\backup

Each line has three components: the hotkey, the mode, and the path.

Hotkey

The hotkey is in AutoHotkey's format.

Examples: #F1 is Win+F1, +!w is Shift+Alt+W, ^Numpad0 is Ctrl+Numpad0

Mode and path

The mode can be open, run, move, or copy.

In open or run mode, the path is to an executable.

In open mode, the selected file(s)/folder(s) will open with the executable.

In run mode, the executable will run without opening anything.

In move or copy mode, the path is the destination that the selected file(s)/folder(s) will be moved/copied to.

Destination for move/copy

The destination can be in one of five formats:

Destination D:\source\file.txt
will go to
Explanation
example D:\source\example\file.txt The destination will be within the source's folder.
E:\example E:\example\file.txt The destination is a full folder path.
:\example D:\example\file.txt As above, except the destination will be on the same drive as the source.
!E:\example E:\example\source\file.txt The destination will be added to the front of the source's path.
!:\example D:\example\source\file.txt As above, except the destination will be on the same drive as the source.

Other features

If a hotkey has multiple actions assigned to it, the hotkey will open a menu of actions that can be selected.

The mode can also be open-confirm, run-confirm, move-confirm, or copy-confirm, which will prompt for confirmation.

The destination can include the time the hotkey is pressed with a YYYYMMDDHH24MISS timestamp in <angle brackets>.
Example: F12 copy example_<yyyy-MM-dd_HH-mm-ss>