有没有办法检查屏幕是否被锁定在shell或applescript中?不只是检查屏幕保护程序是否正在运行,而是通过节能设置或按⌃⇧⏏(shift+ control+ eject)锁定屏幕.
先感谢您.
macos shell applescript
applescript ×1
macos ×1
shell ×1