Skip to content

Instantly share code, notes, and snippets.

@rwilcox
Created April 10, 2012 12:25
Show Gist options
  • Save rwilcox/2351038 to your computer and use it in GitHub Desktop.
Save rwilcox/2351038 to your computer and use it in GitHub Desktop.
Close and Saving front file in BBEdit
-- by Ryan Wilcox, in the Public Domain
tell application "BBEdit"
tell document 1
close with saving -- "close without saving" is syntax for other way
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment