For photoshop.
Remember how I'd be sketching something out on layer 1, switch to layer 2 to clean it up, make one stroke, hate it, undo it, and keep drawing? Only to realise that I was BACK ON LAYER ONE. Adobe, WHY would you do this, it's STUPID. Change layers should count in the undo states, why on *earth* wouldn't it??
And the masses cried, and Adobe laughed at all of our weeping.
But along came someone with some sort of freaky scripting knowledge to write a script that will solve this problem!
BEHOLD THE MAJESTY. I just had to assign a shortcut key to the script, and then change the shortcut on my tablet to use this instead of step backwards. I did a little test, and it WORKED.
I was getting so angry, every time this happened, this will improve my serenity.