Re: IDL program opens a Web page [message #40273] |
Thu, 29 July 2004 13:52 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Wayne Landsman writes:
> P.S Sorry for the uniformative original subject name -- I hit SEND too
> quickly.
Well, you were probably excited. :-)
But we would all benefit from hearing from you more often. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|
Re: IDL program opens a Web page [message #40274 is a reply to message #40273] |
Thu, 29 July 2004 13:34  |
Wayne Landsman
Messages: 117 Registered: January 1997
|
Senior Member |
|
|
> If the web page exists locally, this works nicely:
>
> IDL> ONLINE_HELP, BOOK='C:/CoyoteGuide/index.html'
>
> You can open up PDF and HTML files this way in a
> machine independent way. I don't know about an
> external web page.
Thanks. On my Linux box this doesn't work for an external Web page
but it may not be hard to modfiy. ONLINE_HELP calls a script
online_help_html located in the /bin directory of the IDL distribution.
This script seems to be hard-coded so that only a URL representing a
local file will work, e.g. if the browser is MOZILLA
mozilla -remote "openURL(file:$1)" 2>/dev/null
so presumably 'file' could be replaced by 'http'.
--Wayne
P.S Sorry for the uniformative original subject name -- I hit SEND too
quickly.
|
|
|