Section 11: TSP command reference Series 3700A System Switch/Multimeter Reference Manual11-350 3700AS-901-01 Rev. D/June 2018Changing the name of a script does not change the name of any variables that reference that script.The variables will still reference the script, but the names of the script and variables may not match.Exampletest7 = script.new("display.clear() display.settext('Hello from my test')", "")test7()print(test7.name)test7.name = "test7"print(test7.name)test7.save()This example calls the script.new() function to create a script with no name, runs the script, names thescript "test7", and then saves the script in nonvolatile memory.Also seeRename a script (on page 10-48)script.new() (on page 11-344)scriptVar.save() (on page 11-351)scriptVar.run()This function runs a script.Type TSP-Link accessible Affected by Where saved Default valueFunction NoUsagescriptVar.run()scriptVar()scriptVar The name of the variable that references the scriptDetailsThe scriptVar.run() function runs the script referenced by scriptVar. You can also run thescript by using scriptVar().Exampletest8.run() Runs the script referenced by the variable test8.Also seeNone