mirror of
https://github.com/clechasseur/pathcopycopy.git
synced 2026-04-25 04:05:55 +03:00
[GH-ISSUE #186] [FEATURE] it is possible to move path copy menu to top? #183
Labels
No labels
bug
duplicate
enhancement
enhancement
enhancement
fixed
help wanted
help wanted
invalid
pull-request
question
waiting for input
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pathcopycopy#183
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @iamqiz on GitHub (Dec 26, 2024).
Original GitHub issue: https://github.com/clechasseur/pathcopycopy/issues/186
Originally assigned to: @clechasseur on GitHub.
a shell/xxx context menu can be moved to top by adding position=top attribute,
it is possible to move shellex\ContextMenuHandlers\PathCopyCopy to top ?
thanks!
@clechasseur commented on GitHub (Dec 26, 2024):
I've found some documentation on how to do this for Shell verbs, but not for contextual menu extensions implemented through
IContextMenu. Can you point me to documentation for this use case? Also, it seems that even the support for Shell verbs is somewhat unreliable, because if more than one verb uses the property, the last one wins.@iamqiz commented on GitHub (Dec 26, 2024):
use case: I have many context menu for some file ext, so that the 'path copy' will be placed at bottom of menu, then i need to scroll my mouse whell to click it,😅 . if it is at the top,no need to scroll mouse.
yes, in that case , i will rename the verb to make it be last one , or add it into a cascading menu, ref: Creating Cascading Menus with the SubCommands Registry Entry
I'm not familiar with menu extensions , but I think it is possible to move shellex\ContextMenuHandlers\xx to top, for example, the reg file below can create a rename menu at top,
it use predefined verb
Windows.renamethat is defined atHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Windows.rename,and this verb use command from dll (
HKEY_CLASSES_ROOT\CLSID\{81007291-f070-4c4f-b978-ad1bec84babc}) ,in link above, it say :
so maybe we can create custom verb under CommandStore ,let that verb call command from dll,finally we add that verb to shell\ ?🧐
@clechasseur commented on GitHub (Dec 27, 2024):
Moving Path Copy Copy to using the new way(s) of adding contextual menu items added in Windows 7 would be a very good idea, but it's a pretty hefty refactoring. I'll leave this open to track this request if we get to that point in the future.