Hello I use _IEAttach($hWnd,"hwnd") to attach to current IE Window, and it generally works well if there's 1 Tab, but if there's more than 1 Tab, for example 2 Tabs, and the Second Tab is Focussed, then it attaches to the First Tab.. even tho the 2nd is the focussed one. How can I make _IEAttach($hWnd,"hwnd") attach to the currently displayed Tab and not always to the first tab? I would like it to work well in an IE window with multiple tabs. Thank you