2011年12月8日星期四

delayed auto start Apps after login to OS X

using applescript.
start up QQ Mail FireFox and VMware Fusion automatically.
the last one is refresh time with internet time server.

delay 60
do shell script "open /Applications/QQ.app"
delay 15
do shell script "open /Applications/Mail.app"
delay 30
do shell script "open /Applications/FireFox.app"
delay 60
do shell script "open /Applications/'VMware Fusion.app'"
delay 5
do shell script "sudo ntpdate 133.100.11.8" password "YOUR_PASSCODE" with administrator privileges

没有评论:

发表评论