Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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
You can’t perform that action at this time.