I'm back using BBEdit on a project and have a mildly interesting dilemma.
We have a lot of files that are organized roughly like so:

docs/api/javascript/math-and-logic/not.md
docs/api/python/math-and-logic/not.md
docs/api/ruby/math-and-logic/not.md

...etc. What I'd like to do is have a script which will look at the current
filename, and if it contains "/api/" then it will try to open the
corresponding files: that is, if /api/javascript/... is opened then it will
open /api/python/... and /api/ruby/...

I suspect this is fairly trivial but I have no idea how to accomplish it in
AppleScript. Is this a better case for a shell script? And is calling the
bbedit command from a shell script being run by bbedit going to cause any
hiccups?

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.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 post to this group, send email to [email protected].

Reply via email to