
I managed to make it work like this, without calling cmd, you can give order to after effects directly :
Code:
File.Run("C:\\Program Files\\Adobe\\Adobe After Effects 2023\\Support Files\\AfterFX.exe", "-r C:\\Users\\user\\Dropbox\\AE_Scripts\\Import_Studio_Template.jsx", "", SW_HIDE)
- The path string has to be without spaces
Thanks guys for the great help

Leave a comment: