OpenWebpage Method

Action2 Example

 

Encapsulates the AutoMate™ action in the “General” group, “Open webpage.” The method opens a webpage in the default browser.

 

Declaration

function OpenWebpage (varWebpageAddress As Variant) As Integer

 

Parameters

varWebpageAddress

 The URL of the webpage to open.

 

Description

The OpenWebpage method attempts to open the webpage pointed to by varWebpageAddress in the system’s default browser.

 

If the default web browser cannot be opened, the method returns “1.” Otherwise, it returns “0.” Note that the function will therefore return a success regardless of whether or not the page was successfully opened.