使用autohotkey定制windows 10 虚拟桌面的快捷键
Win10没有提供修改虚拟桌面快捷键的功能,默认的快捷键win+tab 打开虚拟桌面列表之后,还需要手动点击某个虚拟桌面才能进行切换,不是很方便, 所以我们使用AHK软件来自定义快捷键 ,通过自定义的快捷键快速的在多个虚拟桌面之间进行切换, 所需工具:AHK(AutoHotkey) 如何创建脚本参考官方说明: b. How to create a scriptText instructions:
参考脚本: ; Windows 10 虚拟桌面自动切换 !1:: send #{Tab} Return !F2:: send #^{right} return !F1:: send #^{left} return #2:: { DetectHiddenWindows,on if WinExist("ahk_exe idea64.exe") WinActivate,ahk_class SunAwtFrame else Run,idea64.exe } return ; ---------------------------------------------------- #1:: { DetectHiddenWindows,on if WinExist("ahk_exe notepad++.exe") WinActivate,notepad++ else Run,notepad++.exe } return ; ---------------------------------------------------- #3:: { DetectHiddenWindows,on if WinExist("ahk_exe WeChat.exe") WinActivate,ahk_class WeChatMainWndForPC else Run,WeChat.exe } return ; ---------------------------------------------------- #c:: { DetectHiddenWindows,on if WinExist("ahk_exe chrome.exe") WinActivate,ahk_class Chrome_WidgetWin_1 else Run,chrome.exe } return ; ---------------------------------------------------- #b:: { DetectHiddenWindows,on if WinExist("ahk_exe BCompare.exe") WinActivate,ahk_class TViewForm.UnicodeClass else Run, BCompare.exe } return ;------------------------------------------ 脚本说明: alt+1 显示任务视图(所有桌面) 如想要修改,只需编辑脚本文件,替换想应的应用程序名即可。 (编辑:莱芜站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- Create AD Users by Powershell
- 维护Windows和Linux的本地存储库
- Windows域用户设置用户登录脚本
- winapi – win32 CreateFile2 api调用的目的是什么?
- .net – WiX:Windows启动时如何注册应用程序启动?
- win10家庭版 远程桌面 身份验证错误,要求的函数不受支持,
- windows – 如何为Git-Bash设置16种终端颜色?
- 2018-5-26 怎么在windows上远程连接linux服务器上的mysql
- SAP ECC6 SOLUTION MANAGER KEY 生成脚本 (VBS)
- .net – Windows Azure Web角色缓存(预览)“挂起”使模拟器