Macros allow you to control effects, the way loops are played, LFOs, etc. simultaneously. So you can use scripts in the same way as you would use an automation, but the advantage of scripts is that they allow you to make the automation evolve according to external MIDI events, various changes that affect variables (loop duration, sound levels, etc.) or to apply random parameters in your sound transformations.

Scripted sound design