Difference between revisions of "StartDefaultBrowser"

From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 1: Line 1:
<div class="toccolours mw-collapsible mw-collapsed" style="background: #f0f0f0; border: 1px dashed darkgrey" width="100%">
+
<div class="toccolours mw-collapsible mw-collapsed tbl-ds">
<b>Command History</b>
+
<span class="bold">Command History</span>
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
<div style="background:#ebebeb" width="100%">Available since <span style="color:orange">v3.7</span></div>
+
<div class="alt-bg">Available since v?</div>
 
</div></div>
 
</div></div>
  
Line 23: Line 23:
  
  
<b><u>Arguments</u></b>
+
<span class="bold underline">Arguments</span>
  
<b>url</b>: "string" <br/>
+
<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)
 
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)
  
  
<b><u>Flags</u></b>
+
<span class="bold underline">Flags</span>
  
 
none
 
none
  
  
<b><u>Return</u></b>
+
<span class="bold underline">Return</span>
  
<b>status</b> <br/>
+
<span class="bold">status</span> <br/>
 
True/false depending if the browser was successfully launched!
 
True/false depending if the browser was successfully launched!
 
{{i18n|StartDefaultBrowser}}
 
{{i18n|StartDefaultBrowser}}

Revision as of 13:07, 4 April 2013

Command History

Available since v?


Allows you to open an url inside of your default internet browser!


Syntax:

startDefaultBrowser("url")


Example:

-- launch default browser & open included link else if browser is already then open link in a new tab!
startDefaultBrowser("http://visionaire-studio.net")


Arguments

url: "string"
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)


Flags

none


Return

status
True/false depending if the browser was successfully launched!