On Mar 21, 2011 at 08:27 AM -0400, Rich Siegel wrote:
When you run a script or filter from the #! menu, BBEdit sets up some
variables in the environment, one of which is BB_DOC_PATH, the path to the
front document.
As far as I can tell, these variables are only implemented for filters and
not scripts. Note, I run my scripts in Terminal, which might affect this.
Scratch that - if I set scripts to not run in Terminal, I do indeed pick up
the right variables. Thanks.
--
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>