开发者

How to run apple script after completion of previous one

开发者 https://www.devze.com 2022-12-16 04:23 出处:网络
I am to running some terminal commands using apple script. The problem i am facing is that i want to run 2nd command only after the 1st one finishes.

I am to running some terminal commands using apple script. The problem i am facing is that i want to run 2nd command only after the 1st one finishes. I can not add delay statement bcoz the finishing time of command 1 is not fix, it changes as per the size of file for which开发者_如何学编程 i am running that command. How to do that? Can any body help me on this?


do shell script "command 1; command 2"
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号