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

Re: [NTB] Deleting the first 33 bytes on each line

Expand Messages
  • Larry Thomas
    Hi Daniel, ... You can do this with the clip below: ______[Copy below this line]_______ H= Delete 33 Characters ^!Jump LIne_Start ^!Select +33 ^!InsertText
    Message 1 of 1 , Mar 21, 2004
      Hi Daniel,

      At 04:57 PM 3/21/04 -0800, you wrote:
      >Is it possible to automatically delete the first 33 bytes on each line
      >with Note Tab Standard? If it is, how would one go about doing it?
      >Thank you in advance for all replies.

      You can do this with the clip below:

      ______[Copy below this line]_______
      H="Delete 33 Characters"
      ^!Jump LIne_Start
      ^!Select +33
      ^!InsertText
      _____[Copy above this line]______
      | right click over the clipbook |
      | and choose "Add from Clipboard" |
      ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

      This second clip will go through the whole document from top to bottom and
      delete the first 33 characters of every line in it.

      ______[Copy below this line]_______
      H="Delete 33 Characters - Whole Doc"
      ^!Jump 1
      :Loop
      ^!Select +33
      ^!InsertText
      ^!If ^$GetTextLineCount$ = ^$GetRow$ Exit
      ^!Jump +1
      ^!Goto Loop
      _____[Copy above this line]______
      | right click over the clipbook |
      | and choose "Add from Clipboard" |
      ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

      This third clip will go through a series of selected or partially selected
      lines and deletes the first 33 characters of each of the lines.

      ______[Copy below this line]_______
      H="Delete 33 Characters - Whole Doc"
      ^!Set %Start%=^$GetRowStart$; %End%=^$GetRowEnd$
      :Loop
      ^!Jump ^%Start
      ^!Select +33
      ^!InsertText
      ^!If ^%Start% = ^$GetRow$ Exit
      ^!Inc %Start%
      ^!Goto Loop
      _____[Copy above this line]______
      | right click over the clipbook |
      | and choose "Add from Clipboard" |
      ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

      The message below is from the listowner, Jody Adair. It is for your
      information only and you should not take it as criticism.

      Jody's Message

      Message from Jody Adair to another listmember on the "Basic"
      List dated January 24,2004

      If you sign up for any of the discussion lists, please do *not*
      post questions about Clips and other scripting languages on the
      Basic list. More difficult tasks should be posted on the Clips or
      Scripts lists. HTML should be posted on the HTML list and Off
      Topic discussion takes place on that list. Easy Thumbnails, Easy
      Imager, and Album Express list are for discussion of those
      programs. The most important thing to remember is please leave
      the Basic list for the *very basic* use of NoteTab. The other
      lists are a lot more flexible for instance Clips can be/and are
      welcomed on the HTML list. Thanks!!!

      Discussion mailing list subscribing and un-subscribing:
      http://www.fookes.us/maillist.htm
      http://www.notetab.net/html/maillist.htm

      The NoteTabbers Assistant Page (Useful Libraries and Clips for
      NoteTab, an excellent text and HTML editor): http://www.notetab.net

      End of Jody's message:
      =====================

      Regards,

      Larry
      lrt@... e¿ê
    Your message has been successfully submitted and would be delivered to recipients shortly.