Old TextMate nerds will recall that one of the environment variables it
set for Unix scripts in bundles was TM_BUNDLE_SUPPORT, which would be
set to the absolute path of that bundle, so that way scripts could call
other scripts, access their data files, etc., without having to hard
code things.
I need something like that for the AppleScripts that I wrote for
Markdown recently: they call Unix scripts which are stored in the
Markdown Extensions package (Specifically, in its Text Filters
directory). Right now, they're hardcoded to only work with the ~/Library
installation point, but I'd like them to work with Dropbox, as I'd
actually like to move my own support files there soon.
Short of creating two releases, one for Dropbox and one for Library, is
there a way to do this? I don't think BBEdit sets such variables, so it
probably has to be something the script figures out on its own.
--
Watts Martin <[email protected]>
--
You received this message because you are subscribed to the
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
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>