我想知道如何在屏幕超时和唤醒时运行脚本。我不是在谈论休眠或暂停,而只是在屏幕关闭时。
原因是我有一个 LED 键盘,想在唤醒时切换内置 LED。
scripts suspend screen wakeup
screen ×1
scripts ×1
suspend ×1
wakeup ×1