Page 1 of 1

How to open a browser...

Posted: Thu May 03, 2007 6:26 pm
by DoubleDutch
Does anyone know how to get a Mac purebasic program to Open the default browser to a specific website?

Posted: Thu May 03, 2007 7:26 pm
by freak
Try this:

Code: Select all

RunProgram("open", FileName$, "")
Filename may need the full path, i do not remember exactly.

Posted: Thu May 03, 2007 7:56 pm
by DoubleDutch
That worked great. Thanks!