Difference between revisions of "StartDefaultBrowser"

From The Official Visionaire Studio: Adventure Game Engine Wiki
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
==startDefaultBrowser==
+
#REDIRECT [[Global Command: startDefaultBrowser]]
 
 
<div class="command-min-version-info">Available since: <span class="command-min-version">v3.0</span></div>
 
 
 
<div class="command-doc">Open an url in user's default browser or in the steam overlay (if active).</div>
 
 
 
Lua Syntax:
 
<pre class="command-syntax">startDefaultBrowser(Url)</pre>
 
===Arguments===
 
====Url====
 
:'''"string"''' - The url which should be opened
 
===Flags===
 
===Return Values===
 
;status
 
:True if browser was successfully launched, false otherwise.
 
===Examples===
 
Example 1: launch default browser & open included link, if browser is already running then open link in a new tab
 
<syntaxhighlight>
 
startDefaultBrowser("http://visionaire-studio.net")
 
</syntaxhighlight>
 

Latest revision as of 12:35, 19 May 2023