ForumsThird-Party ApplicationsIntegrating toodledo with Mail.app on a Mac


Integrating toodledo with Mail.app on a Mac
Author Message
mikehardy

Posted: May 12, 2011
Score: 0 Reference
Hi there, I've been thinking about how to automate toodledo task creation from email.

I use a Mac, with Mail.app as my client, and I can script Applescript and/or use Mail Act-On and MailTags.

I've done this before with Things - I can press a key combination and a get a new task quick entry box, pre-populated with the subject of the email as the task name, and a message-id link into Mail.app in the Notes. It works great but I'm moving to Toodledo and I don't know how to replicate it here

I saw a post with some scripts that used the Toodledo email interface to do this, and it looked like it would work:
http://www.toodledo.com/forums/8/3276/-17552/integrating-mailtags-toodledo.html

It links here:
http://www.thefreespeech.org/?p=69

Unfortunately, I am unable to connect to that server, so I can't get those scripts.

Does anyone have a copy of those scripts they could post somewhere (or paste in here) ?

I'd love to get my hands on them - if they work well I could host them and keep them updated.

Also, if anyone has any other way they are automating task creation in Toodledo from Mail.app email, I'd love to hear it.

Thanks!
mikehardy

Posted: May 12, 2011
Score: 0 Reference
I should note that I can find the page in the google cache, I'm just unable to download the scripts:

https://webcache.googleusercontent.com/search?q=cache:vi14FETzIPsJ:www.thefreespeech.org/%3Fp%3D69
mikehardy

Posted: May 13, 2011
Score: 0 Reference
This is the best I could come up with - I'd love it if anyone could come up with a way to move focus to the "Subject" line for quick editing...

The forums messed up the formatting a little bit - replace all the ALLCAPS text you see, it'll work...

------

using terms from application "Mail"
on perform mail action with messages newMessages

set theSelectedMessages to selection
set the selected_message to item 1 of the theSelectedMessages
set message_id to the message id of the selected_message
set TheSubject to the subject of the selected_message
set message_uri to "LESSTHANa rel="nofollow" href="\"GREATERTHAN" & TheSubject & "LESSTHAN/aGREATERTHAN"
set TheBody to "From: " & the sender of the selected_message & " on " & the date sent of the selected_message & linefeed & message_uri

set newMessage to make outgoing message with properties {visible:true}
tell newMessage
set content to TheBody
set subject to TheSubject
make new to recipient at end of to recipients with properties {address:"YOURTOODLEDO ADDRESS HERE"}
end tell

end perform mail action with messages
end using terms from


This message was edited May 13, 2011.
1812957924 Post deleted
You cannot reply yet

U Back to topic home

R Post a reply

To participate in these forums, you must be signed in.