Windows Shell Extension

From OniGalore
Revision as of 10:46, 5 May 2019 by Paradox-01 (talk | contribs) (Created page with "In Windows you can right-click a file to show a context-menu and choose from various options. There can be customized options for specific file types if you add registry keys...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In Windows you can right-click a file to show a context-menu and choose from various options.

There can be customized options for specific file types if you add registry keys to both HKEY_CLASSES_ROOT and HKEY_LOCAL_MACHINE.

Originally, Gumby wrote such shell extension but it refuses to work on some systems. Either Windows 10 needs HKEY_LOCAL_MACHINE as well or other registry settings of other programs are interfering.


HKEY_CLASSES_ROOT

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.oni]

[HKEY_CLASSES_ROOT\.oni\shell]

[HKEY_CLASSES_ROOT\.oni\shell\OniSplit_or_OniSplitGUI]
@="Command name to be displayed in context menu"

[HKEY_CLASSES_ROOT\.oni\shell\OniSplit_or_OniSplitGUI\command]
@="\"C:\\PATH\\OniSplit_or_OniSplitGUI.exe\" \"%1\""


HKEY_LOCAL_MACHINE

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.oni]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.oni\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.oni\shell\OniSplit_or_OniSplitGUI]
@="Command name to be displayed in context menu"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.oni\shell\OniSplit_or_OniSplitGUI\command]
@="\"C:\\PATH\\OniSplit_or_OniSplitGUI.exe\" \"%1\""


Advanced conversions

If another program handles OniSplit and automatically feeds it with the right arguments you would only need this:

collect and process OniSplit helper list

Some conversions require more than one input file. In that case can collect the other files first:

collect for OniSplit helper

Additional, useful options might be:

repeat last OniSplit helper conversion
clear OniSplit helper list