NEED HELP? .bat file to restart my ActionTec Modem Problems

ds1718

Junior Member
Joined
May 25, 2010
Messages
149
Reaction score
48
Ok, so after many hour of reading through the Search for action tech, I found an active x script that works

Found out how to run a batch file from CLBOTPRO to do the disconnect reconnect.. Sounds easy until I tried.

Here is what I need help with

The scripts are in ActiveX Controls. So In the batch file, I have to open internet explorer and run the scripts, wait XX seconds then Run the second script.

Here is my batch and what happens

Start c:/clbotpro/disconnect.html
sleep.exe 10 (waits 10 seconds)
Start c:/clbotpro/connect.html
sleep.exe 15


Results
Openes IeXplorer
runs first sript hangs at click to OK this script, not marked as safe.
10 seconds later
Opens another IE window, and hangs on the activeX ok bar in IE again.

I really don't want to come home to 400 IE windows open, so How do i close the window after the script runs, and how do I get the script to run activeX without the window prompt to OK it?

DS
 
Almost got it working

Lot of reasearch, but now I am stumped again.

Here is the batch file that I wrote.

start /d C:\clbotpro\ ActionTecGT724Disconect.html
sleep.exe 10
taskkill /im iexplore.exe
start /d C:\clbotpro\ ActionTecGT724Connect.html
sleep.exe 15
taskkill /im iexplore.exe
taskkill /im cmd.exe

works good, except for the pesky little yellow bar in windows that you have to click to ok the activeX

When I enable all active X controls in IE8's internet options, I get a big red X saysing my setting are putting me at high risk, and the script can't make it work then.

Help....???? Please
 
Back
Top