net/
mg_open_url.pro
top source mg_open_url
mg_open_url, url [, /help_browser]
Open an URL in the default web browser. On Windows and Mac there is a
standard method for doing this. On UNIX platforms, the first time this
routine is called it will ask for the location of your preferred web browser
and save this location in the APP_USER_DIR for MG_OPEN_URL
.
Parameters
- url in required type=string
url to open in the default web browser
Keywords
- help_browser in optional type=boolean
set to open URL in
ONLINE_HELP
application instead of default web browser
Examples
For example to open the IDL page on ITT VIS' website in the default web browser, do:
IDL> mg_open_url, 'http://ittvis.com/IDL'
Author information
- Author:
Michael Galloy, 2006
Other attributes
- Requires:
IDL 6.1
File attributes
Modification date: | Wed Jul 6 11:30:57 2011 |
Lines: | 94 |
Docformat: | rst rst |
Contact me if you have enhancement requests or bug fixes.