I wrote this script and it will track from one frame to the next. When I put it in a loop, it no longer works. I can hit the run key over and over again and it works perfect. How do I make this script run until final frame.
ctx = bpy.context.copy()
for area in bpy.context.screen.areas:
if area.type == ‘CLIP_EDITOR’:
ctx[‘area’] = area