Unescape the HREF attribute's text before passing it to NSURL which does not expect...
[adiumx.git] / ASUnitTests / CantDeleteService.applescript
blob5255498ae99257b8dd5d347ad8854ae4ed86e296
1 global HandyAdiumScripts
3 on run
4 tell application "Adium"
5 try
6 delete service 1
7 error
8 on error number num --trap all errors
9 if num is -2700 then error -- if the error is the default error, caused by the 'error' directive, pass it along the chain
10 --otherwise, the command threw correctly
11 end try
12 end tell
13 end run