Re: Dates
Re: Dates
- Subject: Re: Dates
- From: Michelle Steiner <email@hidden>
- Date: Wed, 2 Jan 2008 23:13:22 -0700
On Jan 2, 2008, at 10:15 PM, Michael wrote: Mail got an error: Can’t get date of message id 101986 of mailbox "INBOX" of account "comcast. Could anyone possibly explain what I am doing wrong...or where my thinking is not correct.
As previously suggested numerous times, check the dictionary. The dictionary is your friend; it tells you what properties and elements there are.
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
References: | |
| >Dates (From: Michael <email@hidden>) |