用applescript写的workflow