[Techtalk] brower access from fortran 95

Conor Daly c.daly at met.ie
Tue Mar 4 10:00:20 UTC 2008


On Sat, Mar 01, 2008 at 09:46:30PM -0500 or thereabouts, Shirrell wrote:
> 
> Does anyone know how to access a web browser from fortran 95?

Hi Shirrell,

I'm not sure what you mean by that.  Are you trying to interact with the
browser or simply start a browser with a URL from within a fortran program?
If the latter, you could do something like:

        character*200  URL

        write(URL,*)'http://www.linuxchix.org/'

        call system('firefox, URL')

or

        call system('xdg-open, URL')

if you're expecting the user's system to have xdg-utils
(http://portland.freedesktop.org/) installed. I'm not sure though if you can
use a program variable within the system call...



Conor
-- 
Conor Daly,                   
Met Eireann, Glasnevin Hill,  
Dublin 9, Ireland             
Ph +3531 8064276 Fax +3531 8064247

*********************************************************************************
This e-mail and any files transmitted with it are confidential and intended solely for the addressee. If you have received this email in error please notify the sender.
This e-mail message has also been scanned for the presence of computer viruses.

Ta an riomhphost seo, agus aon chomhad ata nasctha leis, faoi run agus is don te a seoladh chuige amhain e. Ma tharla go bhfuair tu an riomhphost seo tri dhearmad cuir in iul don te a sheol e led' thoil.

Ta an teachtaireacht riomhphoist seo scuabtha le bogearrai frithvireas.
********************************************************************************
NorthBridge Mail Server id e9yrhg43fncvj3974vjenw



More information about the Techtalk mailing list