I'm trying hard (and failing) to understand what and especially why you are trying to achieve.

You don't even mention which version you have which is crucial. I'm guessing from other ? that you have 2003 in which case it is not possible to read the current animation click index (if that's what you mean)

It is possible in later versions but it's hard to see how this could be useful.