Your script
getObject("ActiveAnimations[" .. ani .. "]"):setValue(VAnimationSize, n)
-- (with "..ani.." = name of your animation, and "n" = % of zoom)
works well, but only for
active animations, and there is no script for inactive animations.
So you need to use this script. It should work very well on the animation of an interface, but only if the interface is already visible and if the animation is playing.
Useful tip:
Afrlme learned me recently that it is possible to add a script on the frames of an animations, which is very useful. So what you can do is use the script above on the first frame of your animation. As a result, everytime that the animation is played (in an interface or not), then the script will be called automatically, and the animation will be resized.
To add a script on a frame: click on your animation in the list, then click on the first frame, choose the "edit" button for the single frame, and click on the script icon.