Nice GEV! Good find on superuser.com that one actually shows menu. Thanks.
But there is one problem. My previous AltTab was set to Xbutton1 & Wheel combo. So i could use wheel to select window and release Xbutton1 to activate with this script, i can't archive this. Maybe you could help?
; SHIFT+ALT+TAB menu F2:: List = Menu, windows, Add Menu, windows, deleteAll WinGet, AllWinsHwnd, List Loop, %AllWinsHwnd% { WinGet, exStyle, exStyle, % "ahk_id" AllWinsHwnd%A_Index% If !(exStyle & 0x100) Continue WinGetTitle, CurrentWinTitle, % "ahk_id " AllWinsHwnd%A_Index% WinGetClass, CurrentWinClass, % "ahk_id " AllWinsHwnd%A_Index% If CurrentWinClass = ApplicationFrameWindow Continue Menu, windows, Add, %CurrentWinTitle%%A_Tab%ahk_class %CurrentWinClass%, WinTitle WinGet, Path, ProcessPath , % "ahk_id " AllWinsHwnd%A_Index% Menu, windows, Icon, %CurrentWinTitle%%A_Tab%ahk_class %CurrentWinClass%, %Path% } Menu, windows, Show return WinTitle: WinActivate, %A_ThisMenuItem% GoSub, MouseCenterInWindow return MouseCenterInWindow: CoordMode, Mouse, Relative WinGetPos,,,Xmax,Ymax,A ; get active window size Xcenter := Xmax/2 ; Calculate center of active window Ycenter := Ymax/2 MouseMove, Xcenter, Ycenter return