I'm just creating a script, and am fiddling around with the user interface that I'll be making to go with it.
I've found the sliders, and have pretty much got them how I want them to look, but was wondering about how to replicate a function of some of the built in Maya sliders.
Some of the built in sliders have default minimum and maximum values, (for example, 0 to 1 for a light's intensity) but you can manually enter a value that's outside of this range and Maya automatically adjusts the slider. (so with light intensity, you could specify 10, which would become the new mid-range value, and the slider would go from 0 to about 20). This is what I want to do.
So far, playing with minimum and maximum values with slider properties in Mel limits the values to that specific range. As in the above example, entering 10 would put the slider back to its maximum value of 1.