ok !
alors voilà le nouveau script
[CODE]on adding folder items to Mon_Dossier after receiving Liste_Fichiers
tell application "Finder"
set Mon_Dossier to Mon_Dossier as string --change chemin en texte
set extens to file Liste_Fichiers --recupere l extension du fichier
set lextension to name extension of extens
set lenom to name of file Liste_Fichiers -- recupère le nom actuel du fichier
--Concatène les différentes valeurs pris dans le fichier (année, mois, jour, heure, minutes, secondes,extension)
set newnom to "Capture_" & text items 17 thru 20 of lenom & text items 22 thru 23 of lenom & text items 25 thru 26 of lenom & text items 30 thru 31 of lenom & text items 33 thru 34 of lenom & text items 36 thru 37 of lenom & "." & lextension
set name of file Liste_Fichiers to newnom -- change nom du nouveau fichier
end tell
end adding folder items to[/CODE]
Dis moi si c'est bon !