打开并新建一个应用程序

mac automator自动操作入门

几个基本操作

1. 请求文本

mac automator自动操作入门

2. 将输入的文本用于设定变量的值

mac automator自动操作入门

3. 在AppleScript中获取变量的值

mac automator自动操作入门
mac automator自动操作入门

4. 在Shell脚本中获取变量的值

mac automator自动操作入门

5. 录制AppleScript并编辑

mac automator自动操作入门
mac automator自动操作入门

一个例子

日常工作需要在mac上更新代码后,到编译机器打包,传输到测试环境,运行测试程序。但是由于编译时间较长,使得这一过程非常耗时,因此我写一个简单的工作流程,在每次需要测试时进行调用
mac automator自动操作入门

相关文章: