You'd get deep into the rabbithole with this approach, with each item you handle there will be multiple exceptions and different behaviors. Here, I made a barebones undo items collector - it will popup a rollout pre-filled with the contents of undo history listbox. Feel free to use that as a starting point, add a timer to…
@Swordslayer - Okay I made the script to print the last 6 actions to the listener since I dont have enough experience with maxscript to make a rollout with a working update button. Its bare bones but it works. When I hit a key I have Autohotkey set up to clear the listener window and hit the Undo Script button in the UI to…