I'm trying to figure out how to create a button to do this. I have buttons like copyurl: Clipboard COPYNAMES=url
or copylink: // https://resource.dopus.com/t/copy-remote-http-file-path/10770 Clipboard COPYNAMES=url REGEXP (ftp://|file:///)(.*)//(.*) http://\2/\3
that do similar things but i cant figure out how to wrap the filepath in markdown because [Clipboard COPYNAMES=short](file:///Clipboard COPYNAMES=url) doesnt seem to work! ive played around with some other variations but was hoping poeple would have some pointers here!
btw, markdown links seem to open explorer and not dopus, not sure what changed recently [folder](file://C:\Users\bri\syncthing\xylotheca\) opens that path in explorer
This doesn't seem like a question about Opus in that case. And it likely depends on the thing that interprets the markdown.
For example, if you try using file:// URLs in markdown links here on the forum, you'll see they don't work because the forum doesn't allow them (likely for security reasons, to stop people being being tricked into running/doing things on their machine).
Markdown links in what? It's going to at least partly come down to what the web browser or other program displaying the markdown does.
If I push Win+R and paste file://C:\ into the box and push return, Opus opens the folder (assuming Explorer Replacement is on), so it seems to work fine. Some programs explicitly run Explorer.exe for things, just like the Start Menu and other parts of Windows ignore your default browser setting and open everything in Microsoft Edge.
This doesn't seem like a question about Opus in that case. And it likely depends on the thing that interprets the markdown.
I'm asking how the opus coding works if I wanted to wrap the results of button commands; I didn't see about it in the manual so it feels opus connected at least?
Markdown links in what? It's going to at least partly come down to what the web browser or other program displaying the markdown does.
I use the task manager Amazing Marvin. It's the basic electron wrapper for it's website.
Amazing Marvin allows cross-linking to local files or folders using URIs (they call them deep links). Amazing Marvin deep links can also be made into a shortcut so if I'm in a folder I can open a project. I find it really helpful to have cross-links to the file with the project in working on so I can just click into it (I have very deep folder hierarchies) or to be able to jump from the folder to the project.
All of that is basically extra info though; I added the comment not to complain but in an effort to create documentation for the linked post for for future readers; I've shared that link elsewhere (Obsidian team) and multiple people tell me they used it to set up their own Marvin/Opus cross-links.
my initial / primary question was/is just about how to wrap the results of f.e.x 'Clipboard COPYNAMES=url' (if it is possible). It used to work, something shifted, and I'll go to the Marvin team after this and figure out why and update the information here, or file bug reports there or here as needed; that's all & I'm sorry if I upset.
You can make Opus produce pretty much anything you want, but if the markup/URLs don't work in the software you're using them in, even when you type them by hand, then it's not going to make a difference how they are made.