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

global HandyAdiumScripts

on run
        tell application "Adium"
                if (get index of window 1) is not 1 then
                        --this is also indicative of a much larger problem
                        --check the sdef for an error with window's 'pidx' property
                        error
                end
        end tell
end run