Commands & Syntax > Commands > Networking/Web/E-mail >

Web OPEN PAGE - < wwwopen >() ... [Pro]

www.perfectkeyboard.com

 

Web OPEN PAGE
<wwwopen>("URL",Window state,Time to wait,Window handle,Browser)
Available in: Professional edition

Opens web page in a web browser.
Note: In order to use this command together with "www_fillform" command the "Internet Explorer" browser must be used.

 

#

Parameter name

Parameter description

1

URL

Link (URL) to the web page (e.g., "http://www.macrotoolworks.com"). The link must contain http://, https://, etc. prefix.

2

Window state

The state of the window:
0 - Normal
1 - Maximized
2 - Minimized

3

Time to wait

Time in seconds. If the web page is not opened in this time frame then the command fails.

4

Window handle

The value of this field can be one of these:

Variable name - variable containing handle identifying web browser window to use. If the variable value is "empty" then a new web browser window is opened. The variable receives handle of this new browser window.

0 or Empty - if the field is empty or contains 0 then an already opened window is used.

1 - if the field contains 1 then a new Internet Explorer window is open.

2 - if the field contains 2 then a new Internet Explorer tab is open.

5

Browser

Browser to use:
IE - Internet Explorer
Default - The browser that is set as default is used. In this case the previous "Time to wait" parameter and "Window handle" parameters are ignored.

 

Example (Macro Steps):

 

1

<#> <#> This command opens pitrinec.com web page

2

Macro execution: ONLY COMMANDS

3

Web OPEN PAGE URL = http://wwww.pitrinec.com, Window state = Normal, Time to wait = 15, Window handle = , Browser = Internet Explorer

Example (Plain Text):

 

<#> This command opens pitrinec.com web page

<#>

<cmds>

<wwwopen>("http://wwww.pitrinec.com",0,15,,IE)