Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tell application "Mail"
- set theMessage to first item of every message in inbox
- set theSubject to subject of theMessage
- if theSubject contains "Failed" then
- say "Chuck Norris is preparing a round house kick!"
- else if theSubject contains "Normal" then
- say "Chuck Norris can rest now."
- end if
- say theSubject
- end tell
Add Comment
Please, Sign In to add comment