open tab in firefox
Posted: Wed Sep 15, 2010 4:55 pm
I would like to open the homepage of my program in firefox when my program is started.
How would I achive this?
How would I achive this?
http://www.purebasic.com
https://www.purebasic.fr/english/
Code: Select all
RunProgramm("http://yourwebsite.tld")Code: Select all
RunProgram("http://www.blah.com/")Don't you worry. It's not a competetionInnesoft wrote:Edit: damn too slow
you can explicitly open the URL in a new tab or a new window with firefox.open tab in firefox
Code: Select all
RunProgram(GetEnvironmentVariable("ProgramFiles")+"\Mozilla Firefox\firefox.exe", "-new-tab " + "http://www.purebasic.com", GetCurrentDirectory())
RunProgram(GetEnvironmentVariable("ProgramFiles")+"\Mozilla Firefox\firefox.exe", "-new-window " + "http://www.purebasic.com", GetCurrentDirectory())for that purpose it's better to do it like the others have shown, because it will use the users default browser.I would like to open the homepage of my program...