Bonjour,
je vous fais part de mon pal script de Sam Broadcaster le but
de ce script et de chercher une fichier en l'occurrence un horoscope nome Année-Mois-jour.mp3
cependant mon script fonction bien mes il pose un soucis il récupère le fichier 2013-5-27.mp3 au lieu de faire 2013-05-27.mp3
Ece-que une personne pourrais m'aider a corriger ce petit bug ??
Musicalement
Voici le scrypt :
var years : String = FormatDateTime('yyyy',now);
var month: String = FormatDateTime('mm' , now);
var days : String = FormatDateTime('dd' , now);
var new_years : Integer = StrToInt(years);
var new_month : Integer = StrToInt(month);
var new_days : Integer = StrToInt(days);
var new_file : String = IntToStr(new_years)+'-'+IntToStr(new_month)+'-'+IntToStr(new_days);
var base_horoscope : String = 'F:\Documents\Horoscope\En cour\';
var new_horoscope : String = base_horoscope+(new_file)+'.mp3';
WriteLn(new_horoscope);
PAL.WaitForTime(T['XX:25:45']);
Queue.AddFile(new_horoscope,ipBottom);