This requires a scheduled task. Assume that the program address is "http: // 1.0.0.8/a. asp". Edit the following content:
Copy codeThe Code is as follows:
Dim IE
Set IE = CreateObject ("InternetExplorer. Application ")
Ie. navigate ("http: // 1.0.0.8/a. asp ")
Ie. visible = 1
Set IE = Nothing
A file with a vbs suffix, such as test. vbs.
Start the "scheduled task" service in the windows Management Tool-service.
In "Task Scheduler" on the control panel, double-click "add Task Scheduler ".
Click "Next ".
Click Browse to find and select the VBS file you saved.
Select "Daily" and click "Next ".
Click "Next ".
Enter your login password and click "Next ".
Click "finish ".
Find the scheduler you created in the scheduler and double-click it.
Click "advanced" in "plan ".
Select "show multiple plans ".
Click "delete" and then "new ".
Change "Start time" to, and click "new ".
Change "Start time" to, and click "new ".
Change "Start time" to and click "OK ".
After the plan is configured, add the following code to close the window at the end of the program you regularly run:
<Script language = javascript>
Window. opener = '';
Window. close ();
</Script>