PDA

View Full Version : registering button commands with repeated command history?


cgbeige
12-05-2010, 05:07 PM
I'm wondering if how can have custom button commands register as a repeatable command. As it is, when I hit g to repeat the last command, it ignores commands I've used in my palette.

mduvekot
12-05-2010, 07:12 PM
window;
columnLayout -adj true;
button -label "move up" -c "move -r 0 1 0; repeatLast -ac \"move -r 0 1 0\"";
button -label "move down" -c "move -r 0 -1 0; repeatLast -ac \"move -r 0 -1 0\"";
showWindow;

cgbeige
12-05-2010, 07:22 PM
thank you for being the guy nice enough to answer my MEL newb questions.

CGTalk Moderation
12-05-2010, 07:22 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.