> Now, I'd like that text file to include the >date of the message. I tried telling it to >'set theDate to time sent of theMessage' and then >in the data loop added '& item i of theDate as string & return to >theFile'.
I don't think there is a list of items for a date. So calling for "item i" would fail (like you are seeing). Have you tried just making the line "& theDate as string & return" That should give you the whole date. If you want less than that, I believe Date is a class type, and you can do things like call for "Day of theDate". I don't know the exact syntax, but you should be able to find it on Apple's Applescript help pages. -chris <http://www.mythtech.net> ___________________________________________________________________________ To unsubscribe send a mail message with a SUBJECT line of "unsubscribe" to <[EMAIL PROTECTED]> or <[EMAIL PROTECTED]>

