|
|
(5 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− | <div class="toccolours mw-collapsible mw-collapsed" style="background: #f0f0f0; border: 1px dashed darkgrey" width="100%">
| + | #REDIRECT [[Global Command: startDefaultBrowser]] |
− | <b>Command History</b>
| |
− | <div class="mw-collapsible-content">
| |
− | <div style="background:#ebebeb" width="100%">Available since <span style="color:orange">v3.7</span></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>
| |
− | | |
− | | |
− | | |
− | <b><u>Arguments</u></b>
| |
− | | |
− | <b>url</b>: "string" <br/>
| |
− | 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)
| |
− | | |
− | | |
− | <b><u>Flags</u></b>
| |
− | | |
− | none
| |
− | | |
− | | |
− | <b><u>Return</u></b>
| |
− | | |
− | <b>status</b> <br/>
| |
− | True/false depending if the browser was successfully launched!
| |
− | {{i18n|StartDefaultBrowser}}
| |