Re: [Pythonmac-SIG] Setting metadata (creator, type, or uti)

2012-04-09 Thread Ronald Oussoren
On 8 Apr, 2012, at 16:20, FZiegler wrote: > I've been using a dovecot IMAP server on localhost as my local mail store (to > have it in standard Maildir format and accessible by any client). I also want > to make it searchable in Spotlight. > > Ideally this could be done by appending '.eml' to

Re: [Pythonmac-SIG] Setting metadata (creator, type, or uti)

2012-04-09 Thread FZiegler
Ronald Oussoren wrote: MacOS.SetCreatorAndType(filename, creator, type) works both in 32-bit and 64-bit versions of python (I've tested this with 2.7). Thanks! Indeed this works, and does exactly what I wanted -- real fast. Thanks also to Karsten for your solution, which is already much fast