Re: Dates
Re: Dates
- Subject: Re: Dates
- From: Michael <email@hidden>
- Date: Wed, 2 Jan 2008 22:32:39 -0800
Michelle,
Thank you.
Could you please explain something to me.
This is from AppleScript developer site(http://developer.apple.com/documentation/applescript/Conceptual/AppleScriptLangGuide/AppleScript.2d.html
)
Here "date" is defined and discussed. I assumed, incorrectly, that if
something is defined for Applescript, then it should be supported by
all scripted programs, with additional "narrower" definitions in the
dictionary. But, obviously not? :-)
Michael.
On Jan 2, 2008, at 10:13 PM, Michelle Steiner wrote:
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 (applescript-
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
- Follow-Ups:
- Re: Dates
- From: Michelle Steiner <email@hidden>
References: | |
| >Dates (From: Michael <email@hidden>) |
| >Re: Dates (From: Michelle Steiner <email@hidden>) |