FasdUAS 1.101.10 k l  # DESCRIPTION # This script clears the start and due dates of the currently selected actions or projects. # LICENSE # Copyright 2010 Dan Byler (contact: dbyler@gmail.com) Licensed under MIT License (http://www.opensource.org/licenses/mit-license.php) # CHANGE HISTORY # 0.3 "Someday Branch" 2010-11-03: Added option to change context 0.2b 2010-06-22: Re-fixed autosave 0.2 2010-06-21: Encapsulated autosave in "try" statements in case this fails 0.1: Initial release. # INSTALLATION # 1. Copy to ~/Library/Scripts/Applications/Omnifocus 2. If desired, add to the OmniFocus toolbar using View > Customize Toolbar... within OmniFocus   > # DESCRIPTION # This script clears the start and due dates of the currently selected actions or projects. # LICENSE # Copyright 2010 Dan Byler (contact: dbyler@gmail.com) Licensed under MIT License (http://www.opensource.org/licenses/mit-license.php) # CHANGE HISTORY # 0.3 "Someday Branch" 2010-11-03: Added option to change context 0.2b 2010-06-22: Re-fixed autosave 0.2 2010-06-21: Encapsulated autosave in "try" statements in case this fails 0.1: Initial release. # INSTALLATION # 1. Copy to ~/Library/Scripts/Applications/Omnifocus 2. If desired, add to the OmniFocus toolbar using View > Customize Toolbar... within OmniFocus  l  l :4 To change settings, modify the following propertiesh To change settings, modify the following properties  l j 0 showalert showAlert m  boovfals 2,if true, will display success/failure alertsXif true, will display success/failure alerts l j 0usegrowluseGrowl m  boovtrue <6if true (and showAlert is true), uses Growl for alertslif true (and showAlert is true), uses Growl for alerts l!"# !j$ 0 changecontext changeContext $m  boovtrue "5/true/false; if true, set newContextName (below)#%%^true/false; if true, set newContextName (below) &' &l()* (j + 0newcontextnamenewContextName +m ,,--Someday )=7context the item will change to if changeContext = true*..ncontext the item will change to if changeContext = true'/0 /l012 1l34 3 Don't change these455& Don't change these267 6j 8 0 alertitemnum alertItemNum 8m 99::7;< ;j= 0 alertdaynum alertDayNum =m>>??<@A @jB 0duedatedueDate BmCCDDAEF EjG 0 growlappname growlAppName GmHHIIDan's ScriptsFJK JjL $0allnotificationsallNotifications LJMMNO NmPPQQGeneralOR RmSSTT ErrorKUV Uj'W ,0enablednotificationsenabledNotifications WJ&XXYZ Ym![[\\GeneralZ] ]m!$^^__ ErrorV`a `j(,b "0iconapplicationiconApplication bm(+ccddOmniFocus.appaef elfgh gl`i iO`jk jk_llmn mOPop ok Oqqrs rZ 9tu to  0 changecontext changeContext uk5vvwx wl%yz{ yr%|} |n#~ ~1!#  ID n! 4!  cobj m  l I .OFOCFCCmnullctxt o 0newcontextnamenewContextName  kocl m  FCct }o 0 newcontextid newContextID z new{newx l&5 r&5 6&3 4&*  FCct m() =+2 1,.  ID o/1 0 newcontextid newContextID o 0 newcontext newContext newnews O:O kJN rJQ nJO 2MO  OTst 1JM  FCcn o $0theselecteditemstheSelectedItems rR] lRY IRY .corecnte******** nRU 2SU  cobj oRS $0theselecteditemstheSelectedItems o 0numitemsnumItems Z^ =^c o^a 0numitemsnumItems mab kf rfm mfi Error o 0 alertname alertName rnu mnqScript failure o 0 alerttitle alertTitle rv} mvy2No valid task(s) selected o 0 alerttext alertText n~ I 0notify o 0 alertname alertName o 0 alerttitle alertTitle o 0 alerttext alertText f~ L l r o 0numitemsnumItems o 0 selectnum selectNum r m o 0 successtot successTot r m  boovfals o 0autosave V k r n 1  valL n 4  cobj o 0 selectnum selectNum o $0theselecteditemstheSelectedItems o 0 selecteditem selectedItem Z o 0 changecontext changeContext l r o 0 newcontext newContext n m  FCct o 0 selecteditem selectedItem newnew r n I 0 cleardate clearDate o 0 selecteditem selectedItem f o 0 succeeded Z o 0 succeeded r [ o 0 successtot successTot m o 0 successtot successTot r \ o 0 selectnum selectNum m o 0 selectnum selectNum ? o 0 selectnum selectNum m   r    m  boovtrue  o 0autosave    r  m General o 0 alertname alertName r mScript complete o 0 alerttitle alertTitle Z0 ?  o 0 successtot successTot m r#, m#&!!""s  o 0 alertitemnum alertItemNum# #r1N$% $c1J&' &b1F() (b1B*+ *b1<,- ,b18./ .m140011(Date(s) cleared for /o47 0 successtot successTot -m8;2233 item +o<A 0 alertitemnum alertItemNum )mBE4455. 'mFI  TEXT %o 0 alerttext alertText l:G6~ 66:G78 74:>}9 } FCdw 9m<=|| 8=?F:; :1@B{ { pidx ;mCEzz~ p4y< y docu <mxxn=w =nQ_>? >IR_v@u v 0notify@AB AoRUt t0 alertname alertNameBCD CoUXs s0 alerttitle alertTitleDEr EoX[q q0 alerttext alertTextru ?fQRw kmFFOFOCalisBMBP"= 6) 2 < < pcap l!(;: =!( 1"$9 9 pnam m%'GrowlHelperApp;:>=?BA o8 80 growlrunning GrowlRunning msevsalistMBP" /dev/null 2>&1 &0/ I@E.- ..sysoexecTEXTTEXT m@A~/Library/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelperApp.app/Contents/MacOS/GrowlHelperApp > /dev/null 2>&1 &-/ R,+* ,.ascrerr ********+*2 IOT)( ).sysodelanullnmbr mOP?ə(' OUl rYk lYi&% IYi$# $.corecnte******** lYe"! 6Ye 2Y\  pcap l]d =]d 1^`  pnam macGrowlHelperApp"!#&% o 0 growlrunning GrowlRunning mUVsevsalistMBP"CHc 0 showalert showAlert 0usegrowluseGrowl 0 changecontext changeContext 0newcontextnamenewContextName 0 alertitemnum alertItemNum 0 alertdaynum alertDayNum 0duedatedueDate 0 growlappname growlAppName $0allnotificationsallNotifications ,0enablednotificationsenabledNotifications "0iconapplicationiconApplication 0 cleardate clearDate 0notify .aevtoappnull****  boovfals  boovtrue  boovtrue  PS  [^L  0 cleardate clearDate   0 selecteditem selectedItem  0 selecteditem selectedItem 0success o  FCDs .ascrcmnt********  msng  FCDd2fEO%,j O,FO,FOeEWXhUOkvx 0notify 0 alertname alertName 0 alerttitle alertTitle 0 alerttext alertText 0 alertname alertName 0 alerttitle alertTitle 0 alerttext alertText 0 growlrunning GrowlRunning  pcap  pnam .corecnte******** .sysoexecTEXTTEXT .sysodelanullnmbr  appl  anot  dnot  iapp .registernullnull  name  titl  desc .notifygrnullnull  disp .sysodlogaskrTEXTbfhYbe*-[,\Z81j EUOj:j Oj WX hOj O*-[,\Z81j EUYhOkUIA*bababab a O*aabaa UWX hYa%EOakl Y akl  .aevtoappnull**** k`g&F!024  docu  kocl  FCct .OFOCFCCmnullctxt  cobj  ID 0 newcontextid newContextID 0 newcontext newContext  FCdw  pidx  FCcn  OTst $0theselecteditemstheSelectedItems .corecnte******** 0numitemsnumItems 0 alertname alertName 0 alerttitle alertTitle 0 alerttext alertText 0notify 0 selectnum selectNum 0 successtot successTot 0autosave  valL 0 selecteditem selectedItem 0 cleardate clearDate 0 succeeded  TEXTa]*k/Fb'bl k/,EO*k/[,\Z81EYhO*k/[,\Zk81*,-EO-j E`O_j.aE`OaE`OaE`O)___m+OhYhO_E`OjE`OfE`O[h_j_/a,E`Ob _,FYhO)_k+E`O__kE`YhO_kE`[OYOeE`OaE`Oa E`O_ka!EcYhOa"_%a#%b%a$%a%&E`UUO)___m+Uascr ޭ