stefankueng / grepWin

A powerful and fast search tool using regular expressions
https://tools.stefankueng.com/grepWin.html
GNU General Public License v3.0
1.74k stars 180 forks source link

Request: Use Windows 11 context menu in explorer #388

Closed Couchy closed 1 year ago

Couchy commented 1 year ago

I just noticed this since Notepad++ switched to using an entry in the new Windows 11 context menu, and thus no longer appears in the "old" right click menu, which grepWin uses. Would it be possible to use the new context menu in grepWin's explorer on Windows 11?

stefankueng commented 1 year ago

it already does. But of course it won't work with the portable version.

Couchy commented 1 year ago

Is there some option that needs to be set to enable it? I used the msi installer. I'm referring to this menu, in case it wasn't clear: Screenshot 2023-04-07 120627

grepWin goes straight to the legacy menu: Screenshot 2023-04-07 120902

Moving grepWin itself to the new menu would be nice too, but that's apretty convoluted process as the Notepad++ guys recently found out.

stefankueng commented 1 year ago

Oh, I see. You want the Win11 menu inside grepWin, not a grepWin entry in the Win11 menu. I don't think that's possible, since MS rarely documents anything they do in explorer anymore.

As for NPP not showing the menu entry in the normal context menu anymore: that should be changed in NPP.

ikender commented 11 months ago

as an FYI, if you click "Show more options" (Shift + F10) you will see it in the context menu

You can use the old context menu (all context items) with a registry edit or with 3rd party software you can edit the context menu if you don't want to / aren't comfortable with registry edits https://helpdeskgeek.com/windows-11/how-to-customize-the-right-click-context-menu-in-windows-11/

This link may also help @stefankueng with adding it to the page 1 context menu by default (If you look at the image in OP comment there is NanaZip and Notepad++ who have done it)

Couchy commented 11 months ago

This was about how to get the "new" context menu to show up within grepWin itself, which is apparently not possible. Though it might be possible to query "new" context menu entries and add them programmatically.

ikender commented 11 months ago

Right, and I was pointing out (for those who searched for a solution to this, and didn't know) that it is in the old (hence FYI) and then pointed to a resource on how to always use the old context menu (which may give the developer a clue on how to find where he can add it to the new as well)