On 2/8/01 12:15 AM, "Robert DeLaurentis" <[EMAIL PROTECTED]> wrote:

> Hi folks,
> 
> My adventures learning about E'rage and AS continue.
> 
> Tonight I am seeking a way to find out of a message has an attachment. I
> don't care anything about what it is or its name or anything, I just want to
> ask E'rage "does this message have an attachment," and put a simple true or
> false in a variable as a result.
> 
> Could someone show me how to do that?
> 
> Thanks,
> Bob
> 

if attachments of theMsg � {}
    set hasAttach to true
else
    set hasAttach of false
end if

--or
if (count attachments of theMsg) � 0
    set hasAttach to true
else
    set hasAttach of false
end if

-- 
Paul Berkowitz


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

Reply via email to