Gab*_*art 33 windows-7 keyboard-shortcuts standby logoff
我喜欢使用 Windows-L 键盘快捷键来锁定计算机。“注销”和“待机”是否有类似的快捷方式?是否可以将 Windows-L 重新映射到不同的功能?
小智 25
rundll32 pwrprof.dll,SetSuspendState
将其另存为“standby.bat”并在桌面上创建它的快捷方式
右键单击快捷方式,选择属性并将其快捷键编辑为CTRL + ALT + S
现在 CTRL+ ALT+S会把你的电脑处于待机状态。
注销
将其另存为“logoff.bat”并在桌面上创建它的快捷方式
右键单击快捷方式,选择属性并将其快捷键编辑为CTRL + ALT + L
现在CTRL+ ALT+L意志注销。
Sna*_*ark 23
使用AutoHotkey脚本,您可以重新映射Win+L快捷方式并为睡眠创建另一个快捷方式(我选择了Win+ S,除非您使用 OneNote,否则通常不会使用):
#l:: ; Win+L
Shutdown, 0 ; this is the code for Log Off
return
#s:: ; Win+S
DllCall("PowrProf\SetSuspendState", "int", 0, "int", 0, "int", 0) ; DLL call to sleep
return
Run Code Online (Sandbox Code Playgroud)
AutoHotkey 的帮助文件中有关于 DLL 调用的更多详细信息:
; Call the Windows API function "SetSuspendState" to have the system suspend or hibernate.
; Windows 95/NT4: Since this function does not exist, the following call would have no effect.
; Parameter #1: Pass 1 instead of 0 to hibernate rather than suspend.
; Parameter #2: Pass 1 instead of 0 to suspend immediately rather than asking each application for permission.
; Parameter #3: Pass 1 instead of 0 to disable all wake events.
DllCall("PowrProf\SetSuspendState", "int", 0, "int", 0, "int", 0)
Run Code Online (Sandbox Code Playgroud)
小智 13
Windows 7休眠快捷键更像是PlayStation的秘密功能!
? Win, ?, ?, 那么:
当您在途中丢失屏幕时,它会有所帮助!休眠的另一种快捷方式是:
? Win+ D, Alt+ F4, H,Enter
有一个使用现有快捷键的键盘解决方案,但不是作为单个和弦(意味着在按下下一个之前释放每个键):
在https://superuser.com/questions/16327/what-are-your-favourite-less-well-known-keyboard-shortcuts-in-windows找到它
归档时间: |
|
查看次数: |
318424 次 |
最近记录: |