comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Open webpage
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Open webpage [message #72210] Mon, 23 August 2010 07:30 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 8/23/10 4:50 am, Wox wrote:
> Hi All,
>
> I used to open a webpage from within IDL using online_help like this:
>
> file='link.html'
> URL='http://www.dfanning.com'
> openw,lun,file,/get_lun
> printf,lun,'<HTML><HEAD><META HTTP-EQUIV="refresh" CONTENT="0;
> URL='+URL+'"></HEAD>If this page does not refresh, click<A
> HREF="'+URL+'">here</A>.</HTML>'
> free_lun,lun
> online_help,book=file
>
> This doesn't seem to work anymore in IDL8.0 Any ideas for a
> cross-platform way of opening a webpage in a webbrowser from within
> IDL?

Try MG_OPEN_URL:

http://lib.idldev.com/net/mg_open_url.pro

Should work nicely on Mac and Windows; on Linux, you will be asked on
the first use to locate your preferred browser, after that it should
work automatically.

Mike
--
www.michaelgalloy.com
Research Mathematician
Tech-X Corporation
[Message index]
 
Read Message
Read Message
Previous Topic: Re: IDLdoc 3.3alpha1
Next Topic: Help on text data

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:35:27 PDT 2025

Total time taken to generate the page: 0.00407 seconds