【发布时间】:2021-11-10 00:11:52
【问题描述】:
我第一次在 automator 中使用苹果脚本。我希望脚本在以前启动的应用程序中执行键盘快捷键。
on run
activate application "MacCaption"
tell application "MacCaption"
keystroke "x" using command down
end tell
我收到语法错误,预期行尾,但在单词 using 上找到了标识符。
【问题讨论】:
标签: applescript