Hopefully I understood your question correctly. The scale widgets output as numbers as I slide the slider then press OK. Does it not behave that way for you?
man yad wrote:SCL - scale field. Value of this field in a range 0..100.
The initial value of a scale widget is NOT a shell command, and the widget will NOT execute a shell command.
To run commands in a form you could use a :BTN or :FBTN.
Caveat: if the button command is meant to set a form value - e.g. "@echo 3:new_value" to assign "new_value" to the third field - the assignment will happen only after the command exits. Therefore, don't use infinite loops expecting to see fields changing their value.