Skip to content

Instantly share code, notes, and snippets.

View gingi's full-sized avatar

Shiran Pasternak gingi

View GitHub Profile
@gingi
gingi / Application.applicationWillSwitchOut.applescript
Created June 15, 2012 14:38 — forked from benspaulding/Application.applicationWillSwitchOut.applescript
AppleScript that will save all documents with unsaved changes when BBEdit loses focus.
(*
File:
Application.applicationWillSwitchOut.scpt
Abstract:
This script will automatically save all on-disk text documents with unsaved
changes when BBEdit loses focus.
Version: