I have recently started rewriting my scripts for creating Multitrack-Templates into an extension. (If you are reading this you probably saw the post I am referring to: https://www.vegascreativesoftware.info/us/forum/showcase-complex-video-wall-script-for-magix-vegas--126043/ )
I have noticed that while the script (being compiled by VEGAS first) ran through entirely without updating the GUI of VEGAS. Meaning: I didn't see anything in the preview window.
Now the same processes (only minimally slower by some switches/if-statements) seem to take longer and I can see the tracks being added and see them popping up one by one (even if pretty fast) on the preview window.
When scripting in Excel I would hold all calculations and updates for the duration of the script and then give it the go to recalculate everything after it has run. Is there a similar function to Vegas? A way to stop GUI-updates or the preview-rendering?
How are scripts and extensions treating different in this regard? i am assuming that the Undo-Block might be at fault for this?