"This script will automatically Set/Create Keyframes at the current time for the selected objects. It will create keys for ANY parameter that has been animated already. It also has options built in to the script so that by default it will also force key creation for Position - Rotation - Scale and all Custom Attributes. Essentially you can bind this script to the 's' key on the keyboard to run it. and will will set keys generally for what you want. just like Maya. including regular parameters in modifiers.
Version 1.20 now works even if you have Custom Attributes with spaces in the name. "