Hi George,

This one worked great but what if some of the messages selected do not have
open windows?

greg

On 23/6/02 12:39 AM, George Clark wrote:

> If you only want to delete messages that are both selected and open, then
> you'd need to do something like this:
> 
>   tell application "Microsoft Entourage"
>       set winlist to every window
>       set msglist to current messages
>       repeat with thewin in winlist
>           if class of thewin is message window then
>               set msgid to ID of displayed message of thewin
>               repeat with themsg in msglist
>                   if ID of themsg is msgid then
>                       close thewin
>                       delete themsg
>                       exit repeat
>                   end if
>               end repeat
>           end if
>       end repeat
>   end tell


-- 
To unsubscribe:                     
<mailto:[EMAIL PROTECTED]>
archives:       
<http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
old-archive:       
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>

Reply via email to