Difference between revisions of "StartDefaultBrowser"

From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 26: Line 26:
  
 
<b>url</b>: "string" <br/>
 
<b>url</b>: "string" <br/>
The url to be opened inside of your default internet browser!  
+
The url to be opened inside of your default internet browser! (if default browser is already open, then url will be opened in a new tab)
  
  

Revision as of 15:58, 12 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! (if default browser is already open, then url will be opened in a new tab)


Flags

none


Return

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