On Mar 21, 2011 at 04:48 PM +1100, Charlie Garrison wrote:
FRONT_DOC=`osascript -e 'tell application "BBEdit" to get POSIX path of
((file of front document) as string)'`
So, not built-in to BBEdit, but just a one-liner to add to existing
scripts.
Yes, I remember thinking of this solution. Unfortunately (at the time at
least), BBEdit locks out this kind of behavior when called from a script run
from the Unix menu. I'll try it again tomorrow.
I seem to recall having a discussion about this with support at some point,
but can't find the email in my archive.
--
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>