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 / ChangeStatus.applescript

global HandyAdiumScripts

on run
        tell application "Adium"
                tell account (HandyAdiumScripts's defaultAccount)
                        go offline
                        if (get status type) is not offline then error
                        go online
                        if (get status type) is not available then error
                end tell
        end tell
end run