mirror of
https://github.com/clechasseur/pathcopycopy.git
synced 2026-04-25 12:15:58 +03:00
[GH-ISSUE #5] Advanced UI for custom commands #6
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#6
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 @clechasseur on GitHub (Jul 17, 2017).
Original GitHub issue: https://github.com/clechasseur/pathcopycopy/issues/5
Originally assigned to: @clechasseur on GitHub.
Add an "advanced" mode to custom commands in the Settings application that would give full control over the command's pipeline elements.
Original issue: https://pathcopycopy.codeplex.com/workitem/11389
@penCsharpener commented on GitHub (Aug 1, 2017):
I'm using zulip/zulip a lot which supports markdown and their desktop app can open file:/// paths.
I would love to have something like a context menu entry
Copy Path Zulip Markdownor justCopy Path Markdownit would then take the last folder name or the file name and create his
[Office](file:///C:\Program Files\Office)[winword.exe](file:///C:\Program Files\Office\winword.exe)This would result in a clickable link for the recipient. Very useful in a local network where everyone sends links around to a network share.
@clechasseur commented on GitHub (Aug 1, 2017):
@vbNETonIce You can do that with a custom command. Base it on "Copy Long Path", and in the Find/Replace options, select "Use regular expressions" and enter:
Find what: ^(.*)\\([^\\]+)$Replace with: [$2](file:///$1\$2)@penCsharpener commented on GitHub (Aug 1, 2017):
Thanks for the reply. I'll try that! Is there a way of applying this custom setting to 50+ PC via group policy or copying a settings file. in short: After I add this custom setting where does PathCopyCopy save it?
@clechasseur commented on GitHub (Aug 1, 2017):
It's saved in the registry, in HKEY_CURRENT_USER\Software\clechasseur\PathCopyCopy\PipelinePlugins, but it's identified via a GUID. One thing you can try is to open the Settings app and choose "Export settings", which will export all your settings in a .reg file. Trim it down using a text editor to keep only your plugin and I guess you could apply that across a network by importing the registry file - I'm no expert with group policies but I'm sure there's a way.
@penCsharpener commented on GitHub (Aug 1, 2017):
one word: sweet! I do a lot of registry modifications via group policy so this should work. Will let you know about the outcome.
@penCsharpener commented on GitHub (Aug 1, 2017):
ok, worked fine. Things to remember for whoever wants to try it.
I still have a question though: The new custom command can be found in the path copy copy settings but it's not checked as Main. Where is that setting saved?
@penCsharpener commented on GitHub (Aug 1, 2017):
oh, ok. found it:
HKEY_CURRENT_USER\Software\clechasseur\PathCopyCopy\MainMenuDisplayOrder@penCsharpener commented on GitHub (Aug 1, 2017):
This works great. Thanks for your help. But I assume the GUID will be different for other people.
@clechasseur commented on GitHub (Aug 1, 2017):
The GUIDs of built-in commands (as they appear in
MainMenuDisplayOrder) will be the same for everyone. However, the GUID of the custom command will be different, yes.@clechasseur commented on GitHub (Nov 19, 2018):
In hindsight, this issue's original intent seems to complex for little gain. I'll close this for now.
@clechasseur commented on GitHub (Aug 27, 2019):
Thought about this some more today and it would indeed be helpful, even if only for fringe cases. Reopening.
@clechasseur commented on GitHub (Sep 2, 2019):
This has been implemented and merged into
master. It will be available in the next version (17.0).