In windows 7, when you press alt tab you get a list of windows and can cycle through them effectively. Is there a way to close the window you are currently on instead of actually going to that window and pressing the "x" or alt f4.
By default, this is not possible as it is not programmed default functionality within Windows - however, there are a few 3rd party apps out there which extend the functionality of alt-tab.
That said, I am not sure I would trust most of them, so tread carefully.
Alt+tab to the window you need to close. Holding alt press "Enter", it will focus selected window, then press F4 on the same alt. The most programs support "Alt+F4" as a way for quiting them. Don't release alt and you'll can keep on alt+tabbing.
So, MacOS can command+(tab→q→tab→q→tab→q...)
In Win7 alt+(tab→enter→f4→tab→enter→f4→tab→enter→f4→...) works fine for me.
And don't forget, you can use arrows to navigate through alttab context menu.