On 8/17/01 12:28, Neil wrote:
> I used to have an Apple Script for Emailer that would delete a message and
> remove it from the deleted messages folder. I think it was called "shred
> message." I couldn't find anything like that at AppleScriptCentral.com. I
> did a search with the word "delete" and didn't find anything that looked
> like this. Is it possible in Entourage? Thanks in advance,
Yes, you just do a "double delete"; the first one moves the message to the
deleted messages folder, and the second one actually deletes it. Something
like this should work, although it's not necessarily fast:
tell application "Microsoft Entourage"
set curMsgs to current messages
if curMsgs = {} then return -- no messages selected, do nothing
repeat with theMsg in curMsgs
--only do one delete if message is already in deleted items
if storage of theMsg is not deleted mail folder then
delete theMsg
end if
delete theMsg
end repeat
end tell
George
--
George Clark - [EMAIL PROTECTED]
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
To search the archives:
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>