【发布时间】:2017-11-13 16:54:15
【问题描述】:
我正在尝试在 Mac OSX 上运行一个 applescript 应用程序,该应用程序会自动使用 photobooth 拍照。它不工作。拍照的按键是“命令”和“返回”。
到目前为止,这是我的脚本:
tell application "Photo Booth"
activate
end tell
tell application "System Events"
delay 3
keystroke "return" using command down
end tell
【问题讨论】:
标签: macos applescript