![]() ![]() If you are stuck or need help, send an email, and I will try to help as much as possible. I hope this simple and easy Windows how-to guide helped you. ![]() Here’s how to add an AutoHotKey script to Windows startup. If you want to, you can add this script to Windows Startup so that it runs as soon as you start Windows and removes the need to launch it manually. It is that simple to create your own shortcut to activate Windows sleep mode. Let us know if you need further assistance. ![]() Just press the 'Windows key+L' and it should lock and put your PC to sleep immediately. If you modified the script to add your own shortcut, then press that shortcut. There is a shortcut that you can use to put your PC to sleep. For example, if you are using the script I’ve given you, press the Windows key + Shift + Del shortcut. Now, press the custom shortcut to put Windows to sleep. Use the custom shortcut to put Windows to Sleep. As soon as you do that, the script file launches and sits silently in the taskbar.Ħ. If you want to learn more about AutoHotKey keys and how to write a shortcut, follow the links below.Īfter creating the script file, double-click on the file to run it. If you don’t know, Windows, Shift, Ctrl, and Alt keys are represented with #, +, ^, ! symbols respectively.įor example, if you want to use Windows + Alt + S to put Windows to sleep, you should replace “#+Del” with “#!S” (without quotes). If you don’t like it, you can modify the “#+Del” part of the script to add your own shortcut. Custom Windows Sleep ShortcutĭllCall("PowrProf\SetSuspendState", "int", 0, "int", 0, "int", 0)īy default, the below script uses “Shift + Windows key + Delete” to sleep. Now, copy-paste this command rundll32.exe powrprof.dll, SetSuspendState Sleep. After that, save it by pressing the Ctrl + S shortcut or selecting the “File > Save” option. As it appears click its icon to run the command prompt. Paste the below script in the file and save it.Ĭopy the script below with the “Ctrl + C” shortcut and paste it into the file with the “Ctrl + V” shortcut. Namun, pintasan keyboard juga berfungsi untuk keluar dari akun, mengaktifkan mode Sleep, dan mematikan laptop. Kombinasi shortcut keyboard ini sering dipakai untuk mengakses menu Task Manager. Note: If you see a prompt asking you to select a text editor, select Notepad and click “Ok.”Ĥ. Cara Sleep dengan kombinasi tombol CTRL + ALT + DELETE. To do that, right-click on the file and select the “Show more options > Edit Script” option. Once you’ve created a text file and renamed it, we can open and edit it. This turns the normal text file into an AutoHotKey script file. After creating the text file, rename it to “SleepShortcut.ahk” (without quotes). Create a text file on the desktop and rename it to “SleepShortcut.ahk.”Īfter installing AutoHotKey, right-click on the desktop and choose the “New > Text document” option to create a new text file. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |