Fixed sending files via Applescript; we want the full path, not the absoluteString...
[adiumx.git] / ASUnitTests / SetWindowResizable.applescript
blobe36e763cdece1e3cf53256dd160cc53c33e9ed69
1 global HandyAdiumScripts
3 on run
4 tell application "Adium"
5 set r to (get resizable of window 1) --for later restoration
6 try
7 set resizable of window 1 to (not r)
8 --should not get here
9 set resizable of window 1 to r
10 error
11 on error number num
12 if num is -2700 then error
13 end try
14 end tell
15 end run