refresh firefox from .bat file/ command

前端 未结 2 531
无人共我
无人共我 2021-01-13 21:43

I am attempting to refresh Firefox whenever a bat file is called. I Dont want an extension. I need to know if there is a command that can be used from within a .bat file to

2条回答
  •  梦谈多话
    2021-01-13 22:29

    On Error Resume Next
    
    Set objExplorer = CreateObject("InternetExplorer.Application")
    
    objExplorer.Navigate "http://www.microsoft.com/technet/scriptcenter"   
    objExplorer.Visible = 1
    
    Wscript.Sleep 5000
    
    Set objDoc = objExplorer.Document
    
    Do While True
    
    Wscript.Sleep 30000
    objDoc.Location.Reload(True)
    If Err <> 0 Then
        Wscript.Quit
    End If
    
    Loop
    

提交回复
热议问题