The idea is to have your script create a script and then run it. I do this pretty often with Custom Attributes. I'm not really sure how to explain better than that, but here's another example script that uses a spinner to generate the specified number of buttons. http://dl.dropbox.com/u/2904948/Tutorials/DynamicUISpinner.ms
Hello all, I hope I post in the good place, I'm a beginer in maxscript and I just can't find how to get the actual frame of the SliderTime. I mean, I can give to the SliderTime a frame, ok no problem BUT not the invers, get the frame of the SliderTime. I'm sure this is somewhere in the MAXScript reference but can't find it…
Hello I have another question. The title of the topic isn't appropriate anymore but since is in the same script... I can't find how to insert a group of buttons in a UI. I mean, I create a Ui with a button, when I press this button it add several other buttons below in a group inside the same UI. I have thinking to that,…
Ok, but since I want let the user of the script define the number of buttons he create (I have a spinner for that just above my first button), that exclude theses methods no ? "generate a maxscript on the fly and use the execute command to create the UI elements" Sorry can you tell me more about that ? Thanks ! :)
Hello, another little question, I'm using a drop down list, I can use it but I just can't find how to feed her array. I have try the "append myDropdownlist test" command, don't seem to work. What do I'm missing ? Thanks
Rollout UI elements can only be defined in the rollout definition and not in any expression that is run. There are ways to accomplish what you want though. One way to to create all the UI elements you need and disable and enable them as needed. (This is the most common method) A similar method is to use their visible…
As Wesley said, 'sliderTime' will return what frame the slider is on. And assigning it a number sets what frame its on. Just remember that you can only set the sliderTime to something in the animation range, it defaults to 0-100. So if you try to set the sliderTime to 110 it will actually be 100. That's caused me some…