setMacroScript Last update: 30.07.2026 public setMacroScript(macroName: String, script: String) set the script for a macro if the macro exists Parameters macroName the name of the macro script the macro script to display in the editor