Here i cut n pasted this from ath maya help on Expressions.
{Expressions are instructions you type to control attributes over time. An attribute is a characteristic of an object, for instance, X scale, Y translate, visibility, and so on.
Though you can create an expression to animate attributes for any purpose, they're ideal for attributes that change incrementally, randomly, or rhythmically over time.}
I would imagine a mel button would suit this kind of opperation a bit better than an expression.
Do what i said in my first reply, it's very very manual but it works.