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

Home » Public Forums » archive » Re: Open URL in external browser
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 URL in external browser [message #69838 is a reply to message #69835] Wed, 17 February 2010 10:22 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 2/17/10 11:13 AM, Rob wrote:
> Is there a native IDL method for opening a URL (e.g.
> http://spidr.ngdc.noaa.gov/spidr/servlet/GetMetadata?param=i ono.WI937)
> in a browser? I'm not looking for a "spawn" like executive solution.
> I'm building a tool that must work on many OS's including OSx,
> Windows, possibly Linux.
>
> I looked into the "online_help" procedure which seems to work only for
> local (a la file://) content.

Here's my solution:

http://michaelgalloy.com/wp-content/uploads/2010/02/mg_open_ url.pro

It is a "spawn" solution, but has separate cases for the different
operating systems. Mac OS X and Windows have nice (though different)
ways to open the default web browser on the URL. On other Unix systems,
a file dialog will come up to select your web browser. It will remember
your choice, so you only have to choose once (I suppose I should add a
keyword to force the choice so that you can change your mind later).

Mike
--
www.michaelgalloy.com
Research Mathematician
Tech-X Corporation
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Coyote Cojones
Next Topic: Re: How to spot maximum x value AND corresponding y value?

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

Current Time: Sun Oct 12 04:38:48 PDT 2025

Total time taken to generate the page: 1.52012 seconds