2009-11-19 19:31:23 +0000 2009-11-19 19:31:23 +0000
33
33
Advertisement

有没有Windows7的 "关机 "和 "待机 "的键盘快捷方式?

Advertisement

我喜欢Windows-L的键盘快捷方式,可以锁住电脑。有没有类似的 “关机 "和 "待机 "的快捷键?是否可以将Windows-L重映射为其他功能?

Advertisement

答案 (12)

23
23
23
2009-11-19 20:37:37 +0000

使用AutoHotkey脚本,你可以重新映射Win+L快捷方式,然后为Sleep创建另一个快捷方式(我选择的是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

在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)
13
13
13
2011-08-11 01:45:11 +0000

另一个休眠的快捷方式是:

⊞ Win + D, Alt + F4, H, Enter

5
Advertisement
5
5
2009-11-20 22:47:33 +0000

有一个使用现有快捷键的键盘解决方案,不过不是作为一个和弦(即在按下一个键之前释放每个键):

  • Win, →, Enter - 上次使用的关机操作
  • Win, →, → - 选择关机操作

找到了,请访问 https://superuser.com/questions/16327/what-are-your-favourite-less-well-known-keyboard-shortcuts-in-windows

2
2
2
2014-09-07 22:39:41 +0000

你可以使用Alt+F4快捷键,然后在弹出的对话框中选择你想要的东西,或者你也可以通过以下操作使其中的一个成为你的默认值:

  • 点击开始按钮
  • 在底部电源设置按钮旁边的箭头上点击右键,在这个上下文菜单中选择属性。应该是唯一的一个 –在那个对话框中,在电源按钮的操作栏中选择 “睡眠”(或任何你想要的默认值),然后应用它,然后点击确定。

当你准备好让你的电脑进入睡眠状态或你选择的任何东西,使用Alt+F4键盘快捷键,然后点击回车。无论你在第一步中设置的是什么,都将成为默认的操作,当你按下回车键时,默认的操作将被应用。

1
Advertisement
1
1
2015-11-20 07:50:53 +0000

在运行

shutdown /l

内创建一个快捷方式,然后

set to shortcut key to WIN+ALT+L

完成

1
1
1
2012-05-27 06:31:46 +0000

这应该真的能帮到你。Windows 7 键盘快捷键 / Windows / Keyboard-Shortcut.com

关机其实就是Win→Enter。

1
Advertisement
1
1
2009-11-19 20:33:18 +0000

本教程适用于Windows Vista,但应该也适用于Windows 7。 创建Vista注销快捷方式

0
0
0
2017-08-15 19:32:22 +0000
注销快捷方式(Win 10/8/7/Vista)

按Ctrl+Alt+Delete,然后按Alt+L: Alt+K - 切换用户* : Alt+W - **注销* : Alt+L - **修改密码…* : Alt+C - **启动任务管理*r: Alt+T

0
Advertisement
0
0
2014-05-14 13:00:24 +0000

Win+R “shutdown /L",命令行注销,也可以作为自定义用户快捷方式图标使用。

-1
-1
-1
2012-02-20 15:56:43 +0000

在windows7系统下,从cmd提示符中查看 “关机 "命令。

不幸的是,虽然它有休眠选项,但不包括 "睡眠"。

-1
Advertisement
-1
-1
2013-06-21 15:27:49 +0000

创建一个快捷方式…..把文件的位置写成logoff.exe,然后给快捷方式起个名字….大功告成…右击快捷方式,进入属性…更改图标,选择一个图标图片作为快捷方式…

,如果你想让它成为一个热键,那么右击快捷方式,注意到热键框…点击它…然后按组合键…砰…大功告成…欢迎你。

-2
-2
-2
2016-10-24 14:12:13 +0000

也许是埋在这里的某个地方,也许是我不明白这个要求,但注销部分很简单。最简单的方法是在屏幕上创建一个快捷方式,并在屏幕上显示一个图标,你可以把它叫做Logout User或者其他你喜欢的东西。这个快捷方式应该简单地包含C:\windows\system32\shutdown.exe /L /F,双击图标,你就可以注销了。

Advertisement