Previous  |  Main  |  Next
AppleScript Logo

Close Window(s) Without Saving

Script for: BBEdit
Copyright: Free, use at your own risk!
Description: Script A: Closes the frontmost window without saving.
Script B: Closes all open windows without saving.
Necessary: None
Download: Script A:  CloseFrontWindow.hqx
Script B:  CloseAllWindows.hqx
The Scripts: Script A:
tell application "BBEdit 6.0"
	try
		close window 1 saving no
	on error
	end try
end tell

Script B:
tell application "BBEdit 6.0"
	try
		close every window saving no
	on error
	end try
end tell

 


Contact: Matthias Steffens  |  Previous  |  Main  |  Next  |  Last Updated: 23-Sep-00