Loading ...
Sorry, an error occurred while loading the content.
 

Re: [peditors] getting rid of multiple consecutive blanks ?

Expand Messages
  • Voytek Eymont
    John, it seem I stuffed up, after last udate scripts n longer run.... What did I forget? Voytek Eymont ___ Sent with SnapperMail www.snappermail.com
    Message 1 of 68 , Nov 5, 2009
      John,

      it seem I stuffed up, after last udate scripts n longer run.... What did I forget?


      Voytek Eymont
      ___
      Sent with SnapperMail
      www.snappermail.com

      {LFREGEXP::
      /&runtimeInit[]
      /xEpro f
      /xEpro T/xEpro W/xEpro R/xEpro r
      /p10/p10
      /xEpro f
      /&script$[@@LFR0@@]}
      {LFR0::
      /&ifAbort@[$&==0]
      /&ifScript@[$&!=0,@@ @@]}
      {LFR1::
      /xEpro f
      /xEpro T/xEpro W/xEpro R/xEpro r
      /p10
      /&script$[@@LFR2@@]}
      {LFR2::
      /&tap i[080,080]
      /&script$[@@LFR3@@]}
      {LFR3:: ß
      /xEpro f
      /&script$[@@LFR4@@]}
      {LFR4:: A
      /&script$[@@LFR5@@]}
      {LFR5:: d
      /&script$[@@LFR6@@] }
      {LFR6::
      /xEpro f
      /xEpro T/xEpro W/xEpro R
      ßß*
      /&script$[@@LFR7@@]}
      {LFR7::
      /&tap i[080,080]
      /&script$[@@LFR8@@]}
      {LFR8::
      /p10
      /xEpro f
      /&script$[@@LFR9@@]}
      {LFR9::
      /&ifAbort@[$&==0]
      /&ifScript@[$&!=0,@@ @@]}
      {LFR10::A
      /&script$[@@LFR11@@]}
      {LFR11:: d}


      {ColonDelete::
      /&runtimeInit[]
      /xEpro f
      /xEpro T/xEpro W/xEpro R/xEpro r
      :
      /xEpro f
      /&script$[@@CD2@@]}
      {CD2::
      /&ifAbort@[$&==0]
      /&ifScript@[$&!=0,@@ @@]}
      {CD3::
      /0x1C
      /xEpro s1
      /&control[@@bWord@@]
      /&script$[@@CD3A@@]}
      {CD3A::
      /&script$[@@CD3AA@@]}
      {CD3AA::
      /e#
      /&ifScript@[$$!=0,@@CD3C@@]
      /&ifScript@[$$==0,@@CD3B@@]}
      {CD3B::
      /0x1D/0x1D
      /&script$[@@CD3D@@]}
      {CD3C::
      /0x1D/0x1D
      /0x08 ;
      /&script$[@@ColonDelete@@]}
      {CD3D::
      /0x1C
      /xEpro j 1
      /&control[@@bLine@@]
      /&script$[@@CD4@@]}
      {CD4::
      /&script$[@@CD5@@]}
      {CD5::
      /e@
      /&ifScript@[$$==58,@@CD7@@]
      /&ifScript@[$$!=58,@@CD6@@]}
      {CD6::
      /0x1D
      /0x08
      /&script$[@@CD5@@]}
      {CD7::
      /0x1D
      /0x08
      /&script$[@@ColonDelete@@]}


      {LFdelete::
      /&runtimeInit[]
      /xEpro f
      /xEpro T/xEpro W/xEpro R/xEpro r
      /p10/p10
      /xEpro f
      /&script$[@@LFd0@@]}
      {LFd0::
      /&ifAbort@[$&==0]
      /&ifScript@[$&!=0,@@ @@]}
      {LFd1::
      /xEpro f
      /xEpro T/xEpro W/xEpro R/xEpro r
      /p10/p10
      /&script$[@@LFd2@@]}
      {LFd2::
      /&tap i[080,080]
      /&script$[@@LFd3@@]}
      {LFd3::
      /p10
      /xEpro f
      /&script$[@@LFd4@@]}
      {LFd4:: A
      /&script$[@@LFd5@@]}
      {LFd5:: d}


      {SPdelete::
      /&runtimeInit[]
      /xEpro f
      /xEpro T/xEpro W/xEpro R
      /xs/xs
      *
      /&script$[@@SPd2@@]}
      {SPd2::
      /&tap i[080,080]
      /&script$[@@SPd3@@]}
      {SPd3::
      /p32
      /xEpro f
      /&script$[@@SPd4@@]}
      {SPd4::
      /&ifAbort@[$&==0]
      /&ifScript@[$&!=0,@@ @@]}
      {SPd5::A
      /&script$[@@SPd6@@]}
      {SPd6:: d}


      ...
    • John Markley
      ... OK, now I ve taken it further. One of the disadvantages of the MemoToNote pScript is that it attaches the note to an untimed blank event on todays date
      Message 68 of 68 , Nov 10, 2009
        Quoting John Markley <jmmjr@...>:

        > Very good. With regard to the "{MemoToNote:" pScript, which evidently
        > is working ok, it ends with your new DateBk memo open, rather than
        > closing the note and showing the entry in Day View by tapping the
        > "Done" button. I did this because there was an exceedingly gnarly
        > problem getting the pScript to do that final "Done" button activation.
        > I have now solved that with a rather cool little trick. If you
        > would prefer to have the pScript end with the DayView entry rather
        > than the open note, replace your pScript with this one-

        OK, now I've taken it further. One of the disadvantages of the
        MemoToNote pScript is that it attaches the note to an untimed blank
        event on todays date and you then need to manually put in the event
        item text (if any) and assign the date and time. The other pScript,
        "pDateMemoNote" would leave you in the pDateTool dialog to select the
        time and date (if you could get pDateTool working - any luck?). Now,
        the new MemoToNote, below, will transfer the memo text to an untimed
        blank event on today's date, as before, but it will end by opening the
        DateBk "Details" dialog, so you can assign time, date, and put in any
        event item text you want.

        {MemoToNote::
        /xc Z
        /xc C
        /0x1C
        /&script$[@@MTN1@@]}
        {MTN1::
        /&launch[@@DateBk6@@]
        /xc N
        /&control[@@No@@]
        /&script$[@@MTN2@@]}
        {MTN2::
        /&script$[@@MTN3@@]}
        {MTN3::
        /xc A
        /xc P
        /&varSet[$1,0]
        /&script$[@@MTN4@@]}
        {MTN4::
        /&varAdd@[$1,1]
        /&control[@@Done@@]
        /&script$[@@MTN5@@]}
        {MTN5::
        /!/$f
        /&ifScript@[$$==1000,@@MTN6@@]
        /&ifAbort@[$1>=10]
        /&ifScript@[$$!=1000,@@MTN4@@]}
        {MTN6::
        /&control[@@Det@@]}

        ~ John
      Your message has been successfully submitted and would be delivered to recipients shortly.