【发布时间】:2020-08-31 21:18:44
【问题描述】:
我在互联网上找到了用于启动终端并启动 Elasticsearch 的 applescript 代码 代码是
tell app "Terminal"
do script "elasticsearch-5.5.0/bin/./elasticsearch"
end tell
效果很好, 现在我想在上面添加更多东西,我需要再打开 4 个新标签 不是新窗口 只是标签(command + T)。然后运行不同的命令,例如 log tail 命令,在每个选项卡中依次启动 kibana。
我是applescript的新手,搜索示例和教程已经厌倦了,任何人都可以提出解决方案或您的想法来实现自动化。
【问题讨论】:
-
你尝试了什么?
标签: macos automation command applescript