Hi Chris, Yes, the ‘Open URL’ command is what I have been using but I bypass the contextual menu by simply Cmd-clicking anywhere in the URL.
Good to know about the Edit -> Copy Path -> Copy URL command and the info panel so there’s lots of ways to get a file URL of the current BBEdit document from within that document. As I noted in my response to Bruce, I also need a way to get file URLs for non-text documents or locations such as PDF, Word docs, jpgs, folders, etc. but I suspect I need to go outside BBEdit for that. Thanks, Craig > On Jan 10, 2022, at 7:29 PM, Christopher Waterman <[email protected]> > wrote: > > Craig, > > So you are want to open urls to files and folders from an open document in > bbedit? > Assuming I got that right, there is an 'Open URL' contextual menu. Just right > (ctrl) click on a url and have at it. > > There is also Edit > Copy Path > Copy URL to get an escaped version of the > open file’s URL. > Such as: file:///Users/chris/Desktop/file%20with%20spaces.txt > <file:///Users/chris/Desktop/file%20with%20spaces.txt> > > Also 'CMD I' will open an info panel on the open doc that you can copy the > path from. > > Does that help? > — Chris(topher)? > > > >> On Jan 10, 2022, at 3:45 PM, Craig Heilman <[email protected] >> <mailto:[email protected]>> wrote: >> >> In my local note files (text but with .md file extension), I often include >> links to other files using the file URL scheme (“<file:///User/me >> <file:///User/me>/…>”) as I can then easily navigate to those files by >> simply Cmd-clicking anywhere in the URL. For several years I’ve been using >> Path Finder as a Finder replacement and it provides a context menu item of >> “Copy Path -> URL” which makes it pretty easy to get a file URL in the >> proper format (i.e., it automatically encodes spaces etc.). >> >> I’m transitioning to a new MacBook Pro (M1 Max - sweet!) and moving from >> Mojave to Monterey in the process. I’m also considering moving from Path >> Finder to ForkLift or similar or even just the plain old Finder. I know I >> can get the *path* to any file in the Finder or ForkLift but to use it as a >> URL in BBEdit would require massaging the copied data. >> >> Bringing this back to BBEdit - is there anything in BBEdit that can simplify >> this process? I like the idea of starting with the path because that doesn’t >> lock me into any of the Finder/Finder replacements but how to make this as >> close to copy/paste as possible? >> >> Thanks, >> >> Craig >> >> P.S. anyone using hook (https://hookproductivity.com >> <https://hookproductivity.com/>) for stuff like this? >> >> -- >> Craig Heilman >> Bugaboo Software >> >> >> >> >> -- >> This is the BBEdit Talk public discussion group. If you have a feature >> request or need technical support, please email "[email protected] >> <mailto:[email protected]>" rather than posting here. Follow @bbedit on >> Twitter: <https://twitter.com/bbedit <https://twitter.com/bbedit>> >> --- >> You received this message because you are subscribed to the Google Groups >> "BBEdit Talk" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] >> <mailto:[email protected]>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/bbedit/011C58C7-5691-4137-A6F0-D7B057A53440%40bugsoft.com >> >> <https://groups.google.com/d/msgid/bbedit/011C58C7-5691-4137-A6F0-D7B057A53440%40bugsoft.com?utm_medium=email&utm_source=footer>. > > > -- > This is the BBEdit Talk public discussion group. If you have a feature > request or need technical support, please email "[email protected]" > rather than posting here. Follow @bbedit on Twitter: > <https://twitter.com/bbedit <https://twitter.com/bbedit>> > --- > You received this message because you are subscribed to the Google Groups > "BBEdit Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/bbedit/D1C3E96A-DC2C-4335-83EB-7ED8C87DBF75%40rustydogink.com > > <https://groups.google.com/d/msgid/bbedit/D1C3E96A-DC2C-4335-83EB-7ED8C87DBF75%40rustydogink.com?utm_medium=email&utm_source=footer>. -- Craig Heilman Bugaboo Software -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "[email protected]" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/16A98420-5AFD-44AB-BE0C-7F53FC8DAAF8%40bugsoft.com.
