Greetings and happy Coviversary:
So, I have a text file that has a path to a file, and I would like to open that
file, or the directory containing that file.
Currently, I copy the path manually, then paste it into the terminal (or a
shell worksheet in BBEdit), and prepend
open "
And append
"
(I can skip the quotes if there are no spaces, of course)
And hit return.
The "Open" service works, but it pops up a "Bbedit wants to use the restricted
service 'open'" every single time, which is almost, but not quite, as annoying
as the cope/paste.
The "Open in BBEdit is fine if the file needs to be opened in BBEdit itself,
but neither open nor open in BBEdit has an option to open the enclosing folder,
so I have to be careful about the selection instead of just the entire line,
and then since I do not want to open the PATH in BBEdit, I have to jump through
the restricted dialog.
It occurs to me there must be a better way to do this? I thought of automator,
but rejected that since there is no flow-control for deciding if to grab the
directory or the full path, but I suppose I cold do two services?
Before I spend a lot of time noodling, any suggestions?
--
How you have felt, o men of Athens, at hearing the speeches of my
accusers, I cannot tell; but I know that their persuasive words
almost made me forget who I was, such was the effect of the,; and
yet they have hardly spoken a word of truth.
--
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/D9A12F75-701B-490E-8BF3-96D49BEAF18A%40kreme.com.