Is it me or the Macro script editor

Hi.

In addition, you might want to prevent that the reset switch can be automated or is being saved with the program. You can do this if you define the parameter with named arguments. For example:

defineParameter { name = "resetSwitch", longName = "Reset Switch", default = false, onChanged = resetSwitchChange, writeAlways = true, automatable = false, persistent = false }

The documentation of parameters with named arguments can be found here:

https://developer.steinberg.help/display/HSD/Creating+Parameters#CreatingParameters-NamedArguments

Cheers,

Matthias