Difference between revisions of "StartDefaultBrowser"

From The Official Visionaire Studio: Adventure Game Engine Wiki
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
−
<div class="toccolours mw-collapsible mw-collapsed tbl-ds">
+
#REDIRECT [[Global Command: startDefaultBrowser]]
−
<span class="bold">Command History</span>
 
−
<div class="mw-collapsible-content">
 
−
<div class="alt-bg">Available since v?</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>
 
−
 
 
−
 
 
−
 
 
−
<span class="bold underline">Arguments</span>
 
−
 
 
−
<span class="bold">url</span>: "string" <br/>
 
−
The url to be opened inside of your default internet browser! (if default browser is already open; then the url will be opened in a new tab)
 
−
 
 
−
 
 
−
<span class="bold underline">Flags</span>
 
−
 
 
−
none
 
−
 
 
−
 
 
−
<span class="bold underline">Return</span>
 
−
 
 
−
<span class="bold">status</span> <br/>
 
−
True/false depending if the browser was successfully launched!
 
−
{{i18n|StartDefaultBrowser}}
 

Latest revision as of 13:35, 19 May 2023