FasdUAS 1.101.10 k l ys # DESCRIPTION # This script files the selected Mail messages to the specified folder (Archive, by default). # LICENSE # Created by Dan Byler (contact: dbyler@gmail.com); released as public domain. # CHANGE HISTORY # 0.1: Original release. # INSTALLATION # - Copy to ~/Library/Scripts/Applications/Mail - If desired, activate with Fastscripts    # DESCRIPTION # This script files the selected Mail messages to the specified folder (Archive, by default). # LICENSE # Created by Dan Byler (contact: dbyler@gmail.com); released as public domain. # CHANGE HISTORY # 0.1: Original release. # INSTALLATION # - Copy to ~/Library/Scripts/Applications/Mail - If desired, activate with Fastscripts  l  l  l *$name of the mailbox you're filing toHname of the mailbox you're filing to j 0 filemailbox fileMailbox mArchive l l <6if composing a message, paste the character you typed?lif composing a message, paste the character you typed? j! 0 dopastetext doPasteText !m  boovtrue "# "l$%& $j' 0esctextescText 'm(())\ %/)if using backslash, remember to escape it&**Rif using backslash, remember to escape it#+, +l,-. -lu/ /Ou01 0Xt23 2ko4456 5l678 7l9: 9D> Is the message viewer in front? Avoid accidentally triggering:;;| Is the message viewer in front? Avoid accidentally triggering8< <Zo=>? ==@A @nBC Bm  cwin Co &0thismessageviewerthisMessageViewer A4D  cwin Dm >k!&EEFG Fl!!GHI Hl!&JKL Jr!&MN M1!$  slct No *0theselectedmessagestheSelectedMessages Ktodo just use "selection"LOO2todo just use "selection"IPQ PZ'4RS R='+TU To'( *0theselectedmessagestheSelectedMessages UJ(* SL.0QVW Vl55WXY Xr5:Z[ Zn58\] \168  mvfm ]o56 &0thismessageviewerthisMessageViewer [o "0visiblemessagesvisibleMessagesY^_ ^r;C`a `n;Abc b1?A  ID cn;?de d4<?f  cobj fm=> eo;< *0theselectedmessagestheSelectedMessages ao 0firstidfirstID_gh grDLij inDJkl k1HJ  ID lnDHmn m4EHo  cobj omFG noDE *0theselectedmessagestheSelectedMessages jo 0lastidlastIDhpq plMMqrs rlMMtu t Change selectionuvv" Change selectionswx wlMMxyz yYM{|} {Z[~ ~=[c n[a 1_a  ID n[_ 4\_  cobj o]^ 0i o[\ "0visiblemessagesvisibleMessages oab 0firstidfirstID Qf ki lii 4. Make sure we're navigating to a valid message\ Make sure we're navigating to a valid message Zi =is niq 1oq  pcls nio 4jo  cobj lkn \kn okl 0i mlm oij "0visiblemessagesvisibleMessages mqr  mssg rv Jv~ nv| 4w|  cobj lx{ \x{ oxy 0i myz ovw "0visiblemessagesvisibleMessages n 1  smgs o~ &0thismessageviewerthisMessageViewer l r J n 4  cobj l \ o 0i m o "0visiblemessagesvisibleMessages n 1  smgs o &0thismessageviewerthisMessageViewer @: If not, it's probably a message thread; skip back anothert If not, it's probably a message thread; skip back another R .ascrerr ******** l Q r J n 4  cobj l [ o 0i m o "0visiblemessagesvisibleMessages n 1  smgs o &0thismessageviewerthisMessageViewer R .ascrerr ******** likely at top of viewer.likely at top of viewer = n 1  ID n 4  cobj o 0i o "0visiblemessagesvisibleMessages o 0lastidlastID Q k r J n 4  cobj l~ [ o} }0i m||~ o{ {"0visiblemessagesvisibleMessages n 1z z smgs oy y&0thismessageviewerthisMessageViewerx Sx Rwvu w.ascrerr ********vu 0i |mPQtt }lQVsr IQVqp q.corecnte******** oQRo o"0visiblemessagesvisibleMessagespsrz lnmlnml lkk  Move messages Move messages X#j k r n 1i i pnam n mh h mact n mg g mbxp of f0 themessage theMessage oe e0 theaccount theAccountd Ic c.coremovenullmssg ob b0 themessage theMessagea` a insh n  4_ _ mbxp o^ ^0 filemailbox fileMailbox 4 ] ] mact o \ \0 theaccount theAccount`d j0 themessage theMessage o[ [*0theselectedmessagestheSelectedMessages   l$$ZYXZYX  W  L$&VVW ?Z)o  UT  =)0 o).S S0 dopastetext doPasteText m./R R boovtrue  k3k l33QQ /) Let the original keystroke pass through.R Let the original keystroke pass through. l33PP >8 Uses paste to avoid an infinite script-triggering loop.p Uses paste to avoid an infinite script-triggering loop.O O3k k9j r9B!" !I9>NML N.JonsgClp****nullML "oK K$0currentclipboardcurrentClipboard #$ #ICLJ%I J.JonspClpnull**** %oCHH H0esctextescTextI$&' &IM\G() G.prcskprsnullutxt (mMP**++v)F,E F faal ,JSX--.D .mSVC C eMdsKcmdDE'/0 /I]bB1A B.sysodelanullnmbr 1m]^@@A02? 2Icj>3= >.JonspClpnull**** 3ocf< <$0currentclipboardcurrentClipboard=? m3644sevsalis Hypersolid%H+jSystem Events.app:Ǚ CoreServices& WǙ, j&%8Hypersolid:System:Library:CoreServices:System Events.app$System Events.app Hypersolid-System/Library/CoreServices/System Events.app/OUT &0thismessageviewerthisMessageViewer 32 ; ; mvwr 1m55emalalis> Hypersolid%H+qMail.apphx_ Applications& Wxq Hypersolid:Applications:Mail.appMail.app HypersolidApplications/Mail.app/.6: 6l987987:675(8674321 40 filemailbox fileMailbox 30 dopastetext doPasteText 20esctextescText 1.aevtoappnull**** 5 boovtrue809/.:;- 0.aevtoappnull**** 9ku<<-,,/.:+*) +&0thismessageviewerthisMessageViewer *0i )0 themessage theMessage;!5('&%$#"! 4* ( mvwr ' kocl & cobj %.corecnte******** $ cwin # slct "*0theselectedmessagestheSelectedMessages ! mvfm "0visiblemessagesvisibleMessages  ID 0firstidfirstID 0lastidlastID  pcls  mssg  smgs  mbxp  mact  pnam 0 theaccount theAccount  insh .coremovenullmssg .JonsgClp****null $0currentclipboardcurrentClipboard .JonspClpnull****  faal  eMdsKcmd .prcskprsnullutxt .sysodelanullnmbr-vro*-[l kh,*k/ *,EOjvhYhO,EOk/,EOi/,EOkj kh/,P-k/,k/kv,FYl/kv,FWXk/kv,FWXhY+/,k/kv,FOWXhYh[OYxO?[l kha,a,a,E`Oa*a_/ab/l [OYOhYHbe=a3*j E`Obj Oaaakvl Okj O_j UYh[OYUascr ޭ