Bulk export Notes from Mail.app with Applescript?

Discussion in 'Mac Programming' started by tails-4, Dec 4, 2012.

  1. tails-4 macrumors newbie


    Oct 3, 2009
    Hey guys!

    I've been trying to export all my notes from Mail, as a .txt file with Applescript.
    I found this awesome script which lets me do exactly this:


    Trouble is, I want to be able to output the date the note was created, in the filename.
    Ideally, the files would be name something like "2012/01/30 - Note title", as that would mean the files are sortable by date, by finder.

    I've tried a whole bunch of stuff, including a lot of googl-ing, but it turns out AppleScript isn't my strong point.
    Any help would be GREATLY appreciated.

    Thanks in advance

Share This Page