microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.28k stars 6.55k forks source link

Context Menu Manager Utility (PowerContext, PowerMenu) #16861

Closed Hi-ImKyle closed 2 years ago

Hi-ImKyle commented 2 years ago

Description of the new feature / enhancement

When I say "Manager", I mean for user custom menu items within a context menu through file explorer, not editting existing items and not editing context menus through other applications unrelated to PowerToys. So the manager will give you an option to create a new Menu Item or a new List for Menu Items, Lists can be embedded within other Lists and Menu Items can be given options such as Icon, File/Folder filter to enable on either or both, if File then perhaps an option to target specific file types. Then the obvious command to run or just an option to pick an installed program. If the command is custom then perhaps a preview to show you what arguments will be passed so you can alter their location within the command

Example of the custom command preview(EDIT: looking back, I remember %1 implies the file or folder the command is running for and couldnt be bothered to redraw it out) image

Also I'm not saying it shouldn't include the full context menu for you to edit and remove existing items that other programs have implemented, I just don't think it's a great idea to edit something you didn't create in that way. Though I can say it would be nice to do, but there are other programs that can do this already, perhaps adding another with a nicer more friendly UI wouldn't be such a bad thing.

Scenario when this would be used?

I tend to have quite a lot of programs that are exclusively command line tools that I use on files/folders from time to time and having to remember the full command and arguments is tedious and this feature just adds an easy way of implementing a simple single click option for what could be a large command. It also means you can have "presets" for things at a click of a button, such as for ffmpeg like changing it codec with different variations of quality settings or maybe like in the image above adding a item for sdelete with different passes or just something like being able to add a item to open up a frequently used folder like the quick access in file explorer but on the context menu for the desktop.

Supporting information

Existing software already exists that almost implement everything I'd want, but is either outdated and no longer works or is lacking a feature I'd like

From what I know adding a menu item is a registry thing but I have seen programs add items to the context menu without it and it was done through C# code, which is good seeing as PowerToys is half C#.

I understand if this is a very niche feature and doesn't benefit the majority of the users causing it to be denied or ignored, but I thought it could help the power users.

franky920920 commented 2 years ago

/dup #33

ghost commented 2 years ago

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!