Maybe am getting my facts mixed up here but I seem to remember that this was a feature that was supposed to come with Blender 2.5 but got axed…
There,…https://blenderartists.org/t/record-the-actions-you-do-in-blender-option/482425/3 , the old noggin seems to be still working.