Comments (12)
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 Markdown
or just Copy Path Markdown
it 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.
from pathcopycopy.
@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)
from pathcopycopy.
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?
from pathcopycopy.
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.
from pathcopycopy.
one word: sweet! I do a lot of registry modifications via group policy so this should work. Will let you know about the outcome.
from pathcopycopy.
ok, worked fine. Things to remember for whoever wants to try it.
- create all three registry entries
- set the (default) key as default (or standard as in the screenshot). If you forget PCC will report an error as the GPO create two default entries
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?
from pathcopycopy.
oh, ok. found it:
HKEY_CURRENT_USER\Software\clechasseur\PathCopyCopy\MainMenuDisplayOrder
from pathcopycopy.
This works great. Thanks for your help. But I assume the GUID will be different for other people.
from pathcopycopy.
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.
from pathcopycopy.
In hindsight, this issue's original intent seems to complex for little gain. I'll close this for now.
from pathcopycopy.
Thought about this some more today and it would indeed be helpful, even if only for fringe cases. Reopening.
from pathcopycopy.
This has been implemented and merged into master
. It will be available in the next version (17.0).
from pathcopycopy.
Related Issues (20)
- [BUG] File name not posting as link HOT 1
- [FEATURE] Add "File" and "Folder" headers with option to post short name of file as hyperlink. HOT 1
- [FEATURE] Please provide a portable version HOT 8
- Copy WSL Short Path (without filename) HOT 1
- [FEATURE] Advanced options to create links with title HOT 1
- [FEATURE] Set default options for context menu HOT 4
- [FEATURE] Have Settings window displayed in the task bar
- [FEATURE] Allow Settings window to be "always-on-top"
- [FEATURE] Allow sorting of file names/paths using Windows Explorer's current sort order HOT 5
- Scoop Package Manager
- [QUESTION] Serial of external HDD? HOT 2
- [BUG] PathCopyCopySettings.exe reported as trojan/malicious by VirusTotal HOT 1
- [Paste function] paste the name after copying
- [FEATURE] Windows 11 context menu support HOT 5
- [BUG] Deselecting all commands from submenu actually displays all commands instead of none in the submenu HOT 3
- [BUG] unable to remove stock entries from commands list HOT 4
- Copy File/Folder Path context menu item glyph HOT 1
- Is it possible to move the context menu higher than this ? HOT 1
- [FEATURE] Be able to insert newlines in copied paths HOT 2
- [BUG] "& in the name"-issue HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pathcopycopy.