Open Menu
Close Menu
Apple
Shopping Bag
Apple
Mac
iPad
iPhone
Watch
TV
Music
Support
Search apple.com
Shopping Bag
Lists
Open Menu
Close Menu
Terms and Conditions
Lists hosted on this site
Email the Postmaster
Tips for posting to public mailing lists
Dates
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Dates
Subject
:
Dates
From: Michael <
email@hidden
>
Date: Wed, 2 Jan 2008 21:15:37 -0800
Hi AppleScripters,
{First..a little off topic
Hope all have recovered from the New Year. Our "beloved" Space Needle in Seattle is used annually to set off fireworks at midnight on New Year. Clearly, the genius in charge was either using a program run by "Vista" or not using Applescript :-) .....it ran about 2 minutes, then crashed. Could not be rebooted! In the end , was set off manually by someone ?clicking a mouse. I guess, the word BackUp never enters the vocabulary of the pyrotechnic community although I bet now it will :-)}
I wonder if I could get some help with this. I am trying to use the "Date" value of an email message. This is due to the fact that I need to expand my filter for finding some e-mails as I have found that there is a definite limit to the length of a selection one can make ( well, I think there is. I would gladly be corrected).
So, I am trying to include the date with something like:
tell application "Mail"
--tell message viewer 1
set msgs to every message of (mailbox "INBOX" of account "comcast") whose (message id is "email@hidden")
set firstMsg to item 1 of msgs
set myDate to date of firstMsg
--Do something with this value.
--end tell
end tell
This gives the error:
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.
Thank you in Advance.
Michael.
(BTW....I seem to have problems when I use "message viewer" in that neither the mailbox "INBOX" by itself or with the qualifyer "comcast" is recognized.) _______________________________________________
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>
Prev by Date:
Re: Newbie help needed: capturing keypress to record QuickTime timing
Next by Date:
Re: Dates
Previous by thread:
Re: Exporting photos via keyword in Applescript
Next by thread:
Re: Dates
Index(es):
Date
Thread