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

17743Re: Newbie, can anyone help please ?

Expand Messages
  • petermarchal12
    Apr 18 8:14 AM
    • 0 Attachment
      --- In ntb-clips@yahoogroups.com, "petermarchal12" <konijntjepluis@...> wrote:
      >
      > Hi,
      >
      > I'm new to NoteTab Pro, and I need some help please.
      > I tried so many times but I cannot get the clip to do what I want.
      >
      > I have this textfile looking like this :
      > ------------------------------
      > Some text here
      > another line of text
      > and another one, the amount of text lines here can change
      > [Important] $LOG(1,6)$SET(value=3711)
      > [Important] $LOG(2,6)$SET(value=2218)
      > [Important] $LOG(3,6)$SET(value=5883)
      > [Important] $LOG(4,6)$SET(value=5130)
      > [Important] $LOG(5,6)$SET(value=1864)
      > [Important] $LOG(6,6)$SET(value=1359)
      > Some text here
      > another line of text
      > and another one, the amount of text lines here can change
      > ------------------------------
      >
      > I want to do the following 2 things :
      >
      > 1) I need a script that will focus on the lines starting with
      > [Important].
      > These lines need to be randomly positioned, Ie, they need to start at
      > the same line in the file where the first [Important] line is found, but
      > they need to be in a random order there. For example, like this :
      > ------------------------------
      > Some text here
      > another line of text
      > and another one, the amount of text lines here can change
      > [Important] $LOG(6,6)$SET(value=1359)
      > [Important] $LOG(1,6)$SET(value=3711)
      > [Important] $LOG(3,6)$SET(value=5883)
      > [Important] $LOG(5,6)$SET(value=1864)
      > [Important] $LOG(2,6)$SET(value=2218)
      > [Important] $LOG(4,6)$SET(value=5130)
      > Some text here
      > another line of text
      > and another one, the amount of text lines here can change
      > ------------------------------
      >
      > 2) After that I need to change the first number in the
      > "$LOG(number,number)" part, so that they become in order again. So
      > giving the ending result of my script like this :
      > ------------------------------
      > Some text here
      > another line of text
      > and another one, the amount of text lines here can change
      > [Important] $LOG(1,6)$SET(value=1359)
      > [Important] $LOG(2,6)$SET(value=3711)
      > [Important] $LOG(3,6)$SET(value=5883)
      > [Important] $LOG(4,6)$SET(value=1864)
      > [Important] $LOG(5,6)$SET(value=2218)
      > [Important] $LOG(6,6)$SET(value=5130)
      > Some text here
      > another line of text
      > and another one, the amount of text lines here can change
      > ------------------------------
      >
      > Please can anyone tell me how to achieve this please ?
      >
      > Thanks !
      >
      Just to add, NONE of the clips posted did work.
      I'm leaving this crap tool, and am now searching for a program that does work.

      Regards.

      P.S. A forum is quite expensive these day eh.
    • Show all 12 messages in this topic