if you give the button a name you don't need to declare global variables for each interface element for example: button -label "mybutton" -cc "mybuttonPressed()" mybutton;<br><br>button -e -label "changed label" mybutton; global proc mybuttonPressed(){ print "mybutton was pressed" ; } the above code will change the label…
Do you know how the print command works with these types of buttons, I'd like to display a message after the button is pressed, but I can't figure out the syntax.
Hi there, so I've created a mel custom toolbox with some buttons on it, but when I press the button in the mel GUI and then press G on the keyboard to repeat last command it launches the window again instead of repeating last command. Is there some way to trick it so it repeats the last command? This only seems to work…