Fixed sending files via Applescript; we want the full path, not the absoluteString...
[adiumx.git] / ASUnitTests / CantSetWindowName.applescript
blob7f02af44c41233fb203964b2c9ef1940eed8a3d6
1 global HandyAdiumScripts
3 on run
4 tell application "Adium"
5 set n to (get name of window 1)
6 try
7 set name of window 1 to "dummy"
8 --I shouldn't get here
9 set name of window 1 to n --restore
10 error
11 on error number num
12 if num is -2700 then error
13 end try
14 end tell
15 end run