Re: Metadata storage in Tiger Mail?
Re: Metadata storage in Tiger Mail?
- Subject: Re: Metadata storage in Tiger Mail?
- From: Jeff Porten <email@hidden>
- Date: Tue, 3 May 2005 17:23:54 -0400
On May 3, 2005, at 4:17 AM, Le Stang Jean-Baptiste wrote:
Well, each mail is stored as a file on your hardrive, I think (I'm
sure of it in fact) that you can add SpotLight comments using the
Finder :
set comment of (file
"Tiger:Users:jeanbaptiste:Library:Mail:Mailboxes:AppleScript
Users.mbox:Messages:4107.emlx") to "foobar"
Hey, that's a great idea. Probably wouldn't have thought about it
myself.
So the next question, given a message in Mail.app, how do you derive
the equivalent file? I don't see a class in the new Mail.app
dictionary, unfortunately. Best I can think of so far is shell
script a find on kMDItemFSCreationDate and kMDItemDisplayName, which
*should* return a unique match (unless a thread has two replies in
the same second); unfortunately, it looks like message ID is not
indexed.
Better ideas?
Best,
Jeff
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden