Opens the specified URL.
Core function
Syntax
OpenWebPage( url, params )
Parameters
Parameter | Description |
---|---|
url | HTTP address of a web page to to be opened. Can be a file path converted to URL by UrlFromLocalFsPath() |
params | Object of optional parameters. |
Description
OpenWebPage is a top-level function and is not associated with any object.
param | Type | Description |
---|---|---|
title | String | Title that will be used as title of web browser window. If title is not provided, then HTML's head/title is used. |
scopeUrl | String | URLs not starting with scopeUrl are opened in default OS browser. |
floating | Boolean | Use "floating" window appearance. |
width | Number | Initial window width. |
height | Number | Initial window height. |
singleton | Boolean | Open only one window with the same url, title, floating and scopeUrl at a time. |
profileName | String | Name of window's profile settings (such as position, size, maximized/minimized state). |
Examples
Example 1: Opening a new Web Browser window in Virtual Ticket.
Example 2: Opening a new Web Browser window in overriding title and scope URL.
Example 3: Opening a new Web Browser window OR using currently opened window opened previously with same URL and title.