Difference between revisions of "StartDefaultBrowser"

From The Official Visionaire Studio: Adventure Game Engine Wiki
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
−
<div class="toccolours mw-collapsible mw-collapsed" style="background: #f0f0f0; border: 1px dashed darkgrey" width="100%">
+
#REDIRECT [[Global Command: startDefaultBrowser]]
−
<b>Command History</b>
 
−
<div class="mw-collapsible-content">
 
−
<div style="background:#ebebeb" width="100%">Available since <span style="color:orange">v3.7</span></div>
 
−
</div></div>
 
−
 
 
−
 
 
−
Allows you to open an url inside of your default internet browser!
 
−
 
 
−
 
 
−
Syntax:
 
−
<syntaxhighlight>
 
−
startDefaultBrowser("url")
 
−
</syntaxhighlight>
 
−
 
 
−
 
 
−
Example:
 
−
<syntaxhighlight enclose="div">
 
−
-- launch default browser & open included link else if browser is already then open link in a new tab!
 
−
startDefaultBrowser("http://visionaire-studio.net")
 
−
</syntaxhighlight>
 
−
 
 
−
 
 
−
 
 
−
<b><u>Arguments</u></b>
 
−
 
 
−
url: "string" <br/>
 
−
The url to be opened inside of your default internet browser!
 
−
 
 
−
Flags: none
 
−
 
 
−
Return: status <br/>
 
−
True/false depending if the browser was successfully launched!
 
−
{{i18n|StartDefaultBrowser}}
 

Latest revision as of 13:35, 19 May 2023