Merci Zeltron54,
J'ai peut-être un début de solution.
C'est un peu tiré par les cheveux mais pourquoi pas.
Voici la liste des 28 caractères qui me pose problème :
À à Â â Ä ä É é È è Ê ê Ë ë Î î Ï ï Ô ô Ö ö Û û Ü ü Ç ç
Lors de la création automatique des dossiers ces caractères sont respectivement remplacés par :
À à Â â Ä ä É é È è Ê ê Ë ë Î î Ï ÿ Ô ô Ö ö Û û Ü ü Ç ç
Quand tous les dossiers ont été créés, dans le Finder on a la possibilité de tout sélectionner cmd A et avec le clic droit de renommer l'ensemble.
Avec l'option Remplacer du texte √Ä peut devenir À.
J'ai fait le test avec une confiance démesurée...
AppleScript:
tell application "Finder"
activate
set name of folder "#1 √Ä" of folder "Liste Accentuations" of folder "Évènement 1" of folder "Pictures" of folder "imaclaurent" of folder "Users" of startup disk to "#1 À"
set name of folder "#2 √†" of folder "Liste Accentuations" of folder "Évènement 1" of folder "Pictures" of folder "imaclaurent" of folder "Users" of startup disk to "#2 √†"
set name of folder "#3 √Ç" of folder "Liste Accentuations" of folder "Évènement 1" of folder "Pictures" of folder "imaclaurent" of folder "Users" of startup disk to "#3 √Ç"
set name of folder "#4 √¢" of folder "Liste Accentuations" of folder "Évènement 1" of folder "Pictures" of folder "imaclaurent" of folder "Users" of startup disk to "#4 √¢"
set name of folder "#5 √Ñ" of folder "Liste Accentuations" of folder "Évènement 1" of folder "Pictures" of folder "imaclaurent" of folder "Users" of startup disk to "#5 √Ñ"
set name of folder "#6 √§" of folder "Liste Accentuations" of folder "Évènement 1" of folder "Pictures" of folder "imaclaurent" of folder "Users" of startup disk to "#6 √§"
set name of folder "#7 √â" of folder "Liste Accentuations" of folder "Évènement 1" of folder "Pictures" of folder "imaclaurent" of folder "Users" of startup disk to "#7 √â"
set name of folder "#8 √©" of folder "Liste Accentuations" of folder "Évènement 1" of folder "Pictures" of folder "imaclaurent" of folder "Users" of startup disk to "#8 √©"
set name of folder "#9 √à" of folder "Liste Accentuations" of folder "Évènement 1" of folder "Pictures" of folder "imaclaurent" of folder "Users" of startup disk to "#9 √à"
set name of folder "#10 √®" of folder "Liste Accentuations" of folder "Évènement 1" of folder "Pictures" of folder "imaclaurent" of folder "Users" of startup disk to "#10 √®"
set name of folder "#11 √ä" of folder "Liste Accentuations" of folder "Évènement 1" of folder "Pictures" of folder "imaclaurent" of folder "Users" of startup disk to "#11 À"
set name of folder "#12 √™" of folder "Liste Accentuations" of folder "Évènement 1" of folder "Pictures" of folder "imaclaurent" of folder "Users" of startup disk to "#12 √™"
set name of folder "#13 √ã" of folder "Liste Accentuations" of folder "Évènement 1" of folder "Pictures" of folder "imaclaurent" of folder "Users" of startup disk to "#13 √ã"
set name of folder "#14 √´" of folder "Liste Accentuations" of folder "Évènement 1" of folder "Pictures" of folder "imaclaurent" of folder "Users" of startup disk to "#14 √´"
set name of folder "#15 √é" of folder "Liste Accentuations" of folder "Évènement 1" of folder "Pictures" of folder "imaclaurent" of folder "Users" of startup disk to "#15 √é"
set name of folder "#16 √Æ" of folder "Liste Accentuations" of folder "Évènement 1" of folder "Pictures" of folder "imaclaurent" of folder "Users" of startup disk to "#16 √Æ"
set name of folder "#17 √è" of folder "Liste Accentuations" of folder "Évènement 1" of folder "Pictures" of folder "imaclaurent" of folder "Users" of startup disk to "#17 √è"
set name of folder "#18 √Ø" of folder "Liste Accentuations" of folder "Évènement 1" of folder "Pictures" of folder "imaclaurent" of folder "Users" of startup disk to "#18 √Ø"
set name of folder "#19 √î" of folder "Liste Accentuations" of folder "Évènement 1" of folder "Pictures" of folder "imaclaurent" of folder "Users" of startup disk to "#19 √î"
set name of folder "#20 √¥" of folder "Liste Accentuations" of folder "Évènement 1" of folder "Pictures" of folder "imaclaurent" of folder "Users" of startup disk to "#20 √¥"
set name of folder "#21 √ñ" of folder "Liste Accentuations" of folder "Évènement 1" of folder "Pictures" of folder "imaclaurent" of folder "Users" of startup disk to "#21 √ñ"
set name of folder "#22 √∂" of folder "Liste Accentuations" of folder "Évènement 1" of folder "Pictures" of folder "imaclaurent" of folder "Users" of startup disk to "#22 √∂"
set name of folder "#23 √õ" of folder "Liste Accentuations" of folder "Évènement 1" of folder "Pictures" of folder "imaclaurent" of folder "Users" of startup disk to "#23 √õ"
set name of folder "#24 √ª" of folder "Liste Accentuations" of folder "Évènement 1" of folder "Pictures" of folder "imaclaurent" of folder "Users" of startup disk to "#24 √ª"
set name of folder "#25 √ú" of folder "Liste Accentuations" of folder "Évènement 1" of folder "Pictures" of folder "imaclaurent" of folder "Users" of startup disk to "#25 √ú"
set name of folder "#26 √º" of folder "Liste Accentuations" of folder "Évènement 1" of folder "Pictures" of folder "imaclaurent" of folder "Users" of startup disk to "#26 √º"
set name of folder "#27 √á" of folder "Liste Accentuations" of folder "Évènement 1" of folder "Pictures" of folder "imaclaurent" of folder "Users" of startup disk to "#27 √á"
set name of folder "#28 √ß" of folder "Liste Accentuations" of folder "Évènement 1" of folder "Pictures" of folder "imaclaurent" of folder "Users" of startup disk to "#28 √ß"
set name of document file "Accentuation.txt" of folder "Liste Accentuations" of folder "Évènement 1" of folder "Pictures" of folder "imaclaurent" of folder "Users" of startup disk to "Accentuation.txt"
end tell
Mais je suis vite redescendu sur terre...
Il n'a pas fait de différence entre √Ä et √ä du coup #11 √ä a été remplacé par #11 À comme #1 À.
Je voulais te joindre le fichier .txt mais je n'ai pas réussi. (Voici son contenu)
Bloc de code:
1 #1 À
2 #2 à
3 #3 Â
4 #4 â
5 #5 Ä
6 #6 ä
7 #7 É
8 #8 é
9 #9 È
10 #10 è
11 #11 Ê
12 #12 ê
13 #13 Ë
14 #14 ë
15 #15 Î
16 #16 î
17 #17 Ï
18 #18 ï
19 #19 Ô
20 #20 ô
21 #21 Ö
22 #22 ö
23 #23 Û
24 #24 û
25 #25 Ü
26 #26 ü
27 #27 Ç
28 #28 ç