Re: Mail Rules and getting ID number
Re: Mail Rules and getting ID number
- Subject: Re: Mail Rules and getting ID number
- From: John Haley <email@hidden>
- Date: Mon, 04 Apr 2011 10:57:43 -0500
That's annoying. Is there another way to get the attachment path then?
Thanks again,
John On Apr 4, 2011, at 10:23 AM, Martin Michel wrote: Hi John,
I remember having a similar problem some time ago (on Mac OS X 10.5/4 ?). It was caused by the fact that Mail.app seems to assign the IDs of the eMail messages AFTER executing the rules. That's why I couldn't use the ID to search for the corresponding emlx file on the client's hard drive.
Best regards from Berlin,
Martin
Am 02.04.2011 um 01:51 schrieb John Haley: When I tested my Mail script directly talking to Mail and using "Selection" my script was able to get the message id number, but when I save the script with the "using terms from" so it can work as a rule, it doesn't seem to be able to get the id number and the script fails. I used display dialogs to determine that that is where the script is dying. I have put both version of the script below. The reason I am trying to get the id is so that I can get the path to the attachment. There might be an easiery more dependable way to do this.
Any pointers appreciated,
John
________________________________________________ John Haley Information Technology Supervisor 713/681-1414 (Office) 832/969-0227 (Mobile) | ![]() |
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden