![]() The autohotkey script is reacting to the Pause button for sleep and Alt+Pause for hibernate Run qsleep.exe on Pause key I compiled a version for hibernate and another for sleep. ![]() ![]() Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.LoadĪpplication.SetSuspendState(PowerState.Hibernate, False, True) It is a Windows Forms application that hides the form on Load and executes Application.SetSuspendState. I did not want to see the console executing the script so I made a VB executable that runs invisible. ![]() I decided to resort to an autohotkey hotkey to suspend the machine. The SteelSeries keyboard has a very minimalistic design and has no sleep button. My old Cherry keyboard had a nice sleep button, wich I used all the time. After nearly 15 years I retired my old Cherry keyboard and bought a new SteelSeries APEX MX500 keyboard with Cherry MX Red switches.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |