Copy link to clipboard
Copied
Hello,
I write this in my sourcetext layer :
n = 1;
today = new Date(Date(0));
tomorrow = new Date(Date(0));
tomorrow.setDate(today.getDate()+n);
Jour = new Array(); Jour[1] = "Lundi"; Jour[2] = "Mardi"; Jour[3] = "Mercredi"; Jour[4] = "Jeudi"; Jour[5] = "Vendredi"; Jour[6] = "Samedi"; Jour[7] = "Dimanche";
Mois = new Array(); Mois[0] = "Janvier"; Mois[1] = "Février"; Mois[2] = "Mars"; Mois[3] = "Avril"; Mois[4] = "Mai"; Mois[5] = "Juin"; Mois[6] = "Juillet"; Mois[7] = "Aout"; Mois[8] = "Septembre"; Mois[9] = "Octobre"; Mois[10] = "Novembre"; Mois[11] = "Décembre";
tomorrow.getDate() + " " + Mois[tomorrow.getMonth()] + " " + Jour[tomorrow.getDay()];
It works when I export with After effect, but it doesn't with Media Encoder...
Just why ?
Thank for the help
Copy link to clipboard
Copied
This may simply be a limitation you have to live with. Some types of expressions simply don't work well with DynamicLink processes like AME rendering or motion graphics templates due to how they are isolated in a virtual memory container and thus cannot access all functions.
Mylenium
Copy link to clipboard
Copied
Thank for the explanation, it's less frustrating
Have a good day