Car*_*los 10 windows-7 keyboard-shortcuts autohotkey
我开始尝试通过创建快捷方式并指定+ (逗号)来使用快捷方式在桌面上显示本地连接状态窗口。Ctrl,
Windows 不喜欢那样,所以它添加了Alt,最终变成了Ctrl+ Alt++ ,。
由于我无法找到一种方法来消除Alt快捷键的一部分,因此我现在正在尝试不同的策略,但它不起作用。我最近的尝试是通过以下命令使用 AutoHotkey:
^,::Run, explorer ::{BA126ADB-2166-11D1-B1D0-00805FC1270E}
Run Code Online (Sandbox Code Playgroud)
这是快捷目标编号是什么,但它不会打开窗口。
igl*_*vzx 12
我将列出快速启用或禁用网络适配器所需的手动步骤。然后,我会将这些步骤翻译成AutoHotkey。
从命令行打开网络连接。
explorer ::{7007ACC7-3202-11D1-AAD2-00805FC1270E}
Run Code Online (Sandbox Code Playgroud)

窗口激活后,按 Space将焦点设置到适配器列表。

如果你想使适配器/禁用当前选择(即1st`名单上),请跳到第5步。
如果未选择适配器,请按 Right直到它被选中。例如,如果适配器在列表中是第 2位,则按Right 1次,如果是第 3 位,则按2 次,依此类推。

右键单击适配器并按下 Down以突出显示Enable或Disable选项。


按 Enter到Enable或Disable。
关闭网络连接。
使用键盘快捷键Ctrl+,
^,::
;1.
Run, explorer ::{7007ACC7-3202-11D1-AAD2-00805FC1270E}
;2.
WinWaitActive, Network Connections
Send, {Space}
;3. & 4.
;If the adapter is not the 1st, navigate to it.
;For example, without the comment (semi-colon):
; Send, {Right 1}
;if it is the 2nd adapter.
; Send, {Right 2}
;if it is the 3rd, etc.
;5.
Send, {AppsKey}
Sleep, 250 ;adjust as needed
Send, {Down}
;6.
Send, {Enter}
;7.
WinClose, Network Connections
return
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
51555 次 |
| 最近记录: |