I know this is a very old post, but I'm hopeing you can help me out.
This worked like a charm for the Timeline:
timeControl -e -pc "undoInfo -stateWithoutFlush 0;" $gPlayBackSlider;
timeControl -e -rc "undoInfo -stateWithoutFlush 1;" $gPlayBackSlider;
condition -dependency playingBack -script
"undoInfo -stateWithoutFlush (!undoInfo -q -stateWithoutFlush
)"
EnableKeyMove;
But I don't know Maya scripting well enough at all to know how to apply this to the other ways the Timeline can be effected.
What script should I use for:
The Play Button
Scrubbing with K inside the Curve editor
Thanks