Little refactored version: ; Trap COM errors so that 'Back' and 'Forward' ; outside of history bounds does not abort script ; (expect COM errors to be sent to the console) #include <GUIConstantsEx.au3> #include <IE.au3> #include <WindowsConstants.au3> Global $oIE Global $g_idError_Message _IEErrorHandlerRegister() _Example() Exit Func _Example() $oIE = _IECreateEmbedded()&#