here is next example: #include <MsgBoxConstants.au3> #include <AutoItConstants.au3> #include <array.au3> #include <ie.au3> #include <WinAPIProc.au3> _IEErrorHandlerRegister(_ErrFunc) _Example() Func _Example() Local $iPID = Run(@ProgramFilesDir & "\Internet Explorer\iexplore.exe about:blank1-2 -noframemerging -private") Local $hwnd = 0 Local $oIE ConsoleWrite('$iPID