I want to have a code where it Opens a message box you select yes or no then after selecting yes
It opens a new webpage, waits 10 seconds, closes it,
repeat
then at end have a message box saying finished?
I kinda got started but can someone help me
x=msgbox ("BLAH CLICK YES", 4,"blah")
if x=6 then
msgbox "d", 0,"Ve"
Const newTab = &H800
Set objIE = CreateObject("InternetExplorer.Application")
objIE.Navigate "
http://www.google.com/1"
objIE.Visible = True
WScript.Sleep 6
Set objIE = CreateObject("InternetExplorer.Application")
objIE.Navigate "
http://www.newopen.com"
objIE.Visible = True
WScript.Sleep 6
objIE.Navigate2 "
http://www.miniclip.com/games/kung-fu-statesmen/en/", newTab
objIE.Visible = False
Set objIE = CreateObject("InternetExplorer.Application")
objIE.Navigate "
http://www.endpage.com"
objIE.Visible = True
Set objShell = WScript.CreateObject("WScript.Shell")
objShell.Run("C:\test.bat"), 0, True
elseif x=7 then
msgbox "Exit ?", 0,"Are you sure?"
end if