We had a problem with crows gathering in a mulberry tree out back one year.
My husband took the screen out of the window and made himself comfortable, sling-shot and peanuts in hand.
The squirrels enjoyed the peanuts. The crows didn't know what hit them, but they quickly moved on. They rarely return, but when they do the squirrels get a treat - and hubby gets to play with the sling-shot.
I have nothing against crows. They make great garbagemen, but I'd rather they not hold their union meetings outside my bedroom window.