in After Effects 24.2.1, and also the previous Version (24.1.x) exportAsMotionGraphicsTemplate() is not returning the correct value, when build into an alert or if-statement.
in 22.x and currently 23.6.2 exportAsMotionGraphicsTemplate() returnes 'true' upon successfully finishing the export progress. in 24.2.1. the same script returns 'false'
also i think in the future it should be possible to disable 'include video previews' via scripting.
Thank you very much!