标签:script creat 图片 技术 系统 tail RoCE rod www.
参考链接:https://www.iterm2.com/documentation-scripting.html
下面的命令:打开 iterm2, 并且 运行命令 "tail -f /Users/ruby/index.html",然后进入全屏模式
tell application "iTerm" activate create window with default profile command "tail -f /Users/ruby/index.html" end tell tell application "System Events" tell process "iTerm2" key down command keystroke return key up command end tell end tell
系统样例(打开 Script Editor 然后看右上角)
其他资料:
AppleScript 官方文档:https://www.iterm2.com/documentation-scripting.html
标签:script creat 图片 技术 系统 tail RoCE rod www.
原文地址:https://www.cnblogs.com/eleven24/p/10274757.html