New
#11
You're welcome. :)
Hello Filipl, and welcome to Seven Forums.
It will disable the hibernate part of the hybrid sleep. If you disable hibernation, then it would be best to only use Sleep instead of Hybrid.
Hope this helps,
Shawn
Hello, I have Windows 7 x64 and I was interested in this sleep shortcut. However when I run it the computer just shuts down instead of going to sleep.
When I opened the VBS script I saw this in the code:
So how is this supposed to be a sleep icon if the script is sending a shut down command to the computer?Code:Dim objShell Set objShell = CreateObject("Shell.Application") objShell.ShutdownWindows <--- ??? set objShell = nothing Set WshShell = CreateObject("WScript.Shell") WshShell.SendKeys "{Enter}" Set WshShell = Nothing
What am I missing here? How can I make this shortcut work correctly and put my machine to sleep mode instead of shutting it down?
Thanks,
quanzaboy
Hello Quanzaboy,
I would recommend to use either shortcut in the newer tutorial below for Windows 7 instead. :)
Sleep Shortcut - Create
Hope this helps,
Shawn