ControlMyMonitor 实现输入源切换

Tags
Work
Event Date
Nov 24, 2024
  1. 下载 ControlMyMonitor
  1. 新建文本文件 Mac:
    1. @echo off "C:\Program Files\controlmymonitor\ControlMyMonitor.exe" /SetValue Primary 60 17 EXIT
      然后将后缀更改为.bat
  1. 计算机管理 - 任务计划程序 - 创建任务 - 操作 - 新建 - 浏览 - 添加.bat文件
  1. (可选)在 Mac 中调用命令
    1. 通过 ssh 运行脚本:
      schtasks.exe /run /tn "Mac"
Windows 同理