Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

VBS script for starting IE and Screensaver after some inactivity....

$
0
0

Hi All!

I am looking for VBS script for changing explorer with Internet Explorer 8 in Windows XP.

I know what is registry settings for changing shell to start Internet Explorer (with -k option) instead of explorer and it is working fine.

Found some VBS script to start IE8 and to restart it if in some reason IE8 closes itself:

Set WshShell = CreateObject("WScript.Shell")
Do While True
 WshShell.Run """C:\Program Files\Internet Explorer\iexplore.exe"" ", 1, True
Loop

and it is working just fine.

But I want a VBS which will start IE8 and restart it self in reason of closing, and after some time to start some screen saver. After closing screensaver (user move a mouse or click of keyboard) VBS will close every IE8 window and start a first one (from example above).

I managed this with this VBS script and with one batch file for screensaver and closing IE windows but it not working properly and I want to have only one VBS script for all this work.

Any help?


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>