Day One email script

charlieegan3

macrumors 68020
Original poster
Feb 16, 2012
2,394
14
U.K
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
 

rjames86

macrumors member
Mar 31, 2007
91
0
San Francisco
As it turns out day one isn't scriptable, so much for that idea.
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
 

charlieegan3

macrumors 68020
Original poster
Feb 16, 2012
2,394
14
U.K
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


Thats all good stuff, thanks - the challenge is back on!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.