My first idea was to implement all animated channels into the script, after a long tough brainboiling time I finally found that not all channels are able to implement........ugh, well at least I managed to get LineWidth, BoneLock (hmm..I could not figure out what use I would have to have it inside the script, so I through it out), BoneDynamics, ShapeEffect Transform and a couple of others.
Unfortunately I could not find a way to implement Curvature or ShapeEffect, and that's a pity.

My next idea was to make the script react like this:
Select the layer you want to key and that only, (and sublayers if you select group, bone or swith layers) will get keyed
press ctrl key + mouse - get only layer animated channels keyed
press alt key + mouse - get only bone animated channels keyed
press shift key + mouse - get only vector animated channels keyed
I wanted to have it this way because I use the script often and have found that all this "key all" keys interfered with further animating...
after a lot and lot of hours I finally got all this to work!!


So my question is if someone could help me with this issue I would be so happy so happy that I could send you a beer or two!
Anybody got a clue what to do?
Here's the "almost ready" script if you would like to study it.
http://www.musikboden.se/asfiles/key_test.lua
cheers!!