1 Star 0 Fork 0

chendy/windows_tools

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
windows_app_hotkey.ahk 934 Bytes
一键复制 编辑 原始数据 按行查看 历史
chendaoyan 提交于 2023-09-30 19:11 . clear soft
Activate(t)
{
IfWinActive,%t%
{
return
}
SetTitleMatchMode 2
DetectHiddenWindows,on
IfWinExist,%t%
{
WinShow
WinActivate
return 1
}
return 0
}
ActivateAndOpen(t,p)
{
if Activate(t)==0
{
Run %p%
WinActivate
return
}
}
!f::ActivateAndOpen("My Workspace","C:\Users\chendaoyan\AppData\Local\Postman\Postman.exe")
!g::ActivateAndOpen("Google Chrome","C:\Program Files\Google\Chrome\Application\chrome.exe")
!e::ActivateAndOpen("idea","C:\Program Files\JetBrains\IntelliJ IDEA 2022.3\bin\idea64.exe")
!s::ActivateAndOpen("Navicat","C:\Program Files\PremiumSoft\Navicat Premium 15\navicat.exe")
!i::ActivateAndOpen("goland","C:\Program Files\JetBrains\GoLand 2022.3\bin\goland64.exe")
!t::ActivateAndOpen("Xshell 7","C:\Program Files (x86)\NetSarang\Xshell 7\Xshell.exe")
!v::ActivateAndOpen("Code","C:\Users\chendaoyan\AppData\Local\Programs\Microsoft VS Code\Code.exe")
return
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/cdy07341/windows_tools.git
git@gitee.com:cdy07341/windows_tools.git
cdy07341
windows_tools
windows_tools
master

搜索帮助