On Jan 3, 2008 1:56 AM, Michael <
email@hidden> wrote:
> Michelle,
>
> Can you figure why this is not working?
>
> tell application "Mail"
>
> set msgs to every message of (mailbox "INBOX" of account "comcast")
> whose (message id is "
email@hidden") and (date sent is "Wednesday,
> January 2, 2008 3:22:23 PM")
>
>
> --set sentDate to date sent of firstMsg (gives : "Wednesday, January
> 2, 2008 3:22:23 PM")
>
> end tell
>
> gives {}
>
> In my Applescript book..."Ref guide" I do see that the construct "and"
> is supported, or, is this again Application specific? Or is there
> something else going on.?
>
> Your help...and guidance..is much appreciated.
> Michael.
>
>
>
>
>
>
>
> >
> > Messages do not have a "date" property. The do have a "date sent"
> > and a "date received" property.
> >
> > tell application "Mail"
> > tell item 1 of (get the selection)
> > display dialog "Date received: " & (date received as text)
> > display dialog "Date sent: " & (date sent as text)
> > end tell
> > end tell
> >
> > --
> > "Democrats wrap themselves in the constitution and burn the flag
> > while Republicans wrap themselves in the flag and burn the
> > constitution."
> >
> >
> > _______________________________________________
> > Do not post admin requests to the list. They will be ignored.
> > AppleScript-Users mailing list (applescript-
> >
email@hidden)
> > Help/Unsubscribe/Update your Subscription:
> >
> >
> > This email sent to
email@hidden>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
>
> This email sent to
email@hidden>