使用 AutoHotKey 配合Win10分屏功能

Win+tab键 建立新的虚拟桌面

使用笔记本电脑的触摸板,用四个手指滑的话就可以在虚拟桌面间切换

那么就映射一下, 要是能一键切换的话就相当于是个"老板键"了

1.安装AutoHotKey

2.安装完后查看.chm文档

3.配置脚本,这里的意思是用鼠标侧键完成切换虚拟桌面的功能,如果老板来了就可以一键切换了,

   

#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

#CommentFlag 前边的侧键 5 映射成Ctrl+Win+←
XButton2::^#Left

#CommentFlag 后边的侧键 4 映射成Ctrl+Win+→
XButton1::^#Right

4.Win+R 输入shell:startup 把这个脚本放到启动目录中。

附:Windows 10 快捷键

https://support.microsoft.com/zh-cn/help/12445/windows-keyboard-shortcuts

附: ctrl+q 取代alt+f4 

ctrlQ.ahk:

^q::Send !{F4}
return

原文地址:https://www.cnblogs.com/eret9616/p/9475624.html