I'm using Windows OS and have the mkvtoolnix-gui executable listed in my 'OpenWith' menu for mka and mkv files. This is so that I can right-click on any Matroska file and have it easily open directly in MKVToolNix.
It works fine, but it opens on the Multiplexer page by default, and the vast majority of the time I only want to edit the headers. When I switch to the Header edit section, the currently loaded matroska file is not loaded, so I have to use the 'Open Matroska file' browse button and browse all the way back to the same file that I already opened.
Is there a way to have the MKVTool GUI open on the header edit page by default? (or perhaps some other work-around that would work with the Windows 'Open With' menu?).
I have looked at the MKVToolNix help file and I saw that there is an --edit-headers switch that can be used to launch the program with the header edit section selected, but there is no ability to specify executable switches in the Open With menu, so I'm looking for a work-around.
+ Reply to Thread
Results 1 to 5 of 5
-
-
You can create a batch file with the --edit-headers switch. Then use Open With to open the batch file. Or use the SendTo folder.
Batch file:
Code:start "Mkv Header Editor" "g:\program files\MkvToolNix\mkvtoolnix-gui.exe" --edit-headers %1
-
Thank you! It works great.
I think I will convert the batch file to an AutoHotkey script so that I can get rid of the console flash and also so that I can compile the script into an .exe and give it the correct icon to display in the Open With menu.
Thanks again. -
Put a shortcut instead of a bat in the shell:SendTo folder
change destination to C:\program files\MkvToolNix\mkvtoolnix-gui.exe --edit-headers
It should also be possible to edit the registry to specify --edit-headers for the "Open with" entry. -
I'd rather not put it in the 'Send To' menu because it will be added to all file types. I only want it to appear for matroska files (which is why I'm using the Open With menu).
Thanks for the tip about being able to add switches to a specific 'Open With' entry via the Registry. I didn't know that this was possible. I'll look into it because this would be the cleanest, most-efficient method rather than using additional scripts.
Similar Threads
-
GUI versions inside MKVToolNix
By carlmart in forum Video ConversionReplies: 9Last Post: 30th Aug 2020, 10:36 -
Batch header edit with MKVToolNix GUI?
By everapt in forum Newbie / General discussionsReplies: 1Last Post: 23rd Mar 2018, 11:07 -
please delete. thanks
By mrjayviper in forum Video ConversionReplies: 0Last Post: 11th Feb 2018, 04:24 -
MKVMerge GUI not in my MKVToolnix
By gumbygum in forum EditingReplies: 4Last Post: 23rd Mar 2017, 00:44 -
MKVToolNix GUI v8.9.0 issue with timecodes
By Han Solo1 in forum Newbie / General discussionsReplies: 6Last Post: 13th Mar 2016, 18:55