Email task to ToDo List
Roland Küffner
newsletter at rolandkueffner.de
Fri Jun 15 01:46:37 PDT 2007
Hi Tom,
here is a very, very basic script that gets called by a mail rule and
adds the subject to the frontmost OO document. You might want to
adjust that - as said: very basic, but it might get you started - I
use the mail part of this script myself but I don't send stuff to OO,
so this part is rudimentary.
Greets
Roland
using terms from application "Mail"
on perform mail action with messages allMails
tell application "Mail"
repeat with aMail in allMails
set theSub to subject of aMail
-- My mail rule treats only mails with the prefix [todo]
-- so my tasks start at position 7 of the subject string
set theSub to text 7 thru -1 of (get theSub)
my addTask(theSub as text)
-- test your scripts before using!!
delete aMail
end repeat
end tell
end perform mail action with messages
end using terms from
on addTask(theTask)
tell application "OmniOutliner Professional"
tell front document
make new row at end of rows with properties {topic:theTask}
end tell
end tell
end addTask
Am 15.06.2007 um 04:51 schrieb Tom Wolfe:
> What I'd like to be able to do do is send an email from my Windows
> machine at work to my Mac at home and have the Mac (Mail.app)
> automatically add the contents of the subject or the email - either
> way would work - to an inbox in my to do list.
>
> Searching the forum I found a similar request. The link the author
> of the script provides leads to a non-existent page.
>
> I found several discussions of a similar concept in the kGTD arena,
> but kGTD is overkill for my needs and I couldn't figure out how to
> adapt the scripts. If the author of the aforementioned script, Mike
> Terry, still reads this list, or if anyone has a copy they could
> share, it would be greatly appreciated.
>
> Thanks,
>
> Tom
> _______________________________________________
> OmniOutliner-Users mailing list
> OmniOutliner-Users at omnigroup.com
> http://www.omnigroup.com/mailman/listinfo/omnioutliner-users
More information about the OmniOutliner-Users
mailing list