开发者

How to run apple script after completion of previous one

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜