Switches the focus to a specified window and bring it to the foreground
#include <WinAPISysWin.au3>
_WinAPI_SwitchToThisWindow ( $hWnd [, $bAltTab = False] )
$hWnd | Handle to the window being switched to. |
$bAltTab | [optional] Specifies whether switches to using the Alt/Ctl+Tab key sequence, valid values: True - The window is being switched to using the Alt/Ctl+Tab key sequence. False - Otherwise (Default). |
Search SwitchToThisWindow in MSDN Library.