Difference between revisions of "StartDefaultBrowser"

From The Official Visionaire Studio: Adventure Game Engine Wiki
(Created page with "<div class="toccolours mw-collapsible mw-collapsed" style="background: #f0f0f0; border: 1px dashed darkgrey" width="100%"> <b>Command History</b> <div class="mw-collapsible-co...")
 
Line 2: Line 2:
 
<b>Command History</b>
 
<b>Command History</b>
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
Available since <span style="color:green">v3.7</span>
+
<div style="background:#ebebeb" width="100%">Available since <span style="color:orange">v3.7</span></div>
 
</div></div>
 
</div></div>
  

Revision as of 19:07, 7 March 2013

Command History

Available since v3.7


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!

Flags: none

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