我在Mac OS X上遇到这个奇怪的错误。当我尝试使用'TextEdit'或'TextWrangler'打开文本文件时,我收到此消息“验证filename.txt”。弹出此消息,然后一段时间后整个系统停止。我必须强行关闭系统。我之前可以使用这两个应用程序之一打开这些文件。我有OS X Mavericks(10.9)。 有人遇到过这样的情况吗?什么可以补救?
根据网络上的各种代码片段,我正在尝试实现一个简单的AppleScript,以将邮件附件保存到文件夹中。 set thePath to ((path to home folder as text) & "Documents") tell application "Mail" set selectedMessages to selection set theMessage to item 1 of selectedMessages set theAttachments to theMessage's mail attachments repeat with theAttachment in theAttachments set originalName to name of theAttachment set savePath to (thePath & ":" & …