I do this in Keyboard Maestro, which runs this AppleScript whenever
BBEdit loses focus

if application "BBEdit" is running then

try

tell application "BBEdit"

tell document 1

save

end tell

end tell

end try

end if



This will save the front-most document.


I'm sure there's a way to tell it to save all documents, but I'm not
sure what that is off the top of my head.


Tj



On Tue, Dec 30, 2014 at 9:20 AM, Tom Mai <[email protected]> wrote:
> Hi,
> does anybody know how to convince BBEdit to auto save the current
> document(s) when it loses focus?
>
> --
> 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].

-- 
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