1 global HandyAdiumScripts
4 tell application "Adium"
5 set newChatWindow
to HandyAdiumScripts's
makeNewChatWindow()
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