Day One email script

Discussion in 'Mac Apps and Mac App Store' started by charlieegan3, Oct 7, 2012.

  1. charlieegan3 macrumors 68020

    charlieegan3

    Joined:
    Feb 16, 2012
    Location:
    U.K
    #1
    I use day one as a journal for fun, I use sparrow for my emails.

    What I want to be able to do is write a script that will do the following:

    Code:
    >run every-time mail is synced
    
    if any of the new emails have subject line: [Journal Entry]
    -copy the message body to the clipboard
    -create a new entry in Day One
    -Paste in the clipboard contents
    end
    
    is that going to work? if so where can I learn the applescript code for Sparrow and Day One?

    this was all I found so far:http://dinhviethoa.tumblr.com/post/5967294192/applescript-with-sparrow
     
  2. charlieegan3 thread starter macrumors 68020

    charlieegan3

    Joined:
    Feb 16, 2012
    Location:
    U.K
    #2
    As it turns out day one isn't scriptable, so much for that idea.
     
  3. rjames86 macrumors member

    Joined:
    Mar 31, 2007
    Location:
    San Francisco
    #3
    That's not necessarily true. Check out Day One Tools

    Brett Terpstra wrote a great script for adding content to your Day One journal such as Twitter, Instapaper, Foursquare, etc.

    http://brettterpstra.com/social-logging-by-any-other-name-would-have-a-better-name/

    Sparrow doesn't let you run scripts on emails, but Mail.app would. Just create a filter that would then parse the email and dump it into Day One
     
  4. charlieegan3 thread starter macrumors 68020

    charlieegan3

    Joined:
    Feb 16, 2012
    Location:
    U.K
    #4


    Thats all good stuff, thanks - the challenge is back on!
     

Share This Page