Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Close Safari window without confirmation' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Close Safari window without confirmation
Authored by: DougAdams on Aug 21, '09 08:53:46AM
Slightly different annoyance for me is closing all Safari windows but the front window. But AppleScript can do it:
tell application "Safari"
	set x to count of every window
	if x > 1 then
		repeat with i from x to 2 by -1
			close window i
		end repeat
	end if
end tell

Doug's AppleScripts for iTunes

[ Reply to This | # ]