Converted these images to PNG, saving a handful of bytes per image
[adiumx.git] / ASUnitTests / CantDeleteAChatWindow.applescript
blob6b2503bd5c6468475494915adec0991d74cbefa2
1 global HandyAdiumScripts
3 on run
4 tell application "Adium"
5 set newChatWindow to HandyAdiumScripts's makeNewChatWindow()
6 try
7 delete newChatWindow
8 error
9 on error number num --trap all errors
10 if num is -2700 then error -- if the error is the default error, caused by the 'error' directive, pass it along the chain
11 --otherwise, the command threw correctly
12 end try
13 close newChatWindow
14 end tell
15 end run