; Sequence for automatically numbering of Cuts ; this Version simply take the selected Variables ; and rename it by using a Variable named: Counter_Cuts ; be careful if you have an Real Signal with this name ; for Security an hash inside the comment is used local num_of_actual_signals = VarGetInit(1) if varexist?("Counter_Cuts") if comm?(Counter_Cuts) = "A1B1C12K1234_78UZ" Counter_Cuts = Counter_Cuts + 1 else Boxmessage("Danger", "Perhaps the Variable Counter_Cuts exist, this tool needs a Variable with this name! No numbered Cuts","!1") exit end else Counter_Cuts = 1 setcomm(Counter_Cuts , "A1B1C12K1234_78UZ") end local newname, varname, ii FOR ii = 1 TO num_of_actual_signals Local varname = VarGetName?(ii) local newname = "{" + varname + TForm(Counter_Cuts ,"g3.0") + "}" ; or simply automatic numerbing ; simply rename the variable varname = "{" + varname + "}" rename END