I have a script that extracts certain messages from a selected mailbox. This has been working perfectly for months but after changing to Mountain Lion the script issues a message “Mail got an error. AppleEvent timed out”. I know that the system times out after 120 seconds but the script used to run in about 12 seconds. Also, I have to ˜Force Quit’ Mail to close Mail. I have tried running the script on both my iMac and MacBook, both have the same result. Slightly changing the script to exclude ˜content of’ makes it work but doesn’t give the result I want , any help greatly appreciated.
tell application “Mail”
tell mailbox “CS Notepad”
tell mailbox “Complete”
set CS_Messages to content of every message that subject contains “Daily Summary”
end tell
end tell
end tell
Model: iMac
AppleScript: 2.5 (138)
Browser: Safari 536.25
Operating System: Mac OS X (10.8)