William Bowling is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

wbowling / adium (fork of adium / adium)

Fork of Adium for patches/improvements

Clone this repository (size: 338.7 MB): HTTPS / SSH
hg clone https://bitbucket.org/wbowling/adium
hg clone ssh://hg@bitbucket.org/wbowling/adium

adium / ASUnitTests / SetWindowResizable.applescript

global HandyAdiumScripts

on run
        tell application "Adium"
                set r to (get resizable of window 1) --for later restoration
                try
                        set resizable of window 1 to (not r)
                        --should not get here
                        set resizable of window 1 to r
                        error
                on error number num
                        if num is -2700 then error
                end try
        end tell
end run