Look, this is just sooo simpel, no guns, knifes, or what ever.
Make a nice clean rope from a tree to you house. Put about 500 volt on it, and then when the bird is planning to 'atack' you window, he sits down on the wire, to look if the enviroment is clear, i can asure you 'he will get the shock of his life' (and probably the latest shock in his life

) and to make IPlural feel ok, its toast write away