bruhov / WinThumbsPreloader

WinThumbsPreloader is a simple open source tool for preloading thumbnails in Windows Explorer.
MIT License
563 stars 38 forks source link

Context menu missing for drives #9

Open meyergru opened 3 years ago

meyergru commented 3 years ago

The context menu is available on directories only, not on drives. This is easy to fix in the InnoSetup sections. The net result should look like this:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Drive\shell\WinThumbsPreloader]
"MUIVerb"="WinThumbsPreloader"
"Icon"="\"C:\\Program Files\\WinThumbsPreloader\\WinThumbsPreloader.exe\",0"
"ExtendedSubCommandsKey"="Drive\\shell\\WinThumbsPreloader"

[HKEY_CLASSES_ROOT\Drive\shell\WinThumbsPreloader\Shell]

[HKEY_CLASSES_ROOT\Drive\shell\WinThumbsPreloader\Shell\Preload]
"MUIVerb"="Preload thumbnails"
"Icon"="\"C:\\Program Files\\WinThumbsPreloader\\WinThumbsPreloader.exe\",0"

[HKEY_CLASSES_ROOT\Drive\shell\WinThumbsPreloader\Shell\Preload\command]
@="\"C:\\Program Files\\WinThumbsPreloader\\WinThumbsPreloader.exe\" \"%1\\\""

[HKEY_CLASSES_ROOT\Drive\shell\WinThumbsPreloader\Shell\PreloadRecursively]
"MUIVerb"="Preload thumbnails recursively"
"Icon"="\"C:\\Program Files\\WinThumbsPreloader\\WinThumbsPreloader.exe\",0"

[HKEY_CLASSES_ROOT\Drive\shell\WinThumbsPreloader\Shell\PreloadRecursively\command]
@="\"C:\\Program Files\\WinThumbsPreloader\\WinThumbsPreloader.exe\" -r \"%1\\\""
SMcCandlish commented 3 years ago

Yes, it would be very nice if this worked on drives. I find that it does not work on them whether a) you right-click on the drive icon or b) open the drive's top-level folder and right-click on a blank area within the directory listing. It's not a "fatal" problem, since even if you have a media storage drive that consists of hundreds of folders at the top level (e.g. by date of photos), you can mass-select all of them and the app will appear in the context menu when you right-click the entire selection, as long as it consists entirely of folders.