merge macros

merge macros

6
NewbieNewbie
6

    Jul 14, 2005#1

    Any way to or a tool available that will combine a few macros' ??

    I've made all the macro's but they all seem to be in one .mac file.

    Not sure how I can do this...

    I've made one that starts at line 1. And basically finds a string, deletes that line and goes to next using the macro multiple times utility til its all cleaned...

    Ive made multiple macro's (around 30) that Id love to combine into a one click solution, but it wont... (or I dont know how)

    Any help?

    206
    MasterMaster
    206

      Jul 14, 2005#2

      There are all kinds of possibilities, but you need to be more specific. Show us examples of what you're doing.
      Software For Metalworking
      http://closetolerancesoftware.com

      6
      NewbieNewbie
      6

        Jul 14, 2005#3

        Im trying to merge all of these...


        Each one looks like the following basically: (just changed text)

        6,675585
        Grand MasterGrand Master
        6,675585

          Jul 14, 2005#4

          Either use loops or even easier regular expression replaces.

          Loop approach:

          InsertMode
          ColumnModeOff
          HexOff
          UnixReOff
          Top
          Loop
          Find "Search string 1"
          IfFound
          DeleteLine
          Else
          ExitLoop
          EndIf
          EndLoop
          Top
          Loop
          Find "Search string 2"
          IfFound
          DeleteLine
          Else
          ExitLoop
          EndIf
          EndLoop

          Regular expression replace approach:
          InsertMode
          ColumnModeOff
          HexOff
          UnixReOff
          Top
          Find RegExp "%*Search string 1*^p"
          Replace All ""
          Top
          Find RegExp "%*Search string 2*^p"
          Replace All ""
          Best regards from an UC/UE/UES for Windows user from Austria

          6
          NewbieNewbie
          6

            Jul 14, 2005#5

            Ok so I'd have to go through each of those, copy the strings from em and re-write using that logic. Sounds easy enough, just a small price to pay to get that macro working.. Thanks for that!

            ---- I will post a reply if it works --