Re: Entourage -> rule -> attachments
Re: Entourage -> rule -> attachments
- Subject: Re: Entourage -> rule -> attachments
- From: julifos <email@hidden>
- Date: Thu, 06 Nov 2003 09:47:53 +0100
>
On 11/5/03 1:13 PM, "julifos" <email@hidden> wrote:
>
>
> Now, the funny part. I select the message manually in the inbox and observe
>
> this behaviour:
>
>
>
> ##############################
>
> tell application "Microsoft Entourage"
>
> set currMsg to current messages
>
> set theMsg to currMsg's item 1
>
> --> incoming message id 32180 of application "Microsoft Entourage"
>
> set theAttachments to attachments of currMsg
>
> --> {}
>
>
>
> set currMsgSame to selection
>
> set theMsgSame to currMsgSame's item 1
>
> --> incoming message id 32180 of application "Microsoft Entourage"
>
> set theAttachmentsSame to attachments of theMsgSame
>
> --> {attachment 1 of incoming message id 32180 of application "Microsoft
>
> Entourage", attachment 2 of incoming message id 32180 of application
>
> "Microsoft Entourage"}
>
> end tell
>
> ##############################
>
>
>
> I'd say that if I run this script some days ago, I'd get the attachments
>
> using both "current messages" and "selection"...
>
>
Yes, they should be the same.
>
>
Is this message in a local folder or in an IMAP or Hotmail (i.e. server)
>
folder?
>
>
--
>
Paul Berkowitz
I found the guilty! Aka "XMail.osax". For some unknown reason, the term
"attachments" of the line "set theAttachments to attachments of currMsg" was
mapping to the "attachments" parameter of XMail, instead being owned by
Entourage (simply removing XMail did the trick).
But I don't know why the first "attachments" maps to XMail and not the
second one (using "selection" instead of "current messages").
I did some tests with PowerMail, which uses the same syntax, and seems that
it works fine there.
Also, I reinstalled again XMail and Entourage's "attachments" still works
fine, so this is installed in memory somewhere, under some conditions or
anything or something.
JB, could you take a look? (or modify the "attachments" syntax, if you feel
it's needed?)
jj
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.