FasdUAS 1.101.10 k l VP Derived from work that is Copyright 2007, Curtis Clifton All rights reserved.  Derived from work that is Copyright 2007, Curtis Clifton All rights reserved. l  82 Modified to work specifically with Jott messages. d Modified to work specifically with Jott messages.  l l WQ If true, then the sender of the message is included in the action's description. If true, then the sender of the message is included in the action's description. j 0 includesender includeSender m  boovtrue l j 0 messagesender messageSender mJott ! l!"# "i $% $I .aevtoappnull**** %O5&' &k4(()* )r +, +1  slct ,o $0selectedmessagesselectedMessages*-. -Z */0 /l 1 1> 23 2l 4 4I 5 .corecnte******** 5o $0selectedmessagesselectedMessages 3m 0k&6678 7I#9: .sysodisAaleRTEXT 9m;;<<lPlease select a message to be linked to the new action:=>  mesS =m??@@This script creates a new OmniFocus action that links back to a selected message.>AB  btns AJCCD DmEEFFOKBGH  dflt GmIIJJOKHK  givu Km8L LL$&.M Mn+4NO NI,4P 0process_messagePQ Qn,0RS R4-0T  cobj Tm./ So,- $0selectedmessagesselectedMessages Of+, 'mUUemalalisD Macintosh HDH+Mail.appӟ ApplicationsQ"Macintosh HD:Applications:Mail.appMail.app Macintosh HDApplications/Mail.app/#VW VlWXY XwZ[ Zi \] \I^ .emalcpmanull@mssg ^o 0 themessages theMessages ]Q=_`a _k#bbcd cr ef eIg .corecnte******** go 0 themessages theMessages fo "0themessagecounttheMessageCountdh hY #ijk inlm lIn 0process_messageno onpq p4r  cobj ro "0themessageindextheMessageIndex qo 0 themessages theMessages mf "0themessageindextheMessageIndex jm ko "0themessagecounttheMessageCount `Rst .ascrerr ******** so 0mtu  errn uo 0n aO+=vw vI/<x .ascrcmnt******** xb/8yz yb/4{| {b/2}~ }m/06Exception in Mail action: ( ~o01 0n |m23) z147  OSym wm+,OFOCalisX Macintosh HDH+ OmniFocus.appJ ApplicationsQJU'Macintosh HD:Applications:OmniFocus.app OmniFocus.app Macintosh HDApplications/OmniFocus.app/[emalalisD Macintosh HDH+Mail.appӟ ApplicationsQ"Macintosh HD:Applications:Mail.appMail.app Macintosh HDApplications/Mail.app/Y l i I 0process_message o 0 themessage theMessage k O k r n 1  ctnt o 0 themessage theMessage o 0 thecontent theContent r  n 1  drcv o 0 themessage theMessage o 0thedatetheDate r n 1  meid o 0 themessage theMessage o 0 messageid messageId memalalisD Macintosh HDH+Mail.appӟ ApplicationsQ"Macintosh HD:Applications:Mail.appMail.app Macintosh HDApplications/Mail.app/ l O k r( [& l$ I$ .sysooffslongnull  psof m Jott:  psin o 0 thecontent theContent m$% o 0 messagestart messageStart r)6 \)4 l)2 I)2 .sysooffslongnull  psof m+, Listen  psin o-. 0 thecontent theContent m23 o 0 messageend messageEnd r7D n7B 78B  ctxt o<> 0 messagestart messageStart o?A 0 messageend messageEnd o78 0 thecontent theContent o 0tasknametaskName ZE\ lEJ oEJ~ ~0 includesender includeSender rMX bMV bMP oMN} }0tasknametaskName mNO  oPU| |0 messagesender messageSender o{ {0tasknametaskName r]c 4]az z docu m_`yy ox x0thedoctheDoc Od kh rhn Khlwv w pnam oiju u0tasknametaskNamev ot t0 proprecord propRecords ro Io~rq r.corecrel****nullqp p kocl msvo o FCitnm n prdt oyzl l0 proprecord propRecordm ok k0thetasktheTasks odej j0thedoctheDoci O k r oh h0thedatetheDate 1g g FCDs r b of f ret oe e ret 1d d FCnoc O k r b b m    message://< ob b0 messageid messageId m    > oa a0theurltheURL   r o` `0theurltheURL o_ _0linktextlinkText I^ ^.TEXTOSinnullctxt o] ]0linktextlinkText\[ \ insh n 8Z Z insl 4Y Y cha mXX[W r oV V0theurltheURL n 1U U valL n 4T T OSsa  m!!""link n#$ #mS S OSst $4R% R cpar %mQQW 1P P FCnoc oO O0thetasktheTaski m&&OFOCalisX Macintosh HDH+ OmniFocus.appJ ApplicationsQJU'Macintosh HD:Applications:OmniFocus.app OmniFocus.app Macintosh HDApplications/OmniFocus.app/N'M()*N'LKJIH L0 includesender includeSender K0 messagesender messageSender J.aevtoappnull**** I.emalcpmanull@mssg H0process_message M boovtrue(G%FE+,D G.aevtoappnull****FE+,UCBA;@??E>I=<;:98 C slct B$0selectedmessagesselectedMessages A.corecnte******** @ mesS ? btns > dflt = givu<; :.sysodisAaleRTEXT 9 cobj 80process_messageD62*,EOj kkv OhYhO)k/k+U)7]65-.4 7.emalcpmanull@mssg 60 themessages theMessages5-3210/ 30 themessages theMessages 2"0themessagecounttheMessageCount 1"0themessageindextheMessageIndex 00m /0n. .-,+/*) ..corecnte******** - cobj ,0process_message +0m/('& ( errn '0n& * OSym ).ascrcmnt********4>%j EOkkh)/k+[OYWX%%*,%j U*%$#01" %0process_message$!2!2 0 themessage theMessage#0  0 themessage theMessage 0 thecontent theContent 0thedatetheDate 0 messageid messageId 0 messagestart messageStart 0 messageend messageEnd 0tasknametaskName 0thedoctheDoc 0 proprecord propRecord 0thetasktheTask 0theurltheURL 0linktextlinkText1"&   !  ctnt  drcv  meid  psof  psin .sysooffslongnull   ctxt  docu  pnam  kocl  FCit  prdt .corecrel****null  FCDs  ret  FCno  insh  cha  insl .TEXTOSinnullctxt  cpar  OSst  OSsa  valL",EO,EO,EUO* EO* mEO[\[Z\Z2EOb%b%EYhO*k/EOlEO*aaa EUO[*a,FO__%*a,FO*a,