Fixed sending files via Applescript; we want the full path, not the absoluteString...
[adiumx.git] / ASUnitTests / CantCreateService.applescript
blob9eeb578b9ccac58e6fb4d41ac5831dfb4d68431f
1 global HandyAdiumScripts
3 on run
4 tell application "Adium"
5 try
6 make new service
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