ph_wcopen PowerHome formula function
Description
Opens the Web Center window and optionally navigates to a specified URL.
Syntax
ph_wcopen ( type, URL )
Argument Description
type An integer representing the type of Web Center window to open. A value of 0 will open the Web Center as a window. A value of 1 will open the Web Center as a background. If PowerHome is currently in Kiosk mode, the Web Center will open as a background regardless of this value.
URL A string representing the URL to navigate to when the Web Center is open. Pass an empty string if you wish the Web Center to just open its home page.
Return value
Integer. Returns a 0.
Usage
If the Web Center is already open, this function will just cause the Web Center to navigate to the specified URL if it is not blank.