FasdUAS 1.101.10 k l  Script to forward email to toodledo Uses Mailtags project as project, priority for priority, keyword field for contexts, due dates, etc (in Toodledo email format) You can assign only 1 keyword, which becomes the context Uses Message's subject as the task name Author: Himanshu Shukla Web: http://www.thefreespeech.org/?p=69 Version: 0.2 v 0.2, 19/11/2009 Changelog: - Fixed setting of priority when set to 'low' or 'very low'   ` Script to forward email to toodledo Uses Mailtags project as project, priority for priority, keyword field for contexts, due dates, etc (in Toodledo email format) You can assign only 1 keyword, which becomes the context Uses Message's subject as the task name Author: Himanshu Shukla Web: http://www.thefreespeech.org/?p=69 Version: 0.2 v 0.2, 19/11/2009 Changelog: - Fixed setting of priority when set to 'low' or 'very low'  l  l  l " Your Toodledo email address8 Your Toodledo email address j 0toodledo m0change.this@toodledo.com l l '!Configuration for Growl messages BConfiguration for Growl messages  j! 0growlrunGrowlRun !m  boovfals "# "j$ 0 scriptname scriptName $m%%&& Send to Toodledo#'( 'j ) 0 notifysuccess notifySuccess )m **++(Success Notification(,- ,j . 0 notifyfail notifyFail .m //00&Failed Notification-12 1j3 0 titlesuccess titleSuccess 3m44556Added to Toodledo succeeded267 6j8 0 titlefail titleFail 8m99::0Added to Toodledo failed7;< ;j= 0 txtsuccess txtSuccess =m>>??> added to Toodledo successfully<@A @jB 0txtfailtxtFail BmCCDD2 added to Toodledo failedAEF EjG 0txticontxtIcon GmHHIIMailFJK JlKLM LlNO NCheck if Growl is runningOPP2Check if Growl is runningMQR QlS SOTU TrVW V?XY XlZ ZI[ .corecnte******** [l\ \6]^ ]2  prcs ^=_` _1  pnam `m aabbGrowlHelperApp Ym Wo 0growlrunGrowlRun Umccsevsalis Macintosh HD$H+'System Events.app).8 CoreServices=8'7 ''':Macintosh HD:System:Library:CoreServices:System Events.app$System Events.app Macintosh HD-System/Library/CoreServices/System Events.app/Rde dlefg flhi h Setup GrowlijjSetup Growlgkl klZm mZZno no# 0growlrunGrowlRun oO&Vpq pI*Ur .registernullnullrst  appl so,1 0 scriptname scriptNametuv  anot uJ2>wwxy xo27 0 notifysuccess notifySuccessyz zo7< 0 notifyfail notifyFailv{|  dnot {J?K}}~ ~o?D 0 notifysuccess notifySuccess oDI 0 notifyfail notifyFail|  iapp oLQ 0txticontxtIcon qm&'2GRRRalis Macintosh HD$H+ 8GrowlHelperApp.app lƗ} Resources=Ɩ 8 4 3)"='8YMacintosh HD:Library:PreferencePanes:Growl.prefPane:Contents:Resources:GrowlHelperApp.app&GrowlHelperApp.app Macintosh HDLLibrary/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelperApp.app/l l l l[G O[G k_F r_d l_b 1_b  slct o 0 themessages theMessages XeF kyA ry Iy .corecrel****null  kocl m}  bcke  insh n ; 2  bcke o 0 newmessage newMessage O( k' l Find message id of message & prepend it to the body of the message so you can open the item in mail while in Toodledo - awesome! Find message id of message & prepend it to the body of the message so you can open the item in mail while in Toodledo - awesome! r l n 1  meid o 0 thismessage thisMessage o 0 message_id l r b b b b m&<a href='message:// o 0 message_id m*'>Open in Mail</a> m n 1  ctnt o 0 thismessage thisMessage 1  ctnt l w k  l l l 5/ Convert MailTags Priority to Toodledo priority^ Convert MailTags Priority to Toodledo priority l Priority Mailtags Toodledo Very Low 1 -1 Negative Low 2 0 Low Normal 3 1 Medium High 4 2 High Urgent 5 3 Top D Priority Mailtags Toodledo Very Low 1 -1 Negative Low 2 0 Low Normal 3 1 Medium High 4 2 High Urgent 5 3 Top  l RL You can only set priorities of message where its normal or above via email  You can only set priorities of message where its normal or above via email  Z I .coredoexboolobj n 1  mtpy o 0 thismessage thisMessage Z @ n 1  mtpy o 0 thismessage thisMessage m k r \ l n 1  mtpy o 0 thismessage thisMessage m o 0 newpriority l~}|~}| l{zy{zy lxx `Z 'Very low' priority is not supported by the email synatx of toodledo, so set it as normal 'Very low' priority is not supported by the email synatx of toodledo, so set it as normal lwvuwvu Q r ot t0 newpriority os s0tmpvartmpVar Rrqp r.ascrerr ********qp r   moo  on n0 newpriority   lmlkmlk    ljihjih lgg -' Convert priority to exclaimation marksN Convert priority to exclaimation marks lfedfed ZE =  o c c0 newpriority m  bb r m  !! ! oa a0 excpriority"# "=$% $o` `0 newpriority %m__#&' &r")() (m"%**++ !! )o^ ^0 excpriority',- ,=,1./ .o,/] ]0 newpriority /m/0\\-0[ 0r4;12 1m473344 !!! 2oZ Z0 excpriority[ r>E56 5m>A7788 6oY Y0 excpriority9: 9lFFXWVXWV:;< ;lFFUTSUTS<=> =lFFR?@R ?VP Set due date - Mailtags due date is proper date time; we need a toodledo syntax@AA Set due date - Mailtags due date is proper date time; we need a toodledo syntax>BC BZFDEQF DIFOPGO P.coredoexboolobj GnFKHI H1GKN N mtdd IoFGM M0 thismessage thisMessageO EkRJJKL KrRvMN MnRWOP O1SWL L mtdd PoRSK K0 thismessage thisMessage NKQQJRS J year RoI I0ySHTU H mnth ToG G0mUFVE F day VoD D0dELWC WrwXY XbwZ[ Zbw\] \bw^_ ^bw`a `bw~bc bmwzddee # coz}B B0m am~ffgg _oA A0d ]mhhii, [o@ @0y Yo? ? 0 myduedateCQ Frjk jmllmm ko> > 0 myduedateCno nl=<;=<;opq pl:rs: r Set projectstt Set projectquv uZwx9y wI8z7 8.coredoexboolobj zn{| {16 6 mtpr |o5 50 thismessage thisMessage7 xr}~ }b m * n 14 4 mtpr o3 30 thismessage thisMessage ~o2 20 myproject myProject9 yr m o1 10 myproject myProjectv l0/.0/. l--  Set context Set context Z, I+* +.coredoexboolobj n 1) ) mtkw o( (0 thismessage thisMessage* r b m @ n 1' ' mtkw o& &0 thismessage thisMessage o% %0 mykeywords myKeywords, r m o$ $0 mykeywords myKeywords l#"!#"! l  82 Create the subject in the special Toodledo syntaxd Create the subject in the special Toodledo syntax l r  b b b b b b n 1  subj o 0 thismessage thisMessage o 0 myproject myProject o 0 excpriority o 0 mykeywords myKeywords o  0 myduedate m n 1  mtnt o 0 thismessage thisMessage 1   subj l  INDValis0 Macintosh HD$H+0M#MailTagsScriptingSupport.app0M؀ Resources=K 0M#0M0M  fPZZ||tMacintosh HD:Users:himanshu:Library:Mail:Bundles:MailTags.mailbundle:Contents:Resources:MailTagsScriptingSupport.app:MailTagsScriptingSupport.app Macintosh HDgUsers/himanshu/Library/Mail/Bundles/MailTags.mailbundle/Contents/Resources/MailTagsScriptingSupport.app/ I '  .corecrel****null    kocl m  trcp   prdt K!  radd o  0toodledo  o 0 newmessage newMessage I)0 .emsgsendboolbcke o), 0 newmessage newMessage n1? I2? 0 growlsuccess GrowlSuccess b2; m25 Mail: n5: 16:  subj o56 0 thismessage thisMessage f12 l@@ -' set read status of thisMessage to trueN set read status of thisMessage to true l@@ /) set was forwarded of thisMessage to trueR set was forwarded of thisMessage to true l@@ 2, set junk mail status of thisMessage to trueX set junk mail status of thisMessage to true 0 thismessage thisMessage ohi 0 themessages theMessages m[\emalalisD Macintosh HD$H+'Mail.app*@Ə Applications=Ǝ'"Macintosh HD:Applications:Mail.appMail.app Macintosh HDApplications/Mail.app/ l i # I 0 growlsuccess GrowlSuccess o 0 themessage theMessage Z0 o 0growlrunGrowlRun O, I + .notifygrnullnull  name o 0 notifysuccess notifySuccess  titl o 0 titlesuccess titleSuccess  desc b! o 0 themessage theMessage o 0 txtsuccess txtSuccess  appl o"' 0 scriptname scriptName m 2GRRRalis Macintosh HD$H+ 8GrowlHelperApp.app lƗ} Resources=Ɩ 8 4 3)"='8YMacintosh HD:Library:PreferencePanes:Growl.prefPane:Contents:Resources:GrowlHelperApp.app&GrowlHelperApp.app Macintosh HDLLibrary/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelperApp.app/%*/49>CH 0toodledo 0growlrunGrowlRun 0 scriptname scriptName 0 notifysuccess notifySuccess 0 notifyfail notifyFail 0 titlesuccess titleSuccess 0 titlefail titleFail 0 txtsuccess txtSuccess 0txtfailtxtFail 0txticontxtIcon 0 growlsuccess GrowlSuccess .aevtoappnull****  boovfals 0 growlsuccess GrowlSuccess 0 themessage theMessage 0 themessage theMessage  name  titl  desc  appl .notifygrnullnull1b)!*bbb%b UYh .aevtoappnull**** kGQ  k   0 thismessage thisMessageFc a *37dfhl  prcs   pnam .corecnte********  appl  anot  dnot  iapp .registernullnull  slct 0 themessages theMessages  kocl  cobj  bcke  insh .corecrel****null 0 newmessage newMessage  meid 0 message_id  ctnt  mtpy .coredoexboolobj 0 newpriority 0tmpvartmpVar 0 excpriority  mtdd  year 0y  mnth 0m  day 0d 0 myduedate  mtpr 0 myproject myProject  mtkw 0 mykeywords myKeywords  subj  mtnt  trcp  prdt  radd .emsgsendboolbcke 0 growlsuccess GrowlSuccessH*-[,\Z81j jEcUOb5-*bbblvbblvb UYhO*,EO[aal kh*aaa*a-6a E`O_a,E`Oa_%a%a%a,%*a,FOaZa,j  a,ma,lE` OPYhYhO _ E`!W X"#jE` O_ k a$E`%Y-_ l a&E`%Y_ m a'E`%Y a(E`%Oa),j Ea),E[a*,E`+Z[a,,E`-Z[a.,E`/ZOa0_-%a1%_/%a2%_+%E`3Y a4E`3Oa5,j a6a5,%E`7Y a8E`7Oa9,j a:a9,%E`;Y a%a?,%*a=,FOPO*aa@aAaBbla UO_j CO)aDa=,%k+EOP[OY2Uascr ޭ