Kixtart Script help needed.

Hi experts,

I need your help with writing a script (not necessary kixtart) which can achieve the followings:

- run in Windows 95 and Windows NT workstation.
- be able to detect if an IE broswer window is running, if not, start an IE broswer with address specified (not home address). One minute after the first broswer started, change the broswer window to broswer another web site or start another broswer windows and keep doing this every one minute (have to keep 1 to 2 windows opening all the time).

Please post your comments here or email me the scipt to

Please comments first.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Tim HolmanCommented:
start c:\program files\internet explorer\iexplore


hubenAuthor Commented:
tim: I need 1 to 2 explorer keep refreshing web pages every one minutes. I can certainly start a web page, but how can I
- close it and start a new IE page automatically

- refresh the current web page

English is not my first language, sorry if I did not make it clear.

Tim HolmanCommented:
Are these your web pages ?
If so, you could make the web pages refresh automatically, or kick off new browser sessions.
That's the only way I can think of.
Let me know if this is what you want and I'll post you the HTML code.
Exploring SQL Server 2016: Fundamentals

Learn the fundamentals of Microsoft SQL Server, a relational database management system that stores and retrieves data when requested by other software applications.

hubenAuthor Commented:
Please, I will give it a go.

Tim HolmanCommented:
Adding the following meta tag to the <head> will automatically load the URL after X seconds. This is commonly used to refresh a page at a regular interval.  

<meta http-equiv="refresh" content="X; url=URL">  

(from - )

& use New Window PopUp from :
hubenAuthor Commented:
Thanks Tim

I tried, but found it did refresh the page to whatever I put behine "url=" web page, but it did not refresh after the time specified.

Maybe I did not make the qustion clear from the beginning: I like 1 to 2 internet explorer window open and keep refreshing the web page in a time manner. If possible, close one IE window and start another one will be better.

Please feel free to ask me what I mean if you can not understand.

Thanks, and more ideas?
hubenAuthor Commented:
I explain again: I put

meta http-equiv="refresh" content="10;"

and the page did change to after 10 seconds, but another 10 seconds later, nothing happened. I want the page keep updating every 10 seconds.

Is this possible?

Tim HolmanCommented:
..unless had a similar meta tag in their home page !
I thought you were doing this with pages of your own ???
The url entry should be pointing to itself, if that makes sense ?
Are you wanting to refresh the SAME web page, or open others that are not your own ?
You could get around this by framing, so that the meta tag in your web page still works, and refreshes the whole lot, regardless of whether or not they've a meta tag in them.
hubenAuthor Commented:
Thanks, Tim,

I don't quiet understand what you said about meta tage. Let me explain what I want to achieve again, and see if you have understood me correctly or not.

I would like to run a script or batch file which can do the followings:
- open a IE explorer window with address WWW.AAA.COM
- after some time (1 minute), change the explorer address to WWW.BBB.COM 
- If site WWW.AAA.COM has changed web content, refresh the content

Thanks for your help up to point.

Tim HolmanCommented:
Those two links I posted up show you how to start a new browser window and to refresh a web page.
If the web page contains another web page (ie framed) then that page will be updated too (I think !).
I'll look in my HTML book tonight for you.
Tim HolmanCommented:
<meta http-equiv="refresh" content="10; url=c:\tim\test.htm">  
<frameset rows="0,*">
<frame src="" marginheight=1>

This script will refresh every 10 seconds.
You could try the window popup link too - I'm not too hot on Java though.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
hubenAuthor Commented:
Thank you very much, Tim, It worked great.
To script this in VBscript (with a 5 minute refresh):

next line to format EE
'Start of script
On Error Resume Next
Set IE = CreateObject("InternetExplorer.Application")
ie.navigate "About:Blank"
Do while ie.Busy
    ' wait for page to load
ie.document.writeLn "<HTML><META HTTP-EQUIV=""Refresh"" CONTENT=300>"
ie.document.writeLn "<HEAD><TITLE>My Window Title!</TITLE>"
ie.document.writeLn "<FRAMESET COLS=""100%"">"
ie.document.writeLn "<FRAME SRC="""">"
ie.document.writeLn "</FRAMESET></HTML>"


'End of script

hubenAuthor Commented:
Thanks Mark for your comments, I will give VB script a try if Tim's html code has issues, at the moment, it works fine. Thanks again.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Networking

From novice to tech pro — start learning today.