May 12, 2009

WinTask - FFStartBrowser

'
' FFStartBrowser - Starts FireFox  (like StartBrowser)
'
' Author: Joe Strazzere

 

Function FFStartBrowser(URL$)
    Local URL$
    Shell("Firefox.exe "+URL$)
    Pause 5 secs
    If ExistW("FIREFOX.EXE|MozillaWindowClass|Firefox Add-on Updates|1",1) Then
        CloseWindow("FIREFOX.EXE|MozillaWindowClass|Firefox Add-on Updates|1",1)
    EndIf
    If ExistW("FIREFOX.EXE|MozillaDialogClass|Firefox - Restore Previous Session",1) Then
        CloseWindow("FIREFOX.EXE|MozillaDialogClass|Firefox - Restore Previous Session",1)
    EndIf
EndFunction

 

FFStartBrowser("http://www.wintask.com")