OpenBrowser

Description:
Open an occurrence of the Web Browser

Format:
Open Browser (boolean Visible)

Parameters:

boolean

Visible

Make the Web Browser visible.
TRUE - visible
FALSE - not visible

Return Value:

integer

Session ID

The occurrence number of the Web Browser that was opened. If the return is negative an error occurred.

Usage:
Use this function to open an occurrence of the Web Browser before issuing any navigation requests. Multiple occurrences of the Web Browser may be opened. Use the returned Session ID to specify which occurrence of the Web Browser subsequent functions should operate on. Many other functions default to the first occurrence of the Web Broswer, if one is not specified.

Example 1:
Open a single visible occurrence of the Web Broswer and navigate to Yahoo

OpenBroswer (TRUE)
GotoDocument ('
http://www.yahoo.com')

Example 2:
Open two occurrences of the Web Broswer and navigate to Yahoo on one and Google on the other.

integer intSessA
integer intSessB

intSessA = OpenBroswer (TRUE)
intSessB = OpenBroswer (TRUE)
GotoDocument (intSessA, '
http://www.yahoo.com')
GotoDocument (intSessB, '
http://www.google.com')

Hosted by www.Geocities.ws

1