Its took me about a week but I really needed a tool to help with setting keys on lots of items but also respect what I have selected, I think I cracked it.
|A quick rundown on the script..|
Its a python script for Maya 2011, not sure how well it will work in previous versions.
Here is the bit to copy paste into a python shelf button.
#Ive also just updated the below to work much better across files. It now no longer creates a unkown node that can cause problems with saving .MA files. Also it should work much better when nested into referenced files. Happy days.