setMacroTimeout Last update: 16.07.2025 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