![](/style/images/good.png)
3
![](/style/images/bad.png)
【笔记】MacOS 上 Shell 脚本与 AppleScript 脚本联动
source link: https://loli.fj.cn/2023/08/04/MacOS%E4%B8%8AShell%E8%84%9A%E6%9C%AC%E4%B8%8EAppleScript%E8%84%9A%E6%9C%AC%E8%81%94%E5%8A%A8/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
【笔记】MacOS 上 Shell 脚本与 AppleScript 脚本联动
2023-08-04 2023-08-06
MacOS 上 Shell 脚本与 AppleScript 脚本联动
在 Shell 脚本上执行 AppleScript 脚本
<filename>.scpt
:AppleScript 脚本文件路径
osascript <filename>.scpt
在 AppleScript 脚本上执行 Shell 命令
<command>
:Shell 命令
do shell script "<command>"
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK