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

global HandyAdiumScripts

on run
        tell application "Adium"
                set newChatWindow to HandyAdiumScripts's makeNewChatWindow()
                if (get index of chat 1 of newChatWindow) is not 1 then
                        close newChatWindow --restore
                        error
                end
                close newChatWindow --restore
        end tell
end run