我有一些苹果脚本代码:
tell application "System Events" key code 97 end tell
如何osascript -e在终端中将代码编写为命令?每次我尝试使用\n或等等,我都会收到错误.对不起,如果我不够具体.
osascript -e
\n
bash terminal applescript osascript
applescript ×1
bash ×1
osascript ×1
terminal ×1