For scale widgets, the following commands are important. The first command sets the scale to 10, and the second command retrieves the current value of the scale.
widgetCommand set 10 widgetCommand get
widgetCommand get