我想開啟的一個程式每次都要打開Termianl
然後
輸入cd /Applications/docear-1.0.0_alpha_build6/ 按enter
再輸入./docear.sh
於是我想用Automator中的run Applescript幫忙
在google之後
我只會做到這一步
on run {input, parameters}
tell application "Terminal"
activate
do script with command "cd /Applications/docear-1.0.0_alpha_build6/"
end tell
end run
但是cd /Applications/docear-1.0.0_alpha_build6/完後
./docear.sh的部份卻沒有辦法做到
有沒有人可以告訴我該如何寫?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.160.163.236
→
01/21 16:11, , 1F
01/21 16:11, 1F
→
01/21 18:05, , 2F
01/21 18:05, 2F
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):