Run multiple animations

I’m new to scripting so am hoping this is a pretty simple one.

I’m trying to set up multiple animations to load and render overnight using Tasks within Badger.

Each animation is set up in a separate 3dm file. I’ve set up the badger Task as -

Load 3dm

but I then need to press enter to execute that command (is
there anyway round this so it renders the animation then opens another 3dm and
renders that animation and repeats a number of times?)

Any help greatly appreciated!

Figured it out by using a command macro!