...
Wiki Markup |
---|
{alias:qopenurl}
h2. Name
*qopenurl* — open an URL link or file
h2. Syntax
{panel:|borderStyle=solid|borderWidth=1|bgColor=#FFFFAA}
*qopenurl* _url\_link_ | _url\_file_
{panel}
h2. Description
The *qopenurl* command opens the a web page in the default browser or the file that is requested.
h2. Arguments
_url\_link_
{indent}
The _url\_link_ is opened in the default browser.
{indent}
_url\_file_
{indent}
The _url\_file_ is opened according to the file type.
{indent}
h2. Examples
h3. Ex.1: Open web pages
{anchor:Open web pages}
{noformat:|borderWidth=1|bgColor=#eeeeee}
qopenurl www.geocap.no ;# opens the geocap web page
{noformat}
h3. Ex.2: Open file through URL
{anchor:Open URL files}
Various files can be opened through URL
{noformat:|borderWidth=1|bgColor=#eeeeee}
qopenurl c:/helpfile.html
qopenurl c:/myexcelsheet.xls
qopenurl mailto:support@geocap.no
{noformat}
|