Global Command: startDefaultBrowser

From The Official Visionaire Studio: Adventure Game Engine Wiki
Revision as of 12:22, 3 May 2023 by EK (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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/")