Function _IE_Example

Function Reference


_IE_Example

Display a new browser window pre-loaded with documents to be used in IE.au3 examples or your own testing

#include <IE.au3>
_IE_Example ( [$sModule = "basic"] )

Parameters

$sModule [optional] specifies which module to run
    "basic" = (Default) simple HTML page with text, links and images
    "form" = simple HTML page with multiple form elements
    "frameset" = simple HTML page with frames
    "iframe" = simple HTML page with iframes
    "table" = simple HTML page with tables

Return Value

Success: an object variable pointing to an InternetExplorer.Application object.
Failure: sets the @error flag to non-zero.
@error: 5 ($_IEStatus_InvalidValue) - Invalid Value
@extended: Contains invalid parameter number

Remarks

This function displays browser windows pre-populated with HTML and HTML elements that are used throughout the helpfile and IE.au3 examples.
You are also encouraged to use them to experiment with the IE.au3 function set.

Related

_IE_Introduction

Example

; Create browser windows with each of the example pages displayed.
; The object variable returned can be used just as the object
; variables returned by _IECreate or _IEAttach

#include <IE.au3>

Local $oIE_basic = _IE_Example("basic")
Local $oIE_form = _IE_Example("form")
Local $oIE_table = _IE_Example("table")
Local $oIE_frameset = _IE_Example("frameset")
Local $oIE_iframe = _IE_Example("iframe")