setMacroTimeout Last update: 30.07.2026 public setMacroTimeout(macroName: String, timeout: Double) sets the timeout for a macro if the macro exists Parameters macroName the name of the macro timeout the number of seconds to allow a script to run before canceling it; -1 indicates no timeout