#include HotKeySet("^!p", "_Pause") $Paused = 0 $oIE = _IECreate("www.google.nl") $IEhwnd = _IEPropertyGet($oIE, "hwnd") __IENavigate($oIE, "www.google.nl", 0, 0x800) __IENavigate($oIE, "www.google.nl", 0, 0x800) While 1 If WinExists($IEhwnd) Then WinActivate($IEhwnd) Else ExitLoop EndIf Sleep(5000) Send("^{TAB}") WEnd Func _Pause() $Paused = Not $Paused While $Paused Sleep(100) WEnd EndFunc