• 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
Re: Metadata storage in Tiger Mail?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Metadata storage in Tiger Mail?
      • From: Jeff Porten <email@hidden>
References: 
 >Metadata storage in Tiger Mail? (From: Jeff Porten <email@hidden>)
 >Re: Metadata storage in Tiger Mail? (From: Le Stang Jean-Baptiste <email@hidden>)

  • Prev by Date: Re: Image Events and Unicode
  • Next by Date: Re: Metadata storage in Tiger Mail?
  • Previous by thread: Re: Metadata storage in Tiger Mail?
  • Next by thread: Re: Metadata storage in Tiger Mail?
  • Index(es):
    • Date
    • Thread