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" | + | <div class="toccolours mw-collapsible mw-collapsed tbl-ds"> |
− | + | <span class="bold">Command History</span> | |
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
− | <div | + | <div class="alt-bg">Available since v?</div> |
</div></div> | </div></div> | ||
Line 23: | Line 23: | ||
− | < | + | <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) | 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 | none | ||
− | < | + | <span class="bold underline">Return</span> |
− | < | + | <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!