This sounds like macros? Of course, the problem with macros is that you sometimes realize you should have hit "Record" only after you've completed the action.
Happens to me all the time. But if using a macro was actually worth the effort in the first place, then it's probably still worth the effort to undo and record