Open With submenus/groups?
Posted: 22 Oct 2020 22:16
Hello, I've been trying to figure out a way to get submenus in the 'Open with...' context menu (ctrl+alt+enter), like in the screenshot below...

I use a program called 'FileMenu Tools' that lets you add custom programs and shortcuts to the right-click context menu of explorer. Because these are added to the explorer registry, they appear and work as expected on xyplorer. However, because you need to add them to the registry, they're by no means portable. This is fine for a personal computers, but I'd like to take advantage of the portability xyplorer offers in order to have these options everywhere I go.
So far, the only place I've found that lets me add shortcuts in a similar manner is the 'Open with...' menu. Here's the code I have so far in 'Tools/Customize File Associations'...
Which looks like this in the 'Open with...' menu...

I don't use my mouse, and only switch focus between the two panes, so keyboard shortcuts are how I need to access this menu. Any ideas?
P.S
I'm also trying to figure out how I can launch a program using the 'Open with...' and not pass any arguments (So that the program is launched vanilla).

I use a program called 'FileMenu Tools' that lets you add custom programs and shortcuts to the right-click context menu of explorer. Because these are added to the explorer registry, they appear and work as expected on xyplorer. However, because you need to add them to the registry, they're by no means portable. This is fine for a personal computers, but I'd like to take advantage of the portability xyplorer offers in order to have these options everywhere I go.
So far, the only place I've found that lets me add shortcuts in a similar manner is the 'Open with...' menu. Here's the code I have so far in 'Tools/Customize File Associations'...
Code: Select all
+|"1] GitBash"\;*><xypath>..\..\GitPortable\Wrapper-GitBashPortable.exe
+|"2] Vim"\;*><xypath>..\..\GitPortable\Wrapper-Vim.exe
+|"3] Notepad++"\;*>"<xypath>..\..\NotePad++Portable\NotePad++Portable.exe"
+|"4] OniVim"\;*><xypath>..\..\OniVim2\oni2_editor.exe
+|"5] VSCode"\;*><xypath>..\..\VisualStudioCode\Wrapper-VSCode.exe
+|"6] MPC-BE"\;*;><xypath>..\..\MPC-BEPortable\MPC-BEPortable.exe
+|"7] MediaInfo"\;*><xypath>..\..\MediaInfoPortable\MediaInfoPortable.exe
+|"8] BulkRename Utility"\;*><xypath>..\..\Bulk Rename Utility\Bulk Rename Utility.exe
+|"0] General"\;*>
+-
+"AutoHotKey";ahk><xypath>..\..\AutoHotkeyPortable\AutoHotkeyPortable.exe
+"PDF-XChange";pdf><xypath>..\..\PDF-XChangeEditorPortable\PDF-XChangeEditorPortable.exe
+"7-Zip";{:Archive};7z;cbz;cbr><xypath>..\..\7-ZipPortable\7-ZipPortable.exe
+"MPC-BE";{:Media}><xypath>..\..\MPC-BEPortable\MPC-BEPortable.exe
+"Vim";{:Text}><xypath>..\..\GitPortable\Wrapper-Vim.exe
I don't use my mouse, and only switch focus between the two panes, so keyboard shortcuts are how I need to access this menu. Any ideas?
P.S
I'm also trying to figure out how I can launch a program using the 'Open with...' and not pass any arguments (So that the program is launched vanilla).

