You can play a macro or a Visual Basic script either in the user interface or by using the software command line.
By default, macros are located in My Documents\My AMI 2019 Projects\scripts, where xxxx is the software release number.
By default, command line scripts are located in the default project directory, typically My Documents\My AMI 2019 Projects\commands, or in C:\Program Files\Autodesk\Moldflow Synergy 2019\data\commands, (where xxxx is the software release number.