我写了一个简单的 AppleScript,它在 Entourage Inbox 中无限循环并获取“未读”消息的主题:
tell application "Microsoft Entourage"
activate
repeat with eachMsg in messages of folder named "Inbox"
if read status of eachMsg is untouched then
set messageSubject to subject of eachMsg as string
-- bla bla bla
-- How to delete the message and proceed with the next one???
end if
end repeat
现在,问题是,我想在获得主题后删除消息。我怎样才能做到这一点?你能给我写一个例子吗?
再次感谢!