Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | ATOMS
File : Details
Login with GitLab

browseURL()

opens URLs in the default or preferred internet browser (OS-independent)
(1734 downloads for this version - 1734 downloads for all versions)
Details
Version
1.0
Author
Samuel Gougeon
Maintainer
Samuel Gougeon
Categories
License
Supported Scilab Version
5.0
Creation Date
September 12, 2015
Description
            This function aims to open URLs from Scilab in the user's internet browser, in a
identical way whatever is the operating system (plateform).

--> browseURL

 Opens one or several URLs in the default or preferred web browser

 SYNTAX
 ------
 browseURL      // Displays this help
 browseURL(url)

 PARAMETERS
 ----------
 url : Single or vector of full URLs (text). 
       If no protocol is specified, 'http://' is prepended to url.

 DESCRIPTION
 -----------
 browseURL()
 * looks for a web browser set in Scilab Preferences, or a default one,
 * opens it -- or new tab(s) in the current browser session --,
 * and displays the given URL(s), provided that an internet connexion is alive

 WARNING:
  * All literal double quotes included in URLs must priorly be encoded as %22
  * IE will open a new window for each URL, instead of a new tab.

 NOTE: browseURL() has been tested with Firefox, Chrome, IE and Safari
       under MSWindow, and with Firefox under Linux.

 NOTE: No portable equivalent options common to main web browsers have been
  found. Therefore, no option is proposed through browseURL.
  For information only, main browser-specific command line options are
   presented hereafter for major browsers:
  * FIREFOX: -new-windows -new-tab -height 600 -width 600 -search term
             -foreground (bring it to the FG)
  * CHROME:  --user-data-dir
  * SAFARI: no options found.
  * IE: -k : full screen, no address bar, no navigation bar, no buttons
  * EDGE: First release to come.

 SEE ALSO
 --------
 getURL : Download an URL (HTTP, HTTPS, FTP...)
 preferences: Set interactively Scilab's web preferences

 FEEDBACK
 --------
  Comments, scoring and bug reports about browseURL() are welcome on
  http://fileexchange.scilab.org/toolboxes/453000#new_comment
  Feedbacks from Linux and MacOS users are encouraged.

 EXAMPLES
 --------
 browseURL("http://www.scilab.org")
 browseURL(['atoms.scilab.org' 'http://help.scilab.org'])
 browseURL('fileexchange.scilab.org/toolboxes/360000#files')
 browseURL('fileexchange.scilab.org/?order=authors&direction=DESC#advanced')

            
Files (2)
[48.86 kB]
Screenshot
Main browsers logos for browseURL() thumbnail
[4.58 kB]
Miscellaneous file
File defining the function browseURL(), help contents and examples

* MAKE browseURL() AVAILABLE in EVERY SESSION: Click here to see HOW TO

* Get help: Enter "browseURL" without parameters

News (0)
Comments (0)
Leave a comment
You must register and log in before leaving a comment.
Login with GitLab
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.