|
发表于 2023-1-30 19:55:05
|
显示全部楼层
没有这种启动命令吧(至少我不知道),我能想到的一种方法是可以用 AutoHotKey 来实现这种需求,比如:
- #SingleInstance, Force
- SendMode Input
- SetWorkingDir, %A_ScriptDir%
- chrome="path\to\your\chrome.exe"
- ; 快捷键 Ctrl+Up
- ^Up::
- Process, Exist, chrome.exe
- state := ErrorLevel
- if (state != 0)
- {
- WinGet, state, MinMax, ahk_exe chrome.exe
- if (state = -1)
- {
- WinActivate, ahk_exe chrome.exe
- WinActivate, Program Manager
- WinActivate, ahk_exe chrome.exe
- }
- else
- {
- WinActivate, ahk_exe chrome.exe
- }
- return
- } else {
- Run, %chrome%
- return
- }
复制代码
按键符号可以看这里:热键 |
|