animate key shapes with external objects? (cell return)

i’m going to do an animation sequence where it’d just gonna focused on mouth’s movement
and i know that you can press “I” on the value to animate the value between them, but it’s gonna be alot of work, considering this scene is going to be around 2 minutes

i first thought of “cell return” function where i have cubes of every vowel then in the value box (of the key shapes), I type in a call function to the z height of each cube, then i’d write a simple script that’d link every letter of the modified (speech) lines to each Z height box…

but i’m stuck on the first part…
i can’t seem to put a python function into the “value” box… it always either freezes, or return me the original value (ie: 1)

please help…?

You must make a driver for the value you want to animate, RMB click over the box and do ‘Add Driver’, then follow the manual : Drivers — Blender Reference Manual

paolo