I must be missing something basic here, but how do you execute Python code when a custom Pulse parameter is clicked.
Not a pulse on a Script DAT, just one that has been added to a Base COMP.
Thanks
I must be missing something basic here, but how do you execute Python code when a custom Pulse parameter is clicked.
Not a pulse on a Script DAT, just one that has been added to a Base COMP.
Thanks
You can use a Parameter Execute DAT, which has an onPulse() callback. Inside of it you can do a check for your pulse button name like:
if par.name == "Pulseparametername":
op('my_script').run()
Is that what you mean?
Ahh, yes perfect, thanks