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 14:03:49 -0500
Well with some rewriting I think I can make it work from here.
Thanks,
John
On Apr 4, 2011, at 12:10 PM, Martin Michel wrote:
> Hi,
>
> Actually it is this thread:
>
> http://macscripter.net/viewtopic.php?id=33208
>
> Hope this helps!
>
> Best regards,
>
> Martin
>
> Am 04.04.2011 um 18:37 schrieb Tommy Bollman:
>
>> Hello.
>>
>> I remember the thread Martin is referring to, or where Martin told about the problem of getting the Id, the problem was fixed. If you search for Martin Michel or StefanK at Macscripter.net you'll find the solution. (Keyword= Mail).
>>
>> Hth
>>
>> Tommy
>>
>> Den 4. apr. 2011 kl. 17.23 skrev Martin Michel:
>>
>>> 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
>>>>
>>>>
>>>
>>> _______________________________________________
>>> 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
>>
>> Best regards
>>
>>
>>
>> Tommy Bollman
>> --------------------------------------------------------------------------------------------------
>> Mollison's Bureaucracy Hypothesis:
>> If an idea can survive a bureaucratic review
>> and be implemented it wasn't worth doing.
>>
>> _______________________________________________
>> 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
>>
>
> _______________________________________________
> 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
________________________________________________
John Haley
Information Technology Supervisor
713/681-1414 (Office)
832/969-0227 (Mobile)
www.AlwaysInSeason.com
_______________________________________________
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