Turning Real time on and off with a script

Hi all,
I was wondering if there’s a way to turn on-off the real time flag with a script?

I am exporting some clips, and for this project my workflow is to manipulate live some generative visuals, and then export some short clips.
When I export the clips with Movie file out I would like to turn real time off to capture all the frames.

is it possible to activate - deactivate the realtime feature with a script or similar?

cheers!!!

1 Like

Amazing, thank you so much!!