Step 5: Finally, press the "Add" button to add your task to the task list. It will start instantly and close the program you select every 2 hours in loop. Step 1: Hit the "Add a Task" button. Then, press the "Select a Program" button to select a program to run. AutoClose also allows you to add parameters into the command line area to set the program run with parameters. Step 2: Click on the "Specific Time" button and set the first time point to run the program, or set an Interval time as the first time point of running the program.
The loop running will start since the time point you set. Step 3: Press the "Loop" drop list, and choose the "Customize Open New Document in Notepad, and add this as the first line: echo off. In the next line we will specify the programs to run.
Add each program on a separate line:. The rem command is just a comment to identify the program, CD command changes the directory, and start is, well it just starts the program.
After adding all the programs you want, finish the script by adding Exit at the end. Complete script should look like this:. Now, to run the script at a specific time it has to be scheduled as a task. Save the document with the name close. Say, you want a download program like qBittorrent to run all night but exit in the morning. Or, you would like to play a game or be on Facebook but only for one hour.
While you can do so manually if you are at the PC and have the willpower to do so, it may sometimes be easier if a program automates the task for you. AutoClose supports two main modes of operation: terminate programs after the selected amount of time has passed or close programs at a specific day and time.
Installation of the program is straightforward. It is compatible with all recent versions of the Windows operating system starting with Windows XP and can be run right when setup completes.
There is also a portable version available that does not need to be installed. The main program interface looks a bit dated but that should never be a problem if the functionality is great. First thing you need to do is click on the "Add a task" button to add a new program to the list of applications that you want terminated at a specific time.
The screen that opens provides all configuration options that AutoClose supports. You may drag the target symbol on a program window to pick it for the new auto-close task or select one of the running processes from the listing instead. Hit the refresh button to update the process listing. Note that the program needs to be running; you can't add programs to AutoClose that are not running. Once you have selected a program you may configure the auto-closing parameters.
Here you may select interval to terminate the selected program after a set period or specific time to close it at a specific time of the year, e. December 24th at in the morning. You may also select a task that you want AutoClose to run after it has terminated the application. Available for selection are power-state changes, e. Note that you may create an empty task as well to configure automatic shutdowns or reboots of the system without account termination.
0コメント