Hi Folks. Here is some code to navigate automatically through IE in Visual Basic:Function FillGoogle()
Dim ie As Object
Set ie = CreateObject("internetexplorer.application")
ie.Navigate "
ie.Visible = True
While ie.busy
DoEvents 'wait until IE is done loading page.
Wend
ie.document.all("q").Value = "SEARCH TEXT"
ie.document.all("btng").Click
While ie.busy
DoEvents
Wend
End Function
What I want to do is do the same thing in a DOS batch file. Comments anyone? I know how to open a browser window in DOS, but that's about all. Specifically, I would like to open multiple browser windows, navigate to them, log in, and see what I have going with multiple accounts that I have set up (if you get my drift)... thanks!
Also, I would like to do it through firefox, but if IE is easier, it really doesn't matter. I appreciate any and all help I can get on this!
Dim ie As Object
Set ie = CreateObject("internetexplorer.application")
ie.Navigate "
ie.Visible = True
While ie.busy
DoEvents 'wait until IE is done loading page.
Wend
ie.document.all("q").Value = "SEARCH TEXT"
ie.document.all("btng").Click
While ie.busy
DoEvents
Wend
End Function
What I want to do is do the same thing in a DOS batch file. Comments anyone? I know how to open a browser window in DOS, but that's about all. Specifically, I would like to open multiple browser windows, navigate to them, log in, and see what I have going with multiple accounts that I have set up (if you get my drift)... thanks!
Also, I would like to do it through firefox, but if IE is easier, it really doesn't matter. I appreciate any and all help I can get on this!