# ShutdownTimerClassic **Repository Path**: innocences/ShutdownTimerClassic ## Basic Information - **Project Name**: ShutdownTimerClassic - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-04-19 - **Last Updated**: 2021-04-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Shutdown Timer Classic 🕒 Shutdown Timer Classic is a small little Windows application that allows you to set a timer that will shutdown, restart, hibernate, sleep or lock your PC. ![Screenshot of the main menu](media/screenshots/Menu.png) I am also planning on developing a more advanced and sleek version of this app in the future. **Want to contribute or take a look at my code?** Awesome, I welcome all and any contributions and would love to hear your opinion. Take a look at my [file and folder structure](Structure.md) document to read more about how everything ties together. # Usage ✨ Shutdown Timer is a very simple application hence it is easy to use. Just choose a power action from the drop-down menu and then dial in the time span you want. If the counter reaches zero the chosen power action will be executed. Upon reaching zero, the Shutdown Timer will (actually Windows will do this, Shutdown Timer just gives the command to) force close any still running applications to ensure the shutdown does not get interrupted. Therefore you may experience data loss if any application is in the process of saving or processing data when the shutdown begins. You can combat this by selecting a longer timespan to ensure the running applications has enough headroom to complete its operation or by choosing the *Sleep* or *Hibernate* power actions. If you are certain that all applications will exit properly and will not require any human interaction (like a word processor which would open a save dialog when being told to exit), you can choose a graceful shutdown which will just execute a regular shutdown as if you were to manually shutdown Windows yourself. This means that all applications will have enough time to exit and nothing is forced to exit (which also means that applications can interrupt the shutdown). Thus you should be careful to use this mode as it might result in a failed shutdown. *The graceful mode applies to all power actions which force close apps and is not exclusive to a shutdown.* By default, the countdown window will be always on top of every other window so you don't forget that you have an active shutdown timer. The countdown can also be hidden by selecting the "Run in background" checkbox under the dropdown menu. If the countdown is already running you can just right click anywhere in the countdown window to bring up a menu with the option to minimize the countdown to the background. It can also be brought back from the background by using the tray menu (described below). ![Screenshot of the main menu with extended combobox](media/screenshots/Menu2.png) ![Screenshot of the settings window](media/screenshots/Settings.png) ![Screenshot of the right click menu](media/screenshots/RightClickMenu.png) # Colors 🎨 The countdown window has 4 different background colors to visualize the time left and one animation to draw your attention when the time is about to run out, in case you forget about the shutdown timer. Here is a quick overview: | Time left | Color | Animated | | ------------- | ------------- | --------- | | > 30 min. | Green | No | | 30 - 10 min. | Yellow | No | | 10 - 1 min. | Orange | No | | < 1min. | Red / Black | Yes | ![Screenshot of countdown window with green background](media/screenshots/CountdownGreen.png) ![Screenshot of countdown window with yellow background](media/screenshots/CountdownYellow.png) ![Screenshot of countdown window with orange background](media/screenshots/CountdownOrange.png) ![Screenshot of countdown window with red background](media/screenshots/CountdownRed.png) ![Screenshot of countdown window with black background](media/screenshots/CountdownBlack.png) # Tray Menu 🔧 Shutdown Timer also includes a tray menu to control the application from you Taskbar tray. Just right click the icon to bring it up (you may need to click on the little arrow on the right of your Taskbar to find the Shutdown Timer icon). You can stop, restart and view the timer from it and also switch the UI mode to hide or show the countdown window. ![Screenshot of the tray menu](media/screenshots/TrayMenu.png) The same menu can also be accessed by right clicking in the countdown window. # CLI 🐱‍💻 > ⚠️ The CLI seems to be broken upwards from v.1.2.0! Please use the download for [v1.2.0](https://github.com/lukaslangrock/ShutdownTimerClassic/releases/tag/v1.2.0) and the [old commands](https://github.com/lukaslangrock/ShutdownTimerClassic/tree/v1.2.0#cli-) in the meantime while the issue is getting resolved. You can also use the command line to start the Shutdown Timer with specific arguments and settings. In PowerShell or CMD navigate to the folder where the executable is located. Then type `.\ShutdownTimerClassic.exe` and add the arguments you want after this: ``` Argument Description /SetTime