Difference between revisions of "Global Command: startDefaultBrowser"
From The Official Visionaire Studio: Adventure Game Engine Wiki
(Created page with "Open a URL in the user's default browser or in the steam overlay (if active). == Syntax == <syntaxhighlight lang="lua"> startDefaultBrowser(url) </syntaxhighlight> == Para...") |
(No difference)
|
Latest revision as of 13:22, 3 May 2023
Open a URL in the user's default browser or in the steam overlay (if active).
Syntax
startDefaultBrowser(url)
Parameters
Parameter | Type | Description |
---|---|---|
url | string | The URL which should be opened. |
Return values
Type | Description |
---|---|
boolean | True if the browser was successfully launched, false otherwise. |
Examples
Example 1: Open the Visionaire Wiki homepage.
startDefaultBrowser("https://wiki.visionaire-tracker.net/")