mock applescript